Re: What's wrong with this TIF ... IOError("cannot identify image file")

[email protected]
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
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"
<[email protected]> 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  -  [email protected]
> http://mail.python.org/mailman/listinfo/image-sig
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.