Re: PIL problem: IOError: cannot identify image file
[EMAIL PROTECTED] wrote: > Doh! Apparently Image.open() wants a path, not a file. So > > i = Image.open('c:\\image2.png') > > works fine. it works fine on files too, if you open them in *binary* mode. -- http://mail.python.org/mailman/listinfo/python-list
Re: PIL problem: IOError: cannot identify image file
Doh! Apparently Image.open() wants a path, not a file. So i = Image.open('c:\\image2.png') works fine. -- http://mail.python.org/mailman/listinfo/python-list