Skip to main content
Junde
Senior III
May 30, 2024
Solved

How to store the image with format RGB565 in BitmapDatabase file?

  • May 30, 2024
  • 1 reply
  • 1320 views

Hi there,

I am using cubeMx and TouchGFX to show some UI.

I set the display format to RGB 565 in both cubeMX LTDC and TouchGFX config.

But in the generated code by touchgfx, all the images are stored by RGB888 or ARGB8888 format(in the path "TouchGFX\generated\images\src\*.cpp").

Because I just need RGB565, can I just store the bit I need?

 

Thank you.

Best answer by Aquamarine

Maybe this helps?

Aquamarine_0-1717058105749.png

1 reply

Aquamarine
AquamarineBest answer
Associate II
May 30, 2024

Maybe this helps?

Aquamarine_0-1717058105749.png

Junde
JundeAuthor
Senior III
May 30, 2024

@Aquamarine 

Thank you, that's what I need.