PIL problem: IOError: cannot identify image file

h112211 at gmail.com h112211 at gmail.com
Sun Aug 20 05:07:02 EDT 2006


Doh! Apparently Image.open() wants a path, not a file. So

i = Image.open('c:\\image2.png')

works fine.




More information about the Python-list mailing list