Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas020.isp.belgacom.be (localhost [127.0.0.1])
        by inav004.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id l0IK2joH030617
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Jan 2007 21:02:45 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx003.isp.belgacom.be (inmx003.isp.belgacom.be [195.238.5.11])
        by inas020.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id l0IK2ZO9007600
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Jan 2007 21:02:37 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx003.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l0IK2TLB012858
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Jan 2007 21:02:30 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l0IJqjHT030831;
	Thu, 18 Jan 2007 14:52:50 -0500
Received: from exprod6og55.obsmtp.com (exprod6og55.obsmtp.com [64.18.1.191])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id l0IJqfNs030828
	for <tiff@lists.maptools.org>; Thu, 18 Jan 2007 14:52:41 -0500
Received: from source ([192.150.20.142]) by exprod6ob55.postini.com
	([64.18.5.12]) with SMTP; Thu, 18 Jan 2007 11:52:37 PST
Received: from inner-relay-3.eur.adobe.com (inner-relay-3b [10.128.4.236])
	by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id
	l0IJqrIY020094; Thu, 18 Jan 2007 11:52:53 -0800 (PST)
Received: from fe2.corp.adobe.com (fe2.corp.adobe.com [10.8.192.72])
	by inner-relay-3.eur.adobe.com (8.12.10/8.12.9) with ESMTP id
	l0IJowec003204; Thu, 18 Jan 2007 11:52:27 -0800 (PST)
Received: from namail3.corp.adobe.com ([10.8.192.66]) by fe2.corp.adobe.com
	with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 18 Jan 2007 11:51:54 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: [Tiff] tif_getimage - using colormap even if photometric
	interpwrong
Date: Thu, 18 Jan 2007 11:47:51 -0800
Message-ID: <3B96007137B4CE4E85114278E640DC33F7F749@namail3.corp.adobe.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] tif_getimage - using colormap even if photometric
	interpwrong
Thread-Index: Acc7OWDR8BcSBPHjRGKNJLWl6Sq6UgAAClDU
References: <45AFD224.70304@pobox.com>
From: "Chris Cox" <ccox@adobe.com>
To: "Frank Warmerdam" <warmerdam@pobox.com>,
        "TIFF mailing list" <tiff@lists.maptools.org>
X-OriginalArrivalTime: 18 Jan 2007 19:51:54.0405 (UTC)
	FILETIME=[1A9DF550:01C73B3A]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	l0IJqfNs030828
Cc: 
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001fce
X-MSP-STORE: Thu, 18 Jan 2007 21:02:52 +0100
Status:   


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

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/


_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
