AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.01.18 20:01 "tif_getimage - using colormap even if photometric interp wrong", by Frank Warmerdam
2007.01.18 20:29 "Re: tif_getimage - using colormap even if photometric interp wrong", by Bob Friesenhahn

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

On 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/