Skip to content

paul-butcher/contactsheet

Repository files navigation

contactsheet

Documentation Status

Contactsheet compiles a set of images into a single contact sheet image.

Features

Produces a contact sheet of images from a list of same-sized images.

The output contact sheet image is roughly the same size as the individual images.

A contactsheet image made of a square number will be a square grid. e.g. 4 images is a 2x2 grid of thumbnails.

$ ls -1 sampledata/p101016*
sampledata/p1010161.jpg
sampledata/p1010167.jpg
sampledata/p1010168.jpg
sampledata/p1010169.jpg

$ ls -1 sampledata/p101016* | contactsheet --out-file sampledata/out4.jpg

https://raw.githubusercontent.com/paul-butcher/contactsheet/master/sampledata/out4.jpg

A contactsheet image made of a non-square number will be as close to square as possible.

$ ls -1 sampledata/p10101*
sampledata/p1010161.jpg
sampledata/p1010167.jpg
sampledata/p1010168.jpg
sampledata/p1010169.jpg
sampledata/p1010170.jpg
sampledata/p1010173.jpg
sampledata/p1010178.jpg
$ ls -1 sampledata/p10101* | contactsheet --out-file sampledata/out7.jpg

https://raw.githubusercontent.com/paul-butcher/contactsheet/master/sampledata/out7.jpg

$ ls -1 sampledata/p10101*8.jpg
sampledata/p1010168.jpg
sampledata/p1010178.jpg
$ ls -1 sampledata/p10101*8.jpg | contactsheet --out-file sampledata/out2.jpg

https://raw.githubusercontent.com/paul-butcher/contactsheet/master/sampledata/out2.jpg

Background

This tool was born out of some video analysis work I was doing. I needed to be able to show a single image with key frames that I had extracted from a video. The image needed to have reasonably consistent dimensions, and preferably a consistent size, regardless of the number of key frames in the video.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published