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 19:47 "Re: tif_getimage - using colormap even if photometric interpwrong", by Chris Cox
2007.01.18 20:47 "Re: tif_getimage - using colormap even if photometricinterpwrong", by Joris Van Damme
2007.01.18 21:25 "Re: tif_getimage - using colormap even if photometricinterpwrong", by Frank Warmerdam
2007.01.22 10:13 "Re: tif_getimage - using colormap even ifphotometricinterpwrong", by Gerben Vos
2007.01.18 23:33 "Re: tif_getimage - using colormap even if photometricinterpwrong", by Bob Friesenhahn
2007.01.18 23:54 "Re: tif_getimage - using colormap even if photometricinterpwrong", by Joris Van Damme

2007.01.18 19:47 "Re: tif_getimage - using colormap even if photometric interpwrong", by Chris Cox

A (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