[Image-SIG] An patch to support semi-transparent PNG8
张挺
zt at live.cn
Tue Oct 19 12:13:18 CEST 2010
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20101019/61b9c399/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image.py.patch
Type: application/octet-stream
Size: 403 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/image-sig/attachments/20101019/61b9c399/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PngImagePlugin.py.patch
Type: application/octet-stream
Size: 313 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/image-sig/attachments/20101019/61b9c399/attachment-0001.obj>
More information about the Image-SIG
mailing list