Page 1 of 1

Confusion with PNG images and alpha transparancy

Posted: Sat Jun 21, 2008 4:18 pm
by Foz
The help file is confusing me!

In the image overview section, it says:
Linux: transparent PNG images can be used to enable transparency in the gadgets and toolbars images.
In LoadImage, it says:
By default, the image depth will be 24 bits (or 32 bits, if the file supports alphablending informations, like PNG and TIFF).
So far, so good. PNGs with the alpha channel are supported. However, then I come across this little nugget added onto the end of UsePNGDecoder:
The PNG alphachannel information (if any) is ignored for now.
And testing this also seems to be the case of the alpha chennel being ignored... Unless I'm missing something out of course.

Clues anyone?

Posted: Sat Jun 21, 2008 4:46 pm
by freak
There is a b/w mask used for Toolbars and Gadgets on Linux.
Only fully transparent pixels in the PNG end up transparent on the toolbar.

Posted: Sat Jun 21, 2008 4:53 pm
by Foz
So it's not me going mad trying to get the alpha channel working then.

Do I take it that full alpha channel support will be added at some point - maybe in the near future? :)

Posted: Sat Jun 21, 2008 5:04 pm
by freak
I don't know really.