What's your screen pixel depth ? This sounds like it's in 1666 mode on one of the 18bpp lcds. If it is then you get a bluish color as you describe and the rest of the colors are faded out. Setting only red or green should result in a ugly but not blue color.
Try going back to 565 mode it should work. Next if I'm right support for 18bpp pixels was just added. On 9/28/06, bharani krishna <[EMAIL PROTECTED]> wrote: > I tried and even added /etc/directfbrc files as below > > depth=32 > pixelformat=ARGB > mode=640x40 > > But still the picture can see more in blue color. By the way im trying to > display jpeg picture. > > =BK > > > On 9/28/06, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote: > > bharani krishna schrieb: > > > Hi all, > > > > > > Im able to compile DirectFB 0.9.25 and trying to run 'dfbg' example code > > > on ARM. I execute with jpeg, png also, but color is not proper. I can > > > see much 'blue' color. Is this anything related to ARGB need to be set > > > in DirectFB before run? > > > > You can try with the pixelformat option being set to ARGB: > > > > dfbg --dfb:pixelformat=ARGB image.png > > > > This will only change the format of the display layer if > > it's the first DirectFB process started in a session. > > > > You could also just add "pixelformat = ARGB" to /etc/directfbrc. > > > > -- > > Best regards, > > Denis Oliver Kropp > > > > .------------------------------------------. > > | DirectFB - Hardware accelerated graphics | > > | http://www.directfb.org/ | > > "------------------------------------------" > > > > > _______________________________________________ > directfb-dev mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
