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 16:03 "Re: re[Tiff] ad/write multi-band tiff image", by DavisZhu

Frank Warmerdam-2 wrote:

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."
>
> *****************************************
>
> My questions here is similar to the 2nd one. I am looking for a function
> that is able to read a multi-band TIFF image from file, no matter how the
> data is organized in the file. There are some functions I found in the
> TIFF package, but usually they do not handle all the cases (datatype,
> interleaving, compression, etc), especially for multi-band image. The
> function I want would be something like:
>
> TIFFRead(tifffile, buffer[]);

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."
>
> *****************************************
>
> Thanks. I am looking into GDAL. Could you kindly point out which file I
> should read? Thanks.

and watch the world go round - Rush    | Geospatial Programmer for Rent

--

View this message in context: http://www.nabble.com/read-write-multi-band-tiff-image-tp19172978p19184160.html Sent from the Tiff / LibTiff mailing list archive at Nabble.com.