Bodmer / TFT_eFEX

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

Slow SPIFFS loading time #17

Closed PumaFPV closed 4 years ago

PumaFPV commented 4 years ago

Hi, I'm trying to load an 960x960 image from spiffs on my esp32 to a st7789 tft screen with a scaling factor and it loads the image in 1,6s which i find to be a lot, is there any way to reduce the loading time?

Bodmer commented 4 years ago

Use a program such as MS Paint to scale the picture to the correct size. The decode time is proportional to the pixel area that has to be decoded so by making the image the correct size you will reduce the decode time significantly.