Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas027.isp.belgacom.be (localhost [127.0.0.1])
        by inav012.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id l0IKfLYF023866
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Jan 2007 21:41:22 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx015.isp.belgacom.be (inmx015.isp.belgacom.be [195.238.4.218])
        by inas027.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id l0IKfH8l011908
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Jan 2007 21:41:17 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx015.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l0IKfF71002564
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Jan 2007 21:41:15 +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 l0IKTL4h031311;
	Thu, 18 Jan 2007 15:29:38 -0500
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l0IKTJfr031308
	for <tiff@lists.maptools.org>; Thu, 18 Jan 2007 15:29:19 -0500
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	l0IKTHw5029775; Thu, 18 Jan 2007 14:29:17 -0600 (CST)
Date: Thu, 18 Jan 2007 14:29:17 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Frank Warmerdam <warmerdam@pobox.com>
Subject: Re: [Tiff] tif_getimage - using colormap even if photometric interp
	wrong
In-Reply-To: <45AFD224.70304@pobox.com>
Message-ID: <Pine.SOC.4.60.0701181423450.13644@blade.simplesystems.org>
References: <45AFD224.70304@pobox.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: TIFF mailing list <tiff@lists.maptools.org>
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.00001fd0
X-MSP-STORE: Thu, 18 Jan 2007 21:41:29 +0100
Status:   

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/

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