You will probably want to design assets in a proper graphics editing program like Inkscape for elements that are not super dynamic. Converting these into the right format for the display is important, as we have limited storage and memory.
You can export the images in any of the common rasterised formats (e.g. PNG, JPG). This intermediate format will be useful for previewing on your system and can be committed to git if needed. Ideally you export as a grayscale image already, but I don't think this is needed.
These intermediate images are then to be converted to 4-bit grayscale bitmap (.bmp
) images. You can use IrfanView12 for this:
"C:\path\to\i_view64.exe" c:\path\to\in\*.png /bpp=4 /convert=c:\path\to\out\*.bmp
A simple .bat
script is available for this (Windows only). These .bmp
files can be copied to the microcontroller and displayed with the displayio
CircuitPython library. Have a look at how this is done in the project code for examples.
If you have any alternative for Linux1 that works, let me know!