A test case to reproduce the issue. ** Attachment added: "interlaced_png.zip" http://launchpadlibrarian.net/39892934/interlaced_png.zip
-- Alpha channel of interlaced PNG's gets lost. https://bugs.launchpad.net/bugs/529544 You received this bug notification because you are a member of Phatch Developers, which is subscribed to Phatch. Status in Phatch = Photo & Batch!: In Progress Bug description: PIL 1.1.6 can't read interlaced PNGs: In [1]: import Image In [2]: apple = Image.open('ap apple.png apply In [2]: apple = Image.open('apple.png') In [3]: apple.load() --------------------------------------------------------------------------- IOError Traceback (most recent call last) /home/stani/Downloads/actionlist/<ipython console> in <module>() /usr/lib/python2.6/dist-packages/PIL/ImageFile.pyc in load(self) 153 self.map = None 154 --> 155 self.load_prepare() 156 157 # look for read/seek overrides /usr/lib/python2.6/dist-packages/PIL/PngImagePlugin.pyc in load_prepare(self) 335 336 if self.info.get("interlace"): --> 337 raise IOError("cannot read interlaced PNG files") 338 339 ImageFile.ImageFile.load_prepare(self) IOError: cannot read interlaced PNG files Therefore we use Imagemagick. Unfortunately the transparency or alpha channel gets lost. We should try to fix this. _______________________________________________ Mailing list: https://launchpad.net/~phatch-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~phatch-dev More help : https://help.launchpad.net/ListHelp

