cancel
Showing results for 
Search instead for 
Did you mean: 

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

Junde
Senior II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Aquamarine
Associate II

Maybe this helps?

Aquamarine_0-1717058105749.png

View solution in original post

2 REPLIES 2
Aquamarine
Associate II

Maybe this helps?

Aquamarine_0-1717058105749.png

@Aquamarine 

Thank you, that's what I need.