Return-Path: <tiff-bounces@remotesensing.org>
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j455IPLH012563
        for <joris.at.lebbeke@skynet.be>; Thu, 5 May 2005 07:18:28 +0200
        (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 637B725014E0; Thu,  5 May 2005 01:18:06 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au
	[211.29.132.185])
	by xserve.flids.com (Postfix) with ESMTP id 8207C25014B7
	for <tiff@remotesensing.org>; Thu,  5 May 2005 01:18:03 -0400 (EDT)
Received: from [192.168.244.1] (c211-30-39-134.belrs1.nsw.optusnet.com.au
	[211.30.39.134])
	by mail04.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id
	j455I0Vb009286
	for <tiff@remotesensing.org>; Thu, 5 May 2005 15:18:01 +1000
User-Agent: Microsoft-Entourage/10.0.0.1309
Date: Thu, 05 May 2005 15:17:58 +1000
From: Bruno LEDOUX <brunoledoux@optusnet.com.au>
To: <tiff@remotesensing.org>
Message-ID: <BE9FE9A8.BFAF%brunoledoux@optusnet.com.au>
Mime-version: 1.0
Content-type: multipart/mixed; boundary="B_3198151080_1094013"
Subject: [Tiff] TIFF2PDF Bug resolved + proposed enhancement 
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
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: 000000000023ceae.000001aa
X-MSP-STORE: Thu, 05 May 2005 07:18:37 +0200
Status:   

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3198151080_1094013
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit

Hi All,

I solved a bug in the tiff2pdf tool (libtiff v3.7.2) and added an new
functionnality. 
The bug appears when converting Monochrome (1bit/pixel) tiled images. It
affects more generally all tiled images with less than 8bits per pixel. The
problem is that all the tiles on the left/right edges are incorrectly
converted due to an error in the calculation of the edgescanwidth parameter.

The new functionnality I added is to set the Interpolate flag to true in the
image dictionnary of the generated PDF. By default, this flag is set to
false, but with some PDF viewers it has to be activated to improve the
display quality of monochrome screened images.
I attached the result of a diff between the current version and my version
of tiff2pdf.

Regards,

Bruno.


--B_3198151080_1094013
Content-type: application/octet-stream; name="tiff2pdf.dif"
Content-disposition: attachment
Content-transfer-encoding: base64

Mjg5YTI5MAo+IAlpbnQgcGRmX2ltYWdlX2ludGVycG9sYXRlOwkvKiAwIChkZWZhdWx0KSA6
IGRvbid0IGludGVycG9sYXRlLCAxIDogaW50ZXJwb2xhdGUgKi8KNDczYzQ3NAo8IAotLS0K
PiAJLWIgc2V0IHRoZSBpbWFnZSBpbnRlcnBvbGF0aW9uIGZsYWcgdG8gdHJ1ZQo1MTljNTIw
CjwgCXdoaWxlICgoYyA9IGdldG9wdChhcmdjLCBhcmd2LCAibzpxOnU6eDp5Onc6bDpyOnA6
ZTpjOmE6dDpzOms6anpuZGlmaCIpKSAhPSAtMSl7Ci0tLQo+IAl3aGlsZSAoKGMgPSBnZXRv
cHQoYXJnYywgYXJndiwgIm86cTp1Ong6eTp3Omw6cjpwOmU6YzphOnQ6czprOmp6bmRpZmJo
IikpICE9IC0xKXsKNjg5YTY5MSw2OTMKPiAJCQkJYnJlYWs7CQkKPiAJCQljYXNlICdiJzoK
PiAJCQkJdDJwLT5wZGZfaW1hZ2VfaW50ZXJwb2xhdGUgPSB0cnVlOwo4MzlhODQ0Cj4gCSIg
LWIgc2V0IHRoZSBpbWFnZSBpbnRlcnBvbGF0aW9uIGZsYWcgdG8gdHJ1ZSIsCjM0MTljMzQy
NAo8IAllZGdlc2NhbndpZHRoID0gc2NhbndpZHRoICogZWRnZXRpbGV3aWR0aCAvIHRpbGV3
aWR0aDsKLS0tCj4gCWVkZ2VzY2Fud2lkdGggPSAoc2NhbndpZHRoICogZWRnZXRpbGV3aWR0
aCArICh0aWxld2lkdGggLSAxKSkvIHRpbGV3aWR0aDsKNDY2MGE0NjY2LDQ2NjgKPiAJaWYo
dDJwLT5wZGZfaW1hZ2VfaW50ZXJwb2xhdGUgPT0gdHJ1ZSkKPiAJCXdyaXR0ZW4gKz0gVElG
RldyaXRlRmlsZShvdXRwdXQsICh0ZGF0YV90KSAiXHIvSW50ZXJwb2xhdGUgdHJ1ZSIsIDE4
KTsKPiAJCg==

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

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff

--B_3198151080_1094013--


