Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas028.isp.belgacom.be (localhost [127.0.0.1])
        by inav004.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k6ACqEdo023834
        for <joris.at.lebbeke@skynet.be>; Mon, 10 Jul 2006 14:52:14 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx020.isp.belgacom.be (inmx020.isp.belgacom.be [195.238.5.139])
        by inas028.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k6ACpMsu019323
        for <joris.at.lebbeke@skynet.be>; Mon, 10 Jul 2006 14:52:05 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx020.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k6ACmL7c030844
        for <joris.at.lebbeke@skynet.be>; Mon, 10 Jul 2006 14:48:21 +0200
        (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 k6ACdfmS024949;
	Mon, 10 Jul 2006 08:39:46 -0400
Received: from bay0-omc3-s14.bay0.hotmail.com (bay0-omc3-s14.bay0.hotmail.com
	[65.54.246.214])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k6ACddju024946
	for <tiff@lists.maptools.org>; Mon, 10 Jul 2006 08:39:39 -0400
Received: from hotmail.com ([65.54.174.73]) by bay0-omc3-s14.bay0.hotmail.com
	with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 10 Jul 2006 05:39:38 -0700
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Mon, 10 Jul 2006 05:39:37 -0700
Message-ID: <BAY103-DAV1E36B0F98303D44C52F288B6B0@phx.gbl>
Received: from 221.219.33.229 by BAY103-DAV1.phx.gbl with DAV;
	Mon, 10 Jul 2006 12:39:36 +0000
X-Originating-IP: [221.219.33.229]
X-Originating-Email: [xiaotiger666@hotmail.com]
X-Sender: xiaotiger666@hotmail.com
From: "<hotmail>xiaotiger666" <xiaotiger666@hotmail.com>
To: "Joris" <joris.at.lebbeke@skynet.be>, "tiff" <tiff@lists.maptools.org>
References: <BAY103-DAV16CD92A616749307AB60248B6B0@phx.gbl>
	<004301c6a41d$5a2e2be0$0cb9f651@dfgrrxsknr4e>
Subject: Re: [Tiff] How modify
Date: Mon, 10 Jul 2006 20:39:33 +0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="gb2312"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-OriginalArrivalTime: 10 Jul 2006 12:39:37.0965 (UTC)
	FILETIME=[E7FB49D0:01C6A41D]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by duke.maptools.org id
	k6ACddju024946
Cc: 
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.00001853
X-MSP-STORE: Mon, 10 Jul 2006 14:52:16 +0200
Status:   

Joris:

    thanks for your reply.
    do u have a good idea for modifing tiff's XResolution and YResolution.
    
----- Original Message ----- 
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "<hotmail>xiaotiger666" <xiaotiger666@hotmail.com>; "tiff" <tiff@lists.maptools.org>
Sent: Monday, July 10, 2006 8:35 PM
Subject: Re: [Tiff] How modify


> Robert Zhang wrote:
>> I have a large number of TIF images where XResolution are
>> 204 and YResolution are 98.  Image Height = 1136 and Image Width =
>> 1728.  Now ,How modify tiff  to  the resolution to 204x196 and
>> height is 2272 and width  is 1728 ???.
> 
> This is beyond the functionality of LibTiff. LibTiff is a codec, which
> means it is able to both decode and encode an TIFF file. That does not
> include resizing capabilities. So use LibTiff to decode the file to a
> raster or scanline stream or whatever, add resizing from your own hand
> or from another library, and use LibTiff again to encode the results to
> a new TIFF file.
> 
> Best regards,
> 
> Joris Van Damme
> info@awaresystems.be
> http://www.awaresystems.be/
> Download your free TIFF tag viewer for windows here:
> http://www.awaresystems.be/imaging/tiff/astifftagviewer.html
> 
>

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