I have a script that is attempting to verify that an image is square.

This is accomplished using PIL.Image.open(filename).size

Within the context that the script is being run it is opening a tga as
a WbmpImageFile and reporting the size to be (2, 0).
However, printing repr(filename), copying the filename, and running
the line with that file from a fresh Python interpreter gives the
correct results.


PIL version is 1.1.6
Python version is 2.5.1

--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to