cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX framebuffer pixel format(LTDC)

heyo
Senior

Is it possible to change TouchGFX framebuffer pixel format(LTDC) at runtime? If yes, how?

heyo_0-1715250618212.png

 

 

3 REPLIES 3
Osman SOYKURT
ST Employee

Hello @heyo ,

It's not possible to change the pixel format at runtime. Could I ask you why you want to change the pixel format at runtime? 

Osman SOYKURT
ST Software Developer | TouchGFX

My whole system works on RGB565 , but in main screen view I've got radient image which I want to change to RGB888 for better rendering. In RGB565 pixel format the lines are visible and the image is not quality.

I set RGB565 format for better experience because with RGB888 its lagging

Osman SOYKURT
ST Employee

Hello @heyo ,

I understand, have you tried to change the Dither Algorithm? Maybe it can help you to make your image look better.

OsmanSOYKURT_0-1715851009005.png

Osman SOYKURT
ST Software Developer | TouchGFX