[Image-SIG] PNG Decoder Bug

Bernhard Herzog bh@intevation.de
16 Jan 2001 12:29:52 +0100


PIL has problems decoding some PNG files. An image which PIL fails to
load can be found at http://intevation.de/~bh/6x2.png .

The error message I get is:

>>> import Image
>>> i = Image.open("6x2.png")
>>> i.load()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python1.5/site-packages/PIL/ImageFile.py", line 161, in load
    raise IOError, "decoder error %d when reading image file" % e
IOError: decoder error -3 when reading image file

I reported this bug before (or at least a very similar one) back in 1999
( http://mail.python.org/pipermail/image-sig/1999-October/000892.html )
but I ran into it again now. Perhaps someone should set up a bug tracker
so such bugs aren't forgotten. 

  Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                               http://mapit.de/