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
July 2004

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

2004.07.13 22:44 "multi image "no put routine" error", by Kuo-lin Fang
2004.07.14 01:56 "Re: multi image "no put routine" error", by Frank Warmerdam
2004.07.14 14:48 "Re: multi image "no put routine" error", by Kuo-lin Fang
2004.07.14 15:10 "Re: multi image "no put routine" error", by Frank Warmerdam
2004.07.14 16:57 "Re: multi image "no put routine" error", by Joris Van Damme

2004.07.14 15:10 "Re: multi image "no put routine" error", by Frank Warmerdam

Kuo-Lin Fang wrote:
> Got you.  Yes, you are right.
> The last 4 directories are 16-bit gray scale, so
> I can not use TIFFReadRGBAImage. But instead,
> it seems like no function I can use to get the whole
> gray scale image?  Should I use something like
> TIFFReadEncodedStrip?

Kuolin,

Generally speaking, yes, you should drop down to using the strip or
tile based reading functions as appropriate, or possibly the scanline
based methods.

It is a definate deficiency of the TIFF library that there is no simple
function to read any desired window of data from a TIFF file in the TIFF
file underlying data type without having to have different cases for
different organizations of file.  It might be nice for us to add a
TIFFReadEncodedWindow() that would work for stripped or tiled files and
that also took care of reading all samples regardless of the planarconfig
of the file.

However, other than the RGBA interface, libtiff has mostly aimed at providing
access to TIFF files in a way as close as possible to the physical
representation.

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