Some image magick

Elise Hein
2 min readFeb 4, 2021

--

I recently started an epic photo album project chronicling our family life from the last decade. It included putting together a system that allows me to quickly pick and print photos on a monthly basis so that I don’t ever again end up with years’ worth of curation work to tackle.

I’m a sucker for laying stuff out neatly, and for once got a chance to do it in the physical world. I thought it would be nice to have photos appear in various different sizes, so each album page is a bit like a collage of bigger “key moments”, and smaller, peripheral “vibe moments”.

Unfortunately I found no local print shops that print photos smaller than the standard 10x15cm. For real?!

So, here are two tiny imagemagick scripts to take a bunch of photos in the working directory and output collages in a 2x2 or 2x1 grid (which I then print in the standard 10x15 format).

It turned out to be trickier than I imagined, because you need to account for photos being landscape or portrait in order to correctly slot them into a quarter or a half of the standard photo size.

The sizes for a quarter (1902x1267.5) and half (1902x2535) are kind of arbitrary, and chosen to be big enough to look good when printed in the 10x15cm format.

Example result of running montage-half in a folder with five Unsplash photos

Now, after sorting a handful of photos into folders based on whether they should be a half or a quarter of the standard, I just run the two scripts and end up with a collection of photos in the same size, some collages, some not, ready for printing in batch.

Yes, I do have to manually cut them after printing. Yes, I did buy a guillotine cutter.

Originally published at https://elisehe.in on February 4, 2021.

--

--