Received: from sgi.sgi.com (192.48.153.1) by cerious.com
 with SMTP (Apple Internet Mail Server 1.1.1); Thu, 9 Jan 1997 14:03:55 -0500
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by sgi.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id KAA05208; Thu, 9 Jan 1997 10:57:28 -0800
Received: (from daemon@localhost) by cthulhu.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF) id RAA17466 for tiff-list; Thu, 9 Jan 1997 17:31:36 GMT
Received: from sgi.sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF) via ESMTP id JAA17459 for <tiff-relay@relay.engr.sgi.com>; Thu, 9 Jan 1997 09:31:35 -0800
Received: from smtp (smtp.geiohio.com [38.248.200.2]) by sgi.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id JAA14234 for <tiff@sgi.com>; Thu, 9 Jan 1997 09:31:31 -0800
From: dprab@GEIOHIO.COM
Message-Id: <199701091731.JAA14234@sgi.sgi.com>
Date: Thu, 9 Jan 1997 12:26:08 -0500
To: tiff@sgi.com, chuck@mathworks.com
Subject: libtiff to write EPS preview -Reply
MIME-version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Mailer: TFS Gateway /220000000/220050121/220000609/220080464/
Sender: owner-tiff@relay.engr.SGI.COM
Precedence: bulk

HI

I've used the TIFF library successfully to write EPS with TIFF preview.
First write out the 30 byte header leaving the TIFF position and size
blank.  Write out the EPS and close the file.  Now open the file again with
the TIFF library and start writing the TIFF at the end of the file.  Record
the start position and end position of the TIFF to fill into the 30 byte
header. You might have to make some changes with the TIFF library and
using the 'a' option when opening the file.

Deepa
