[Image-SIG] Re: First time with PIL

Fredrik Lundh fredrik at pythonware.com
Sun May 2 10:21:14 EDT 2004

Richard Jennings wrote:

> Traceback (most recent call last):
>   File "./magicTest.py", line 13, in ?
>     center('oliverLSig.png')
>   File "./magicTest.py", line 9, in center
>     new = im.copy()
>   File "//usr/lib/python2.2/site-packages/PIL/Image.py", line 497, in copy
>     self.load()
>   File "//usr/lib/python2.2/site-packages/PIL/ImageFile.py", line 166, in load
>     raise IOError, "decoder error %d when reading image file" % e
> IOError: decoder error -3 when reading image file

when in doubt, google can often explain what an error message means.
here's the first hit:



More information about the Image-SIG mailing list