I was reading the book Magnum Contact Sheets. It’s interesting to see the images that didn’t get published, and how they form part of the journey toward the final, published photographs. I thought this kind of presentation could also work well when publishing my own photos, but only if it could be automated. One Python script later, I can now automatically generate this kind of image from a shoot to include in a blog post.
How my script works:
- It finds the RAW file corresponding to the JPG in my archive.
- It gathers all RAW files from the same day.
- It tries to identify a set of images based on tags, GPS coordinates, and, as a fallback, capture time.
- It converts the RAW files to JPG and adds “film-like” markings with image information.
- It creates a grid from the JPGs and adds markings based on Lightroom color labels from the RAW images.



