Start a new topic

Nextion Compiler and images


I'm using a nextion 4.3 "MMI of 32M flash memory.


I've uploaded about 3MB on images real weigh (that's the weight on my computer of all images). And, when I compile the project, it tells me that the space used by the images is 11Mb. I have a 17Mb project and I can not use even half of this.


Any suggestions or solutions?


Example, I uploaded a 12kb image and the compiler processes it and throws it out weighing 92kb.

Captura.JPG
(78.4 KB)

there is nothing wrong, you only didn't fully catch how the Nextion displays work ...

  • there is no jpg or png support on Nextion displays ...
  • there is no space left to do any jpg or png (de)compressing on STM side within a feasible amout of sram ...
  • the Editor can import jpg or png, but after import they are handled as raw bitestream ...

for an average size estimation, use plain BMP format, a BMP size comes most close ...

 

thanks! really apretiate your help! Gotta do my bestx2 :P


Greetings!

Login or Signup to post a comment