[Image-SIG] Bug in PNG decoder

Bernhard Herzog herzog@online.de
21 Oct 1999 11:50:51 +0200


a Sketch user has told me about a problem with the PNG decoder. When I
try to load the file http://www.online.de/home/sketch/Images/usengl.png

I get the following exception:

Python 1.5.2 (#3, Apr 21 1999, 16:51:54)  [GCC] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Image
>>> Image.open('usengl.png')
<PngImagePlugin.PngImageFile instance at 8171fe0>
>>> _.load()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/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

Bernhard Herzog	  | Sketch, a drawing program for Unix
herzog@online.de  | http://www.online.de/home/sketch/