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
August 2007

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

2007.08.02 16:38 "reading planar images using TIFFReadScanline", by Christian Henning
2007.08.02 16:52 "Re: reading planar images using TIFFReadScanline", by Bob Friesenhahn
2007.08.02 17:45 "Re: reading planar images using TIFFReadScanline", by Christian Henning
2007.08.03 08:33 "Re: reading planar images using TIFFReadScanline", by Kai-uwe Behrmann
2007.08.03 15:17 "Re: reading planar images using TIFFReadScanline", by Christian Henning
2007.08.04 09:02 "Re: reading planar images using TIFFReadScanline", by Kai-uwe Behrmann
2007.08.02 17:54 "Re: reading planar images using TIFFReadScanline", by Frank Warmerdam

2007.08.02 17:54 "Re: reading planar images using TIFFReadScanline", by Frank Warmerdam

Christian Henning wrote:
> Hi there, is it correct to say that reading using TIFFReadScanline is
> not working? 

Christian,

As far as I know it works fine, within it's intended constraints (stripped
files only).

 > Also, is there one way of reading all kinds of tiff
> images using just one TIFFRead*****?

The TIFFReadRGBAImage() interface will work with tiled and stripped files.
But there are still image types (unusual bit depths for instance) that it
won't work with.

The libtiff API is closely aligned with the TIFF format itself.  This is
good in some ways, but it means you can't just treat the TIFF file in a very
abstract way.  Instead you are forced to deal seperately with tiled and
stripped images, and differently with pixel and band interleaved (planar
configuration contiguous and seperate) images.

Consider using a higher level library if you are looking for simplified
access.

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    | President OSGeo, http://osgeo.org