Collage of Images

I wrote a Python script to turn all the images, in a directory, into one big collage image. The white bands are annoying – due to thumbnail size and most of my images being rectangular and not square (have since solved that problem). Here is the result of my photos from 2007 to now: view. It’s a 1MB file of about 1800 images.

Here’s another (with my code modifications done): view.

Feel free to critique my programming; it’s only my second Python script. There’s limited error-handling.

Here’s a handy one-liner (Mac OSX for me) to get all your images into one directory (I couldn’t be bothered to do recursion in my Python script):

find -iname "*.JPG" -print0 | xargs -0 -J% cp -i %

This entry was posted in pictures and tagged , . Bookmark the permalink.

Comments are closed.