This simple program converts PNG images to the BMP format, returning an hex string of the entire file. This was used for a very old, and now deleted, Scratch project.
Turns a png file into a json file that describes a set of hex tiles whose color is the most prominent color of the hex area of the png file input. Run the script like: python png_to_hex.py -img ...