Bodmer / TFT_eFEX

A support library for TFT_eSPI that adds commonly used extra functions
Other
83 stars 27 forks source link

Add Sprite to char* JPEG Drawing #5

Closed sieren closed 4 years ago

sieren commented 5 years ago

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.

Bodmer commented 4 years ago

Thanks