PIL Headaches: Advice Needed
Marc
mnations at airmail.net
Mon Mar 18 11:58:11 EST 2002
This is the main error that I am seeing:
...
File "play2_copy.py", line 90, in createWidgets
im = "Image.open("cs.bmp")
File "C:\Python22\lib\Image.py", line 960 in open
IOError: cannot identify image file
I have tried this with .gif, .jpg, and a couple of others and none of
the file types are recognized. Here is the code where the image is
imported:
canvas = Canvas(goFrame, width=400, height=400)
im = Image.open("cs.bmp")
im.show()
canvas.pack()
What am I doing wrong?
Thanks,
Marc
More information about the Python-list
mailing list