Transparent raster images

Jonathan Coles jonathan.coles at gmail.com
Fri May 6 16:27:53 CEST 2005


2005/5/3, Martin Schulze <joey at infodrom.org>:
> > adjusting the opacity of the layer when using a format other than
> > "RAW" will only work if alpha_data is not None. Since the alpha data
> > is stored in the png file the layer's opacity property will not
> > currently affect the drawn opacity. This is simple to fix. i will add
> > a patch soon.
> 
> Hmm.  Thenks.  Guess I'll have to wait until then then.

i've just added a patch to cvs which will allow the opacity of
normally opaque regions in a transparent PNG image to be adjusted.

you will still need wxWidgets (a.k.a. wxWindows) 2.5.0 or later to
have transparent PNG support at all.

--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)