according to PNG Specification, png8 images(with type 3) should support semi 
transparent images, with tRNS chunk, but current version of PIL does not handle 
it correctly

two simple patch can make PIL read this type of file correctly.

I've attached the patch file.

more efforts are needed to support saving png of this type.

PS: is there a bug tracing system for PIL?


                                          

Attachment: Image.py.patch
Description: Binary data

Attachment: PngImagePlugin.py.patch
Description: Binary data

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to