Return-Path: <tiff-bounces@lists.maptools.org>
Received: from mailgate109.isp.belgacom.be (mailgate109.isp.belgacom.be [195.238.6.92])
        by inmx007.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l42Ew0J1030835
        for <joris.at.lebbeke@skynet.be>; Wed, 2 May 2007 16:58:03 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 02 May 2007 16:56:36 +0200
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 l42ElbZ5027147;
	Wed, 2 May 2007 10:48:20 -0400
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 l42ElXIm027144
	for <Tiff@lists.maptools.org>; Wed, 2 May 2007 10:47:34 -0400
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
	l42ElOFT001963; Wed, 2 May 2007 09:47:24 -0500 (CDT)
Date: Wed, 2 May 2007 09:47:24 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: tame@lexmark.com
Subject: Re: [TIFF] CCITT RLE image is inverted
In-Reply-To: <OFD111CC98.A6849652-ON852572CF.0045AA0B-852572CF.00476A8B@lexmark.com>
Message-ID: <Pine.SOC.4.60.0705020945160.25657@blade.simplesystems.org>
References: <OFD111CC98.A6849652-ON852572CF.0045AA0B-852572CF.00476A8B@lexmark.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: 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.00002346
X-MSP-STORE: Wed, 02 May 2007 16:58:10 +0200
Status:   

On Wed, 2 May 2007 tame@lexmark.com wrote:
>
> I have a CCITT RLE compressed image with photometric interpretation of
> MinIsZero that appears "correct" in Windows Viewer, but appears "inverted"
> in GIMP, Photoshop and IrfanView.
>
>> From the output from libtiff, it appears that GIMP, et al is honoring the
> photometric interpretation, but Windows Viewer is not?  I wasn't sure if
> that was the case, or maybe libtiff is inverting the data before passing
> back to the caller.

It seems that you have answered your own question.  The Windows viewer 
is broken.  However, use of min-is-black with this compression 
algorithm is unusual.

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/
