| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2007.01.18 20:29 "Re: tif_getimage - using colormap even if photometric interp wrong", by Bob FriesenhahnOn Thu, 18 Jan 2007, Frank Warmerdam wrote: > > 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/ |
|||||||