AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.11.27 21:46 "[Tiff] Bugzilla is operational again", by Frank Warmerdam
2007.01.18 20:01 "[Tiff] tif_getimage - using colormap even if photometric interp wrong", by Frank Warmerdam
2007.01.18 19:47 "RE: [Tiff] tif_getimage - using colormap even if photometric interpwrong", by Chris Cox
2007.01.18 20:47 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Joris
2007.01.18 21:25 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Frank Warmerdam
2007.01.22 10:13 "Re: [Tiff] tif_getimage - using colormap even ifphotometricinterpwrong", by Gerben Vos
2007.01.18 23:33 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Bob Friesenhahn
2007.01.18 23:54 "Re: [Tiff] tif_getimage - using colormap even if photometricinterpwrong", by Joris
2007.01.18 20:29 "Re: [Tiff] tif_getimage - using colormap even if photometric interp wrong", by Bob Friesenhahn

2007.01.18 20:29 "Re: [Tiff] tif_getimage - using colormap even if photometric interp wrong", by Bob Friesenhahn

A client has requested changes to tif_getimage.c so that if a colormap is present in a TIFF file it will be used, even if the photometric interpretation is MINISBLACK (ie. not Palette).

Are there any objections in principle to such a change? It would affect the tiff2rgba program, and any applications using the RGBA interface.

This change sounds dangerous to me. The consequences to the world at large are completely unknown. Using something simply because it exists is fraught with peril.

It is likely that some packages write a colormap to the file simply because it exists within the application and not due to it being valid for the current image.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/