In each of these folders are sketchs that output images in format A|B where A is the original image and B is the 20x20 grid form image.
Please have a look at README inside each folder to learn more about each sketch.
Apologies for the spaghetti code. They were written for speed.