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

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

Thank you for Mr. Frank

My PC environment is windows XP (SP2) - Visual Studio2005.

The following were put on the execution folder.

   libtiff3.dll
   jpeg62.dll
   zlib1.dll
     (<- download dll from http://gnuwin32.sourceforge.net/packages/tiff.htm)

The error message has not come out especially.

It holds out a little more.

Masui,

Well, it would seem likely that the build you are using includes JPEG support. As there is no apparent message I think you will need to make the input image available somewhere if we are to investigate what is happening.

You might also want to try processing the image with the tiff2rgba commandline utility which also uses the TIFFReadRGBAImage() API. If that works, and your program does not then the problem is specific to your program. If that does not work either then there is either a problem in the library or your image is for some reason beyond the capability of the TIFFReadRGBAImage() API (and there are many esoteric images which it does not support).

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