[Image-SIG] PIL is unable to identify TIFF image file
Mon, 22 Oct 2001 12:09:26 +0200
> I have some TIFF files that I wish to process using PIL.
> Whenever I attempt to open the file with Image.open I
> get the following traceback message.
> Traceback (most recent call last):
> File "c:\python21\pythonwin\pywin\framework\scriptutils.py", line 301, in
> exec codeObject in __main__.__dict__
> File "F:\phil\python\TIFF2JPG.py", line 78, in ?
> File "PIL\Image.py", line 960, in open
> IOError: cannot identify image file
> I can work with the file in Windows Imaging, PaintShop
> Pro, PhotoShop, etc. so the image appears to be a OK.
> If I open in PhotoShop and save, then the image can
> be opened with PIL. Any suggestions anyone? I can
> send the TIF file to you if you want.
I could probably figure it out from the TIFFINFO output, but it's
easier to work with a copy of the offending file. So if you have
(send it to me directly, not to the list)