Skip to content

jbuckner/thumbnailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Thumbnailer

A script that takes a directory of images, resizes them to their longest side and adds borders to fill the space if they don't fit.

Installation

I like using virtualenv, but you can also just use the system python.

pip install -r requirements.txt

Configuration:

Edit thumbnailer.py and set the width, height, background color, source, and target directories.

Usage:

$ python thumbnailer.py

Why?

I took a lot of pictures at the The Relay and wanted to make a video of them, but I needed all the pictures to line up. It was also a pretty cool learning experience for image processing.

Example

Original

Original Picture

Resized and Cropped

Resized and Cropped

About

A simple batch image resizer and cropper written in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages