Hi,
this is a short question:
Why does Image.open fail after reload(Image) ?
Here is what I get :
{{{
>>> import Image
>>> i = Image.open(r"/Users/labuser/Desktop/Picture 5.png")
>>> i.size
(1920, 1200)
>>> reload(Image)
<module 'Image' from '....../PIL/Image.pyc'>
>>> i = Image.open("Picture 5.png")
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "......./PIL/Image.py", line 1916, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file
>>> Image.VERSION
'1.1.6'
}}}
Since I ran into this a couple times,
I was just wondering if this could be fixed ?
Thanks for PIL,
Sebastian Haase
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig