AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2009.05.07 08:14 "[Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.08 03:52 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.08 12:30 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.08 13:47 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.11 03:03 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.11 06:17 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.11 11:22 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>
2009.05.11 14:32 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by Frank Warmerdam
2009.05.12 12:19 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>

2009.05.08 12:30 "Re: [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.", by <masui.ikuhisa@jsol.co.jp>

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. 

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam@pobox.com] 
Sent: Friday, May 08, 2009 12:52 PM
To: masui/増井 郁久
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG
imagefile) of libtiff.

masui/増井 郁久 wrote:
> 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