Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx009.isp.belgacom.be (inmx009.isp.belgacom.be [195.238.3.146])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id iBS2a5cU029861
        for <joris.at.lebbeke@skynet.be>; Tue, 28 Dec 2004 03:36:05 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id iBS2ZnWd003685
        for <joris.at.lebbeke@skynet.be>; Tue, 28 Dec 2004 03:35:53 +0100
        (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 9030A562E48; Mon, 27 Dec 2004 21:35:14 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from 126.com (unknown [220.181.31.133])
	by xserve.flids.com (Postfix) with SMTP id 90152562E1F
	for <tiff@remotesensing.org>; Mon, 27 Dec 2004 21:35:09 -0500 (EST)
MIME-Version: 1.0
Message-ID: <41D0C7F2.00017D.21936@m53.126.com>
Date: Tue, 28 Dec 2004 10:41:54 +0800 (CST)
From: "=?gb2312?B?eW91cnBhdHRlcm4=?=" <yourpattern@126.com>
To: tiff@remotesensing.org
X-Priority: 3
X-Originating-IP: [192.168.0.54]
X-Mailer: <!-- CoreMail Version 2.5 Copyright (c) 2002-2003 www.tebie.com -->
	126com
Subject: [Tiff] how to insert or replace a image in multi-page tiff file
 using libtiff
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>
Content-Type: multipart/mixed; boundary="===============0079976203227254405=="
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: f321130f7f455fb4f162bd691484d80d


--===============0079976203227254405==
Content-Type: Multipart/Alternative;
	boundary="Boundary-=_rVFlQMBfFXLybrrzSUqxOAQKKBIu"


--Boundary-=_rVFlQMBfFXLybrrzSUqxOAQKKBIu
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64

SGkNCiB0aGlzIHF1ZXN0aW9uIHdhcyBmaXJzdCBhc2tlZCBieSBGcmVkIFdvYnVzIGluIDIw
MDIuMy4yMQ0KYnV0IGkgaGF2ZW4ndCBzZWUgYW55IGFuc3dlciBvciBzb2x1dGlvbiB0byB0
aGlzIHByb2JsZW0gLg0Kc28gaSBpbnRlbnRlZCB0byBhc2sgYWdhaW4sICBpZiBhbnkgYm9k
eSBoYXMgYW55IGluZm9ybWF0aW9uLHBsZWFzZSBzaGFyZSB3aXRoIG1lIC4NCnNvIHRoYW5r
cyAhIA0KDQpJIGFtIGN1cnJlbnRseSB0cnlpbmcgdG8gY29uc3RydWN0IGEgVElGRiBjb2Rl
ciB0aGF0IHdyaXRlcyBtdWx0aXBhZ2UgVElGRg0KaW1hZ2UgZmlsZXMgdXNpbmcgbGlidGlm
ZiAzLjcuMA0KSSBoYXZlIHdpdGggbm8gcHJvYmxlbSBhdCBhbGwgaW1wbGVtZW50aW5nIHRo
ZSBzaW1wbGUgImFwcGVuZCIgYWN0aW9uLiBUaGUNCmV4aXN0aW5nIFRJRkYgZmlsZSBpcyBv
cGVuZWQgd2l0aCBtb2RlICJhIiBhbmQgdGhlIFRJRkZUYWdzIGFuZCBkYXRhIGFyZQ0Kd3Jp
dHRlb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ZD48
L3RyPjwvdGFibGU+Cjxmb250IHN0eWxlPSJmb250LXNpemU6MTQuOHB4Ij4KPCEtLbnjuOZm
b290ZXIgv6rKvC0tPgo8IS0tueO45mZvb3RlciC94cr4LS0+Cgo8IS0txNqyv2Zvb3Rlcr+q
yrwtLT4KPGEgaHJlZj0iaHR0cDovL2ZmLjE2My5jb20vcG9wL2ZmLyIgdGFyZ2V0PSJfYmxh
bmsiPqGkt8m3yaOstdrSu7/uu+G3ybXEzfjTzru2063E+qOhIDwvYT4KPGJyPgo8YSBocmVm
PSJodHRwOi8vd3d3LjEyNi5jb20iIHRhcmdldD0iX2JsYW5rIj6hpDxiPjxmb250IGNvbG9y
PXJlZD4xLjVHPC9mb250PjwvYj7Iq7n61+6087/VvOShqqGqzfjS1zEyNsPit9HTys/kIGh0
dHA6Ly93d3cuMTI2LmNvbSC78MjIx8DXotbQPj4+IDwvYT4KPGJyPgo8IS0txNqyv2Zvb3Rl
cr3hyvgtLT4KPC9mb250Pg==
--Boundary-=_rVFlQMBfFXLybrrzSUqxOAQKKBIu--

--===============0079976203227254405==
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

--===============0079976203227254405==--
