Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-g.b-one.net (mx-g.one.com [91.198.169.54])
	by mail9.b-one.net (Postfix) with ESMTP id 966C6400220
	for <info@awaresystems.be>; Tue, 30 Dec 2008 18:30:37 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=0 required=6
	tests=[HTML_MESSAGE=0.001]
X-Greylist: from auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-g.b-one.net (Postfix) with ESMTP id 4170814001D2
	for <info@awaresystems.be>; Tue, 30 Dec 2008 18:30:36 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id E26431CF33B4B;
	Tue, 30 Dec 2008 12:29:44 -0500 (EST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154])
	by lists.maptools.org (Postfix) with ESMTP id 499991CF33B45
	for <tiff@lists.maptools.org>; Tue, 30 Dec 2008 12:29:05 -0500 (EST)
Received: by fg-out-1718.google.com with SMTP id 13so301045fge.41
	for <tiff@lists.maptools.org>; Tue, 30 Dec 2008 09:29:04 -0800 (PST)
Received: by 10.102.234.18 with SMTP id g18mr3010925muh.102.1230658144286;
	Tue, 30 Dec 2008 09:29:04 -0800 (PST)
Received: by 10.103.123.12 with HTTP; Tue, 30 Dec 2008 09:29:04 -0800 (PST)
Message-ID: <7ab52dd40812300929ube95c37kab14d528caaca3d8@mail.gmail.com>
Date: Tue, 30 Dec 2008 22:59:04 +0530
From: "Belamge, Pundaleek" <pbelamge@gmail.com>
To: "Bob Friesenhahn" <bfriesen@simple.dallas.tx.us>
In-Reply-To: <Pine.SOC.4.64.0812301022260.4741@freddy.simplesystems.org>
MIME-Version: 1.0
References: <7ab52dd40812300207t305c34e8ka50d9bd560fa196a@mail.gmail.com>
	<Pine.SOC.4.64.0812301022260.4741@freddy.simplesystems.org>
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] scanline v/s striped
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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="===============0500741148=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============0500741148==
Content-Type: multipart/alternative; 
	boundary="----=_Part_51931_31051203.1230658144273"

------=_Part_51931_31051203.1230658144273
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Not only a single image viewer application, but all following applications
showing fg and bgreversed

1. MS Picture viewer
2. MS Document Imaging
3. MS Paint
4. MS outlook (latest one)

On Tue, Dec 30, 2008 at 9:55 PM, Bob Friesenhahn <
bfriesen@simple.dallas.tx.us> wrote:

> On Tue, 30 Dec 2008, Belamge, Pundaleek wrote:
>
>>
>> I am trying to use tiffdither utility to convert 8-bit grayscale tif image
>> to 1-bit bi-level tif image with CCITT Group 3 compression. I am able to
>> generate the tif files but, when viewd the resulting image on Windows, the
>> image viewer shows foreground and background colors reversed. What might
>> be
>> wrong?
>>
>
> The Windows TIFF viewer you are using is likely ignoring the TIFF
> photometric.  Perhaps it is assuming MINISWHITE but the file is using
> MINISBLACK.  Your 8-bit grayscale TIFF image was likely using MINISBLACK.
>
> Bob
> ======================================
> Bob Friesenhahn
> bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
>
>


-- 
Thanks & Regards
Pundaleek P B

------=_Part_51931_31051203.1230658144273
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Not only a single image viewer application, but all following applications showing fg and bgreversed<br><br>1. MS Picture viewer<br>2. MS Document Imaging<br>3. MS Paint<br>4. MS outlook (latest one)<br><br><div class="gmail_quote">
On Tue, Dec 30, 2008 at 9:55 PM, Bob Friesenhahn <span dir="ltr">&lt;<a href="mailto:bfriesen@simple.dallas.tx.us">bfriesen@simple.dallas.tx.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, 30 Dec 2008, Belamge, Pundaleek wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I am trying to use tiffdither utility to convert 8-bit grayscale tif image<br>
to 1-bit bi-level tif image with CCITT Group 3 compression. I am able to<br>
generate the tif files but, when viewd the resulting image on Windows, the<br>
image viewer shows foreground and background colors reversed. What might be<br>
wrong?<br>
</blockquote>
<br></div>
The Windows TIFF viewer you are using is likely ignoring the TIFF photometric. &nbsp;Perhaps it is assuming MINISWHITE but the file is using MINISBLACK. &nbsp;Your 8-bit grayscale TIFF image was likely using MINISBLACK.<br>
<br>
Bob<br>
======================================<br><font color="#888888">
Bob Friesenhahn<br>
<a href="mailto:bfriesen@simple.dallas.tx.us" target="_blank">bfriesen@simple.dallas.tx.us</a>, <a href="http://www.simplesystems.org/users/bfriesen/" target="_blank">http://www.simplesystems.org/users/bfriesen/</a><br>
GraphicsMagick Maintainer, &nbsp; &nbsp;<a href="http://www.GraphicsMagick.org/" target="_blank">http://www.GraphicsMagick.org/</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks &amp; Regards<br>Pundaleek P B<br>

------=_Part_51931_31051203.1230658144273--

--===============0500741148==
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/
--===============0500741148==--
