Transparent raster images
Jonathan Coles
jonathan.coles at gmail.com
Tue May 3 13:57:29 CEST 2005
2005/5/3, Martin Schulze <joey at infodrom.org>:
> Oh, I thought the one-bit transparency from GIF was supported as well.
i can't find that in the documentation. do you know where it says that?
> FWIW, this doesn't render the graphic transparent.
a very important point i just remembered: you need to be using
wxWindows 2.5.0 or later. previous versions do not support transparent
PNG. maybe this is your problem.
> Which values does alpha_data need? Just True/1?
alpha_data must be a character array of values between 0 and 255.
There must be one alpha value for each image pixel. This array is used
if the image data itself does not contain alpha information (PNG is
the only supported format that does).
--jonathan
--
=====================================================================
Jonathan Coles http://www.jpcoles.com
jonathan at jpcoles.com
=====================================================================
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)