‎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
See attachment. I managed to convert a bmp-picture to ARGB888.
But the ARGB888 480x272 picture array, even with "LTDC_PIXEL_FORMAT_ARGB8888" the picture is not displayed correctly. I see only several lines in different colors...
What do I miss?
‎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" ??