[Image-SIG] PIL - Opens tga as WbmpImageFile

Zac Burns zac256 at gmail.com
Mon May 18 18:49:46 CEST 2009


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


More information about the Image-SIG mailing list