Re: Serious bug in PIL's handling of PNG images

Oliver Tonnhofer <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
Hi,

On 14.02.2011, at 12:50, Ivan Tkatchev wrote:
> Please see the relevant discussion and patch here:
> 
> http://stackoverflow.com/questions/4217869/python-pil-all-areas-of-png-with-opacity-0-have-their-opacity-set-to-1
> 
> This is a very serious bug that affects many upstream packages. 

It's questionable if this is a serious bug. It's more a missing feature (read alpha from paletted images).

> It would be nice if a fix made its way into the official PIL release so that users would not have to suffer.

I did some contributions to improve the PNG handling and there are already in the development trunk for 1.2. You can get a source package here: https://bitbucket.org/olt/pil-2009-raclette/get/tip.tar.bz2

Regards,
Oliver
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.