H
h112211
Hi,
I installed the newest available PIL (1.1.5 for Python 2.4) from their
site, but cannot seem to open any files. The following
from PIL import Image
i = Image.open(file('c:\\image2.png'))
results in
File "C:\Program Files\Python24\lib\site-packages\PIL\Image.py", line
1745, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file
for any graphics file I've tried. Anyone know what's wrong?
I installed the newest available PIL (1.1.5 for Python 2.4) from their
site, but cannot seem to open any files. The following
from PIL import Image
i = Image.open(file('c:\\image2.png'))
results in
File "C:\Program Files\Python24\lib\site-packages\PIL\Image.py", line
1745, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file
for any graphics file I've tried. Anyone know what's wrong?