Image Manipulation

Layout figures for comparison

I recently had to review figures from nearly 50 countries for a project I’m working on. Each country had three figures that needed comparing. Anyone who knows me will know that I had had enough after loading figures for just the first few countries. Apart from being tedious it was also error–prone; double–click the wrong file by mistake and it’s not immediately obvious you’ve got the wrong figure. Instead of doing it manually and risking making mistakes I wrote the following small python script using the pillow library.