[Image-SIG] What's wrong with this TIF ... IOError("cannot identify image file")

image-sig at richardshea.fastmail.fm image-sig at richardshea.fastmail.fm
Tue Dec 1 10:13:44 CET 2009


Hi Florian - Thank you *very* much. That did the trick, your help is
much appreciated - this one really had me scratching my head !

thanks again.

Richard.


On Mon, 30 Nov 2009 14:14:19 +0100, "Florian Höch"
<lists+Image_SIG at hoech.org> said:
> Hi, it has nothing to do with missing TIFF headers.
> 
> > TIFFDUMP OUTPUT FOR THE SECOND FILE 
> > ===================================
> > BitsPerSample (258) SHORT (3) 4<16 16 16 16>
> 
> PIL can't process 16-bit/channel images. You can use -depth 8
> option in your ImageMagick commandline to force 8-bit/channel output
> (as the original image is also 8-bit, I assume you use the Q16 version
> of ImageMagick which always converts to 16-bit for supported fileformats
> on output if you don't tell it otherwise).
> 
> Regards,
> 
> Florian Höch
> 
> 
> 
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig


More information about the Image-SIG mailing list