TIFF and LibTiff Mail List Archive


2004.12.11 19:12 "[Tiff] Q : palettes", by Chris Losinger
2004.12.11 19:57 "Re: [Tiff] Q : palettes", by Frank Warmerdam
2004.12.11 21:01 "Re: [Tiff] Q : palettes", by Joris

2004.12.11 19:57 "Re: [Tiff] Q : palettes", by Frank Warmerdam

On Sat, 11 Dec 2004 14:12:41 -0500, Chris Losinger <> wrote:

what's the proper way to handle an 8bpp TIFF that has photometric = PHOTOMETRIC_MINISWHITE, and a valid palette?

does the photometric setting override the palette (ignore the image palette, use an inverted grayscale palette), or the other way around?


I believe such a file would be out-of-spec, and so there isn't a well defined correct way of handling it. However, I would take the approach of ignoring the photometric interpretation and using the palette in such a case.

Best regards,

I set the clouds in motion - turn up   | Frank Warmerdam,
light and sound - activate the windows |
and watch the world go round - Rush    | Geospatial Programmer for Rent