Return-Path: <owner-tiff@olympiakos.com>
Received: from gate7.olympiakos.com ([64.32.199.150] verified)
  by cerious.com (CommuniGate Pro SMTP 3.5.7)
  with ESMTP id 707869 for pcrews@cerious.com; Wed, 15 Jan 2003 15:12:25 -0500
Received: by gate7.olympiakos.com (Postfix, from userid 65534)
	id 29983110B4; Wed, 15 Jan 2003 15:12:17 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
	by gate7.olympiakos.com (Postfix) with SMTP
	id 18A9F110B2; Wed, 15 Jan 2003 15:12:17 -0500 (EST)
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Wed, 15 Jan 2003 15:11:46 -0500
Delivered-To: tiff-outgoing@gate7.olympiakos.com
Received: by gate7.olympiakos.com (Postfix, from userid 16)
	id DEB411109E; Wed, 15 Jan 2003 15:11:45 -0500 (EST)
Delivered-To: tiff@olympiakos.com
Received: from gate.apago.com (64.89.71.154.nw.nuvox.net [64.89.71.154])
	by gate7.olympiakos.com (Postfix) with ESMTP id 8CA7811086
	for <tiff@olympiakos.com>; Wed, 15 Jan 2003 15:11:44 -0500 (EST)
Received: from gate 
	by gate.apago.com (8.11.3/gate/01-06-97)
	id h0FKBgc26186; Wed, 15 Jan 2003 20:11:42 GMT
SMTP-Relay: gate
Date: Wed, 15 Jan 2003 15:11:42 -0500 (EST)
From: Dwight Kelly <dkelly@apago.com>
To: scott <scott@ippsoftware.com>
Cc: TIFF <tiff@olympiakos.com>
Subject: Re: IFD Location
In-Reply-To: <3E25AB68.9020705@ippsoftware.com>
Message-ID: <Pine.LNX.4.21.0301151510100.25449-100000@gate.apago.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-tiff@olympiakos.com
Precedence: bulk

On Wed, 15 Jan 2003, scott wrote:

> I'm building a TIF with LIBTIFF, and it places the directory after the 
> strip.  I'd like to
> place it in the front of the file (behind the header).
> I'm basically doing this:
> TIFOpen ()
> TIFCreateDirectory ()
> TIFSetField ()
> TIFSetField ()
> ...
> loop -   TIFWriteScanLine ()
> TIFClose ()

remove TIFFCreateDirectory() and put TIFFWriteDirectory() before
first TIFFWriteScanline() call.

TIFFOpen ()
TIFFSetField ()
TIFFSetField ()
TIFFWriteDirectory()
...
loop -   TIFFWriteScanLine ()
TIFFClose ()

-- 
Dwight Kelly
Apago, Inc.  4080 McGinnis Ferry Rd  Suite 601 Alpharetta, GA 30005
voice:(770) 619-1884  fax:(770) 619-1885
email: dkelly@apago.com web: http://www.apago.com

Download a free evaluation copy of the award winning PDF/X Checkup. Version
2.52 includes many new features including PDF/X Plus workflow checks! Free 
upgrade to registered users. http://www.apago.com/pdfxcheckup



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