nanogui: white color in images


Previous by date: 15 Sep 2004 04:21:23 +0100 Re: Problem: XLoadFont() and freetype2 ..., Greg Haerr
Next by date: 15 Sep 2004 04:21:23 +0100 Re: help required for installing the microwindows on ppc flatform, Greg Haerr
Previous in thread: 15 Sep 2004 04:21:23 +0100 white color in images, Hinko Kocevar
Next in thread: 15 Sep 2004 04:21:23 +0100 Re: white color in images, Hinko Kocevar

Subject: Re: [nanogui] white color in images
From: "Greg Haerr" ####@####.####
Date: 15 Sep 2004 04:21:23 +0100
Message-Id: <0fb001c49ad2$c3c58d10$3eba46a6@winXP>

: I have some strange effects while trying to display 16-bit color PNG
: image on my embedded target. All colors are fine execept for white - it
: is displayed as black instead. White shades to some extent are also
: displayed black.

Hinko -
    I think this is a long-standing bug in 0.90.  Basically, when we
added alpha channel support, the ARGB high byte was newly set
to 255.  Then when RGB is 255,255,255, the entire 32 bit value
is -1, which is used to test for the "transparent color".  I suggested
a fix for this in an earlier email, where code in
engine/devdraw.c::GdDrawImage
needs to be changed, or the transparent color from the image
decoder needs to be set to another value.

I think I/we need to fix this for CVS.

Regards,

Greg



Previous by date: 15 Sep 2004 04:21:23 +0100 Re: Problem: XLoadFont() and freetype2 ..., Greg Haerr
Next by date: 15 Sep 2004 04:21:23 +0100 Re: help required for installing the microwindows on ppc flatform, Greg Haerr
Previous in thread: 15 Sep 2004 04:21:23 +0100 white color in images, Hinko Kocevar
Next in thread: 15 Sep 2004 04:21:23 +0100 Re: white color in images, Hinko Kocevar


Powered by ezmlm-browse 0.20.