A tool for converting bitmaps to C arrays for monochrome GLCDs.
Use python converter.py -h
to see a list of arguments.
The original image was converted with python converter.py -f sakuya.png -i --height 64 -o "sakura.h" --threshold 244
and is shown on a TiLDA MKe.
Another example python converter.py -f soba.bmp -i --height 32 -o "soba.h"
- Now export to C file with format based on output name.
- TODO get height from image.
- TODO use assets folder and output folder.