Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (ak4719.spb.edu [127.0.0.1])
	by ak4719.spb.edu (8.12.1/8.12.1/Debian -5) with ESMTP id h5Q7pFwe013007
	for <dron@localhost>; Thu, 26 Jun 2003 11:59:02 +0400
Received: from pop.in02.prd.whowhere.com [209.202.220.196]
	by localhost with POP3 (fetchmail-6.2.0)
	for dron@localhost (single-drop); Thu, 26 Jun 2003 11:59:02 +0400 (MSD)
Received: from gate7.olympiakos.com ([64.32.199.150]) by whowhere.com; Wed, 25 Jun 2003 12:51:58 -0000
X-Envelope-Sender: owner-tiff@olympiakos.com
Received: by gate7.olympiakos.com (Postfix, from userid 65534)
	id 86A26110C6; Wed, 25 Jun 2003 08:51:45 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
	by gate7.olympiakos.com (Postfix) with SMTP
	id 6689A1109A; Wed, 25 Jun 2003 08:51:45 -0400 (EDT)
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Wed, 25 Jun 2003 08:51:24 -0400
Delivered-To: tiff-outgoing@gate7.olympiakos.com
Received: by gate7.olympiakos.com (Postfix, from userid 16)
	id 9A04E110C3; Wed, 25 Jun 2003 08:51:24 -0400 (EDT)
Delivered-To: tiff@olympiakos.com
Received: from morannon.inpho.de (unknown [217.110.174.123])
	by gate7.olympiakos.com (Postfix) with SMTP id 275E91109A
	for <tiff@olympiakos.com>; Wed, 25 Jun 2003 08:51:23 -0400 (EDT)
Received: (qmail 20745 invoked from network); 25 Jun 2003 12:51:22 -0000
Received: from unknown (HELO sbssales.in.inpho.de) (unknown)
  by unknown with SMTP; 25 Jun 2003 12:51:22 -0000
Subject: RE: Pb with TIFFWriteScanline
Date: Wed, 25 Jun 2003 14:51:22 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----_=_NextPart_001_01C33B18.7AC3D376"
Message-ID: <A72746F94679234294FF2A8DAEC6DA5C01317A@sbssales.in.inpho.de>
X-MS-Has-Attach: yes
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
X-MS-TNEF-Correlator: 
Thread-Topic: Pb with TIFFWriteScanline
Thread-Index: AcM7E52VGUiP6WUZRjaaUhi3qhrqlgABDXng
From: "Rainer Wiesenfarth" <Rainer.Wiesenfarth@inpho.de>
To: "Marine Martin-Guillerez" <marine.mg@wanadoo.fr>, <tiff@olympiakos.com>
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 3655
Lines: 83

This is a multi-part message in MIME format.

------_=_NextPart_001_01C33B18.7AC3D376
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

From: Marine Martin-Guillerez [mailto:marine.mg@wanadoo.fr]
> For writing an image TIFF i use the following code :
> (...)
>     TIFFSetField (ImageDst, TIFFTAG_COMPRESSION, Compress);
>     TIFFSetField (ImageDst, TIFFTAG_PLANARCONFIG, PlanarConf);
>     TIFFWriteDirectory (ImageDst);

Here's the problem: do not call TIFFWriteDirectory() explicitely, as it
writes out the current directory and starts a new one. Commenting out =
this
line should solve your problem.

>     // Ecriture
>     for (y =3D 0; y < FileHeight; y ++)
>      TIFFWriteScanline (ImageDst, BufImage, y);
> (...)

- --
- -- -----------------------------------------------------------------
- -- Dipl.-Inform. Rainer Wiesenfarth
- -- Inpho GmbH                    E-mail: Rainer.Wiesenfarth@Inpho.de
- -- Smaragdweg 1                  Phone : +49 711 22881-10
- -- 70174 Stuttgart               Fax   : +49 711 22881-11
- -- Germany                       URL   : http://www.inpho.de

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBPvmaylAwQIMgoAFnEQJicwCeIHqmSbXrsZYiSOH4Iog3CE8m8Y4An3HG
W8X2Zxc9X50qzVGkXcH8/imw
=3DEcwI
-----END PGP SIGNATURE-----


------_=_NextPart_001_01C33B18.7AC3D376
Content-Type: application/octet-stream;
	name="PGPexch.htm.asc"
Content-Transfer-Enco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pNQUlWWlRFQ0ZCS05oVENTcHhs
ajRCTXBMamE0WmhyRytUR3VWNzhYVEJXUG1mVVJVaXhMbQ0KdzVxZEltckdLcGZOdS9YMlo0MUJ6
eGxhbzVFOTZPZHdENktwSkhHOHZubHUvcHh1dlY4ZklzZGFkanNIRHNNTQ0KUzl6NnlTdTZ6S2pX
cEpLTWtjUHoveDJmTUZzeG5ZWFU2U0JGM291enZabEtzY2NJRXNrWHdJV0NzY2ZZQXZOcg0KNjBE
MnA0eU9jWkxOYytERlFGVzI4U1FHTVZPWnJmRk1TcXhMOEk5QmVkeUhXQ0UzWS9DQWt3UUVzaXpO
ZVlSNg0KS1NFT2x0SVkwbnFCT0JRenpHRXMyRzBDY3pHVFIvQ013NUJlRk5DWnlUSk5zTWFJZENi
SlN5Y2NDeExXNWxDRg0KL0NiTVlaV2x6S2VNZEFnTlFwVk9iV3k4TkdGUDcrbFIrempKcGUzWkpQ
dkl3WHc1YlU3Vno0dVNwdXRuR2NMKw0KcEwvcXM4UitrMDZab2RzODdYWUdETEh4WWIvZHBTUW1m
SUtjQ1pjc3QvazBGTkNPOWpwblovWThSckQwdEhXVw0KRDFFYkoxQnZaYmdNbnl5QlA4S202d1Yr
UWdJb3ZDYlFUb2oxQjJYWXVIb0RTb1VDRkl2WHJ4ZjBRbjRKMGxLKw0KVUxvS0l6VlRLc0FJendW
YXk5dC81dnM1a0lVbElOc0VqMHcrZi8xVVdCRE16ckI3S3BqajB6aFVhbG8yelNSSg0KREhySUU2
MjJZREk5ZlordllQUG8rbUJtbDZUL0FBPT0NCj0zTjJuDQotLS0tLUVORCBQR1AgTUVTU0FHRS0t
LS0tDQo=

------_=_NextPart_001_01C33B18.7AC3D376--

To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

