Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.0.Beta7/8.12.0.Beta7) with ESMTP id f7E9pxNR022192
	for <dron@localhost>; Tue, 14 Aug 2001 14:23:48 +0400
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.8.1)
	for dron@localhost (single-drop); Tue, 14 Aug 2001 14:23:48 +0400 (MSD)
Received: from gate7.olympiakos.com ([207.176.88.85]) by shared1-mail.whowhere.com; Mon Aug 13 14:43:16 2001
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id RAA03787;
	Mon, 13 Aug 2001 17:20:34 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Mon, 13 Aug 2001 17:07:34 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id RAA03673
	for tiff-outgoing; Mon, 13 Aug 2001 17:07:34 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from firewall.objectworld.com (firewall.objectworld.com [199.71.115.146])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id RAA03670
	for <tiff@olympiakos.com>; Mon, 13 Aug 2001 17:07:22 -0400
Received: from prothos.objectworld.com (prothos.objectworld.com [192.168.1.39])
	by firewall.objectworld.com (8.10.2/8.10.2) with ESMTP id f7DL79V15822
	for <tiff@olympiakos.com>; Mon, 13 Aug 2001 17:07:09 -0400
Received: by prothos.objectworld.com with Internet Mail Service (5.5.2650.21)
	id <PSDFCSZW>; Mon, 13 Aug 2001 17:11:03 -0400
Message-ID: <C1F2E3D558F5D4119D850001032B58CD11CD1D@prothos.objectworld.com>
From: Christopher Richard <crichard@ObjectWorld.com>
To: "'tiff@olympiakos.com'" <tiff@olympiakos.com>
Subject: TIFFWriteDirectory
Date: Mon, 13 Aug 2001 17:11:02 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-tiff@olympiakos.com
Status: RO
Content-Length: 732
Lines: 15

Hi,

I'm trying to adjust the page number tags on a TIFF file after adding a
directory to the file. I'm not sure if I can do what I'm trying to do but
basically I've opened the file in append mode, then moved to the directories
that I want to update and use TIFFSetField on them. The thing is I think I'm
supposed to call TIFFWriteDirectory before moving on to the next directory
but in the libtiff documentation it mentions that TIFFWriteDirectory write
the current directory and creates a new one? I don't need it to make a new
directory, I just need to move through each directory and add one to the
total number of pages tag as a result of adding a directory onto the end.

Does anyone have experience with this?

Chris Richard

