png transparency with PIL

Robin Becker robin at NOSPAMreportlab.com
Fri Nov 23 17:17:02 EST 2007


Bjoern Schliessmann wrote:
> Robin Becker wrote:
> 
>> I'm trying to determine the transparency information for a png
.........
>> guessing I need the alpha channel, but is there a way to get hold
>> of it?
> 
> For accessing the alpha channel, there is an RGBA mode for PNG
> files:
> 
> http://www.pythonware.com/library/pil/handbook/format-png.htm
> 
.......

that sounds like what I need.
-- 
Robin Becker



More information about the Python-list mailing list