PIL and Windows file formats?

Steve Holden sholden at holdenweb.com
Tue Mar 6 04:52:20 CET 2001

"Erik Max Francis" <max at alcyone.com> wrote in message
news:3AA45311.150DB844 at alcyone.com...
> I installed Python 2.0 and PIL for Python 2.0 on my machine and am
> trying to manipulate images.  I try to open a (valid) PNG image (with a
> standard .png file extension) with PIL.Image.open and get a "cannot
> identify image type" error.  I then debug through PIL.Image.py only to
> discover, much to my surprise, the only formats it seems to know about
> (in PIL.Image.ID) are GIF, JPEG, and TIFF.
> Any idea what in the world is going on here?
Nope. My PIL directory has a pngImagePlugin.py file. Does yours? Would this
make any difference?


More information about the Python-list mailing list