On Sun, 14 Jun 2009 15:50:43 +0200, Bernd Roesch wrote: > below code work and colors are correct for text, fb_32bpp_fill.So it seem > sure data come in abgr Format. > But colors > are wrong for images.here i need red and blue change because the netsurf > image on welcome page is yellow.but the right rectangle is blue.
Colours are bgra, but bitmap images are rgba. I don't know why, but my code has different orders for these too and I remember having similar problems trying to get the colours right. I wonder if this is an endianess issue somewhere within the core. I've simply treated them differently in the plotters code, it shouldn't be a major issue. Regards Chris
