Why RGB888 displays as black and white only
I followed the example in article AN4861 where STM explains how to setup RGB565
all is working fine but when I switch to RGB888 I get only white and black

I use the image converter LCD-Image-Converter-20161012 tool explained in the article



the preview show color picture like all is setup right but still I get black and white
pLayerCfg.WindowX0 = 0;
pLayerCfg.WindowX1 = 568;
pLayerCfg.WindowY0 = 0;
pLayerCfg.WindowY1 = 320;
pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB888;
pLayerCfg.Alpha = 255;
pLayerCfg.Alpha0 = 0;
pLayerCfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_CA;
pLayerCfg.BlendingFactor2 = LTDC_BLENDING_FACTOR2_CA;
pLayerCfg.FBStartAdress = (uint32_t)&image_568x320;
pLayerCfg.ImageWidth = 568;
pLayerCfg.ImageHeight = 320;
pLayerCfg.Backcolor.Blue = 0;
pLayerCfg.Backcolor.Green = 0;
pLayerCfg.Backcolor.Red = 255;
does anybody know what the problem is with RGB888 ?
