I'm in a scenario where I draw a lot of images and SPIFFS based loading is just too slow.
I couldn't find a way to draw PROGMEM based image arrays to sprites, so I took the liberty of adding that. I hope thats ok otherwise let me know what to fixup.
Extend the drawJpeg for PROGMEM Images by an optional
sprite pointer using much of the same code from the
SPIFFS based one.
Hey,
I'm in a scenario where I draw a lot of images and SPIFFS based loading is just too slow. I couldn't find a way to draw PROGMEM based image arrays to sprites, so I took the liberty of adding that. I hope thats ok otherwise let me know what to fixup.
Extend the drawJpeg for PROGMEM Images by an optional sprite pointer using much of the same code from the SPIFFS based one.