[Image-SIG] PIL 1.1.5+window 2000 problem.
fredrik at pythonware.com
Mon May 16 08:36:26 CEST 2005
"qzm" <stuartaw at gmail.com> wrote:
> I just hit a problem with the binary install of PIL1.1.5 on a windows
> 2000 machine with python 2.4.1,
> when I load a tga it comes out as an incorrect size, and nothing else works.
> import Image
> print im.size
> returns (2,0)
> when it should be (640,480)
> Works fine on most of the other machine around here :-/
how did you transfer the file to the windows machine? are you sure
didn't accidentally transfer it in text mode?
(if the same file works on other platforms, feel free to mail me a copy
so I can look at it).
> Am going to try a rebuild from source next.
> Does anyone know if PIL uses an inernal library for tga, and ifnot
> what the external one is? perhaps that is damaged.
PIL uses Python code to parse the TGA headers (TgaImagePlugin.py).
More information about the Image-SIG