AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.08.27 00:40 "[Tiff] read/write multi-band tiff image", by Davis
2008.08.27 13:50 "Re: [Tiff] read/write multi-band tiff image", by Frank Warmerdam
2008.08.27 16:03 "Re: re[Tiff] ad/write multi-band tiff image", by DavisZhu

2008.08.27 13:50 "Re: [Tiff] read/write multi-band tiff image", by Frank Warmerdam

I am new to the tiff library and this list. I know that handling multiband (>3) tiff image was a topic discussed long time ago. Does anybody have some source code would like to share, or know where to find it?

Davis,

Was there a specific question you had with more-than-three-band TIFF images? I work with them routinely so there is no particular problem, though of course they don't work well with the RGBA "imaging" interface.

I am also wondering if there is any function similar to TIFFRGBAImageGet, that will get a small part of the image in a given window, no matter what kind of data organization (strip or tile), compressed or not for the image underlying? Your kind help is sincerely appreciated.

I do not believe such a thing exists in libtiff, but there are higher level libraries, such as GDAL (http://www.gdal.org) that do abstract the interface to TIFF files in such a way.

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