2023-03-06 10:46 PM
Hello,
I'm using LTDC_Display_1Layer example.
In case I use "LTDC_PIXEL_FORMAT_RGB888" in which format should I store a picture in the framebuffer?
I did following, but the pictures is not displayed correctly. 24bit value of a pixel is stored in one 32bit array position. Is that wrong?
const uint32_t RGB888_1024x600[614400] =
{
0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff,
0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff,
..
0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff
};
2023-03-07 10:59 PM
2023-03-07 11:24 PM
I think the root cause is the conversion tool I use, where can I find a tool which convert picture to compatible LTDC format, as "LTDC_PIXEL_FORMAT_ARGB8888" ??