-->
Page 2 of 3

Re: Upload image into display connected to esp

PostPosted: Sat Apr 08, 2017 4:32 pm
by vcch
The interface of the standard library, at least in LUA, only allow for pixel drawing. If you use lower levels you can probably do better - you'll need to read the doc but it is not straightforward.

Re: Upload image into display connected to esp

PostPosted: Sun Apr 09, 2017 1:29 am
by gbafamily1
There is another similar example named FSBrowser that uses the SPI Flash instead of SD. I was thinking as the file is uploading, write the file data to the display instead of into SPI Flash or SD. Or maybe do it two steps: upload the file to SPIFFS (SPI Flash file system) then after is it done, write the file contents to the display.

Re: Upload image into display connected to esp

PostPosted: Sun Apr 09, 2017 2:31 am
by vcch
FYI -seems to be a better library for images : http://hackaday.com/2017/04/08/everyone ... -tft-libs/

Re: Upload image into display connected to esp

PostPosted: Sun Apr 09, 2017 3:56 am
by Adzmo
gbafamily1 wrote:There is another similar example named FSBrowser that uses the SPI Flash instead of SD. I was thinking as the file is uploading, write the file data to the display instead of into SPI Flash or SD. Or maybe do it two steps: upload the file to SPIFFS (SPI Flash file system) then after is it done, write the file contents to the display.

I never used SPIFFS yet but it seems to be the best solution.. Anyways i dont know how to start with SPIFFS, can you help?