AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.11.16 22:37 "[Tiff] reading Affymetrix tiff images", by sridhar duggireddy
[...]
2004.01.23 15:18 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 15:48 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 15:57 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
[...]

2004.01.23 15:48 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam

How does this treat the two extra samples? Does it ignore them?

Bob,

I believe that GDAL treats the 3 samples as red, green and blue in the command shown by Andrey.

PS. I don't think the Imagine generated TIFF file is so odd. In the satellite imaging community it is common for us to use MINISBLACK for multispectral tiff files. The only odd part, in my mind, is the use of the unspecified ExtraSamples tag. When I see multi-sample MINISBLACK TIFF files I assume that each sample should be treated as MINISBLACK with no obvious pre-set RGB sample combinations.

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