ftr the image processing you need for this is likely much easier to do well with ffmpreg (via PyAV)
https://git.0x0.st/lucy/tools/src/branch/main/imgutils.py here’s some sample utility that does conversions for gameboy advance image formats (including palettes and tiling/packing)
should not be that hard to adapt for this type of display (also check out omni-epd!)
