Return-Path: <tiff-admin@remotesensing.org>
Received: from inav001.isp.belgacom.be (inav001.isp.belgacom.be [195.238.3.91])
        by six.skynet.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i2QG3wQs011248
        for <joris.at.lebbeke@skynet.be>; Fri, 26 Mar 2004 17:03:58 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from inmx012.isp.belgacom.be (inmx012.isp.belgacom.be [195.238.3.90])
        by inav001.isp.belgacom.be (8.12.9/8.12.9/Skynet-IN-AV-2.02) with ESMTP id i2QG3emK027084
        for <joris.at.lebbeke@skynet.be>; Fri, 26 Mar 2004 17:03:41 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.42])
        by inmx012.isp.belgacom.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i2QG3Tet017545
        for <joris.at.lebbeke@skynet.be>; Fri, 26 Mar 2004 17:03:30 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i2QG1Ul25700;
	Fri, 26 Mar 2004 11:01:31 -0500
Received: from ahk.pu.ru (ahk.pu.ru [193.124.85.198])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i2QG0Dl25668
	for <tiff@remotesensing.org>; Fri, 26 Mar 2004 11:00:14 -0500
Received: from wg.pu.ru (wg.pu.ru [193.124.85.219])
	by ahk.pu.ru (8.12.9p2/8.12.9) with ESMTP id i2QG0Bqv046970
	for <tiff@remotesensing.org>; Fri, 26 Mar 2004 19:00:11 +0300 (MSK)
	(envelope-from dron@ak4719.spb.edu)
Received: (from uucp@localhost)
	by wg.pu.ru (8.9.1a/8.9.1) with UUCP id QAA24168
	for tiff@remotesensing.org; Fri, 26 Mar 2004 16:00:11 GMT
Received: from ak4719.spb.edu (localhost [127.0.0.1])
	by ak4719.spb.edu (8.12.1/8.12.1/Debian -5) with ESMTP id i2QG0539024147
	for <tiff@remotesensing.org>; Fri, 26 Mar 2004 19:00:05 +0300
Received: (from dron@localhost)
	by ak4719.spb.edu (8.12.1/8.12.1/Debian -5) id i2QG05se024144
	for tiff@remotesensing.org; Fri, 26 Mar 2004 19:00:05 +0300
From: Andrey Kiselev <dron@ak4719.spb.edu>
To: tiff@remotesensing.org
Subject: Re: [Tiff] Jpeg compression of grayscale images seems odd
Message-ID: <20040326160005.GA23217@ak4719.spb.edu>
Mail-Followup-To: tiff@remotesensing.org
References: <BAY8-DAV35BJjvmZp0m00001ff3@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <BAY8-DAV35BJjvmZp0m00001ff3@hotmail.com>
X-GnuPG-Key: http://www.srces.spb.org/dron/export.home.key
X-Face: "t+se9s~+y~[XUH]L|pmeO3Pt/Q@DNv**S,d@_1-C=}/,c%<3Qp]eu!ok<"2lYJm$!9qVcg
 F?7o*L;|$`6|Q|>Rt-cU%2_y@6tQ|`!Li}TsvZvEKx;>fuY=fc(=sX^`7Wmw8%SsR`AvM$a;0U/eN\
 P?B\FTyqD,0np$U2!*'z_4D,VPlFf?bN0&zYf"zF0s!7Tl7?$we)xD0@lL>[h|8bhys0i.g|zLnu@C
 Ti@d]i=[!:j1CB\5/TF[m]`lfHfaqSN[0qn@T3zeosV/[LAss{@p_?],x*j8P_9t[}uHD^X-;j~\M!
 gyTly;fj`}&Y~i{<#bN.#QmkE}#T`dxP.I1\.)_MEN{@#W
User-Agent: Mutt/1.5.3i
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Fri, 26 Mar 2004 19:00:05 +0300
X-RAVMilter-Version: 8.4.3(snapshot 20030212) (inav001.isp.belgacom.be)
X-UIDL: 8c4fe536a770d053b86f42368ee6076d

On Wed, Mar 24, 2004 at 05:38:02PM -0600, Carl J. Collin wrote:
> I have recently sync'd back up with CVS and it seems that the jpeg
> compression seems broke in the HEAD tag, 3.5.7 works fine though.
> When I compress a grayscale tiff file using JPEG compression, it seems
> that the image has reversed the black and white bits. As if the
> TIFFTAG_MINISBLACK and TIFFTAG_MINISWHITE are reversed. Here is what I
> do? Scan an image using TWAIN and Irfanview. (fine) Load the file
> using Imaging for Windows NT (fine)
> Use tiffcp thusly ( tiffcp -c jpeg:r scan.tif small.tif )  (fine)
> If I look at the file using Irfanview the image has reversed polarity
> and... If I then use tiffcp thusly ( tiffcp -c none small.tif
> newOriginal.tif ) and try and load newOriginal.tif in Imaging for
> Windows NT it gives an error.

It seems that I have fixed the problem with Photometric Interpretation
today (along with the couple oth other bugs, now Windows build should
run smoothly). Please, try the latest snapshot.

BTW, I'm not sure that Imaging supports JPEG compressed TIFFs.

						Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
