Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas028.isp.belgacom.be (localhost [127.0.0.1])
        by inav007.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k18JuVr5014819
        for <joris.at.lebbeke@skynet.be>; Wed, 8 Feb 2006 20:56:31 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx018.isp.belgacom.be (inmx018.isp.belgacom.be [195.238.4.79])
        by inas028.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k18JuNt1005458
        for <joris.at.lebbeke@skynet.be>; Wed, 8 Feb 2006 20:56:27 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx018.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k18JuJut002374
        for <joris.at.lebbeke@skynet.be>; Wed, 8 Feb 2006 20:56:21 +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 k18JioKn015494;
	Wed, 8 Feb 2006 14:46:21 -0500
Received: from web54311.mail.yahoo.com (web54311.mail.yahoo.com
	[206.190.49.121])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id k18JikRx015491
	for <tiff@lists.maptools.org>; Wed, 8 Feb 2006 14:44:47 -0500
Received: (qmail 1072 invoked by uid 60001); 8 Feb 2006 19:44:45 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=bieoaTROqfj5Za8omVn30ym9IChnM03CDoIHa+ZprNKj6bXwQNAmrg3reR3cDfkfp+ahNQnqA7Kde/ABni0OCnJDxo+ZEl5PmQRO4HW3GfUUddrV8Y4v95P65xoCr5qRRjPnTbT/Q/DF/5F64RZStJTaOGvs78fY0aL9/KR7iEs=
	; 
Message-ID: <20060208194445.1070.qmail@web54311.mail.yahoo.com>
Received: from [71.114.9.207] by web54311.mail.yahoo.com via HTTP;
	Wed, 08 Feb 2006 11:44:45 PST
Date: Wed, 8 Feb 2006 11:44:45 -0800 (PST)
From: Rocky Pulley <rockytriton@yahoo.com>
Subject: Re: [Tiff] Are Compression CCITTFAX4 inverted?
To: tiff@lists.maptools.org
In-Reply-To: <Pine.SOC.4.60.0602080959110.10345@blade.simplesystems.org>
MIME-Version: 1.0
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>
Content-Type: multipart/mixed; boundary="===============1728734160=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001290
X-MSP-STORE: Wed, 08 Feb 2006 20:56:34 +0100
Status:   

--===============1728734160==
Content-Type: multipart/alternative; boundary="0-1674275766-1139427885=:1060"
Content-Transfer-Encoding: 8bit

--0-1674275766-1139427885=:1060
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I've had the exact same problem as well.  It would display  correctly in my java application, but in windows fax viewer it would  display inverted.  Also, when my application would print, it would  be inverted because we used native code for printing to speed things  up.  Bob's solution is what I did, and it works great.

Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote:  On Wed, 8 Feb 2006, arlon wrote:

> Hi friends
>
>   My Tiff have two bugs,
> When compression is CCITTFAX4 in Windows Fax Viewer it appear inverted.
> Appear as has just one page.
>
> Who can help me?

The only workable solution is to use a photometric of 
PHOTOMETRIC_MINISWHITE and invert the bits yourself before saving 
them.  Most FAX viewers assume that the default background is white 
like a printed page and will ignore the photometric.

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/


			
---------------------------------
 Yahoo! Mail - Helps protect you from nasty viruses.
--0-1674275766-1139427885=:1060
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I've had the exact same problem as well.&nbsp; It would display  correctly in my java application, but in windows fax viewer it would  display inverted.&nbsp; Also, when my application would print, it would  be inverted because we used native code for printing to speed things  up.&nbsp; Bob's solution is what I did, and it works great.<br><br><b><i>Bob Friesenhahn &lt;bfriesen@simple.dallas.tx.us&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  On Wed, 8 Feb 2006, arlon wrote:<br><br>&gt; Hi friends<br>&gt;<br>&gt;   My Tiff have two bugs,<br>&gt; When compression is CCITTFAX4 in Windows Fax Viewer it appear inverted.<br>&gt; Appear as has just one page.<br>&gt;<br>&gt; Who can help me?<br><br>The only workable solution is to use a photometric of <br>PHOTOMETRIC_MINISWHITE and invert the bits yourself before saving <br>them.  Most FAX viewers assume that the default background is white <br>li!
 ke a
 printed page and will ignore the photometric.<br><br>Bob<br>======================================<br>Bob Friesenhahn<br>bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/<br>GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/<br>_______________________________________________<br>Tiff mailing list: Tiff@lists.maptools.org<br>http://lists.maptools.org/mailman/listinfo/tiff<br>http://www.remotesensing.org/libtiff/<br></blockquote><br><p>
	
		<hr size=1> <a href="http://us.rd.yahoo.com/mail_us/taglines/virusmail/*http://mail.yahoo.com">Yahoo! Mail</a> - Helps protect you from nasty viruses.
--0-1674275766-1139427885=:1060--

--===============1728734160==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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