Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx012.isp.belgacom.be (inmx012.isp.belgacom.be [195.238.3.90])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id iBBJwGwW023343
        for <joris.at.lebbeke@skynet.be>; Sat, 11 Dec 2004 20:58:16 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx012.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id iBBJw8KA018330
        for <joris.at.lebbeke@skynet.be>; Sat, 11 Dec 2004 20:58:09 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id DFAB14FBD8A; Sat, 11 Dec 2004 14:57:54 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198])
	by xserve.flids.com (Postfix) with ESMTP id 1CC714FBD7A
	for <tiff@remotesensing.org>; Sat, 11 Dec 2004 14:57:53 -0500 (EST)
Received: by wproxy.gmail.com with SMTP id 50so181902wri
	for <tiff@remotesensing.org>; Sat, 11 Dec 2004 11:57:52 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
	b=iqlaPk3Y9mugUdKR9PXf7J/SHfJGK3MuCPi/ZelLW2e6xWZb8c/0p8tcZoB1neD6TIEIoZBOiTgAgxvQP5/6/uhvZWavuv9O/CxqLeXXVuCJZTQh8c1xIUYnv+xLA0pQDQdkyybovFNa2im/+BEpn+rYmaVI05gQ3m9/1DA5WE8=
Received: by 10.54.31.27 with SMTP id e27mr1639235wre;
	Sat, 11 Dec 2004 11:57:52 -0800 (PST)
Received: by 10.54.13.15 with HTTP; Sat, 11 Dec 2004 11:57:52 -0800 (PST)
Message-ID: <931f8ea904121111572bcbb01e@mail.gmail.com>
Date: Sat, 11 Dec 2004 14:57:52 -0500
From: Frank Warmerdam <fwarmerdam@gmail.com>
To: Chris Losinger <losinger@earthlink.net>
Subject: Re: [Tiff] Q : palettes
In-Reply-To: <6.2.0.14.2.20041211141059.0296e0e8@pop.earthlink.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <6.2.0.14.2.20041211141059.0296e0e8@pop.earthlink.net>
Cc: tiff@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: warmerdam@pobox.com
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 0bea6df408170893c7556345f4bb7c37

On Sat, 11 Dec 2004 14:12:41 -0500, Chris Losinger
<losinger@earthlink.net> wrote:
> 
>         what's the proper way to handle an 8bpp TIFF that has photometric =
> PHOTOMETRIC_MINISWHITE, and a valid palette?
> 
>         does the photometric setting override the palette (ignore the image
> palette, use an inverted grayscale palette), or the other way around?

Chris,

I believe such a file would be out-of-spec, and so there isn't a well 
defined correct way of handling it.  However, I would take the approach
of ignoring the photometric interpretation and using the palette in such
a case. 

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    | Geospatial Programmer for Rent
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
