cancel
Showing results for 
Search instead for 
Did you mean: 

About the image size

V.H
Senior

I have tried to use RGB565 format to store images, the size is too big.

Then I used L8_RGB565 format, the size is reduced by nearly half, but it didn't feel good enough.

L8_RGB565 image is divided into two pieces of data: pixels and CLUT. I think the CLUT part is perfect, but the data part can be compressed a little bit. With lossless compression such as RLE_8, the entire image size can be further reduced.

In fact, I have also done this test and it is quite practical. Doing so requires to modify the image data table, and this data table is automatically generated by TouchGFX according to the image format. Doing so destroys the original style and may introduce many new problems. So I finally gave up.

Store the JPEG image data in the SD card, import all the JPEG images new screen used and release old screen data when screen changed. Due to the need to import a large number of images when changing the screen, and also need to further processing of JPEG images into bitmap format, so display lag when screen changed. It makes me awkward to use.

Have you encountered similar problems in using it?

1 REPLY 1
Romain DIELEMAN
ST Employee

Hi,

You could try to work around your UI to ease the screen transition to avoid laging. If you have a lot of images you could fade some out (make them slowly invisible) or have them move away from the screen so that you have less things to update on the display when you change screens.

/Romain