| 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 19:47 "Re: tif_getimage - using colormap even if photometric interpwrong", by Chris CoxA (way too) common mistake that we've seen is applications writing a color palette into TIFF files when they should not (grayscale images, RGB images, etc.). So Photoshop always reads the palette, but only uses it if the photometric interpretation is also palette based. Bottom line: I think the change would cause more problems than it would solve. It might solve the specific case they are describing (sounds like mapping data), but would likely create more problems for the larger TIFF user community. Chris -----Original Message----- From: tiff-bounces@lists.maptools.org on behalf of Frank Warmerdam Sent: Thu 1/18/2007 12:01 PM To: TIFF mailing list Subject: [Tiff] tif_getimage - using colormap even if photometric interpwrong Folks, 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. http://bugzilla.remotesensing.org/show_bug.cgi?id=1066 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 | President OSGeo, http://osgeo.org |
|||||||