2009.05.07 08:14 "[Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by masui/増井 郁久

2009.05.08 03:52 "Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam

It becomes an error by "TIFFReadRGBAImage" at "COMPRESSION_JPEG"-ImageFile(TIFF) though it is possible to read at "COMPRESSION_CCITTFAX4"-ImageFile(TIFF) by the above-mentioned reading method.

How can I read at COMPRESSION_JPEG? <<<<<<<<

Masui,

There are many reasons that TIFFReadRGBAImage() might fail with a jpeg compressed TIFF and work ok for a CCITTFAX4 image. Was there a particular error message issued?

One possibility is that support for jpeg images (which requires libjpeg) was not built in when libtiff was built.

If you can be more specific about the error message - if any - or perhaps provide the image in question we might be able to help more.

Best regards,
--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam

and watch the world go round - Rush    | Geospatial Programmer for Rent