Automatically search for the nominal pixel size with a brute force algorithm and resize the image.
Use multiprocessing to deal with many files in a same directory.
Demo made with turtle (slow).
Images from twitter: @Turtleye_ at https://twitter.com/Turtleye_