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.1/8.12.1/Debian -5) with ESMTP id g2EDPLeD016886
	for <dron@localhost>; Thu, 14 Mar 2002 16:26:39 +0300
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.9.0)
	for dron@localhost (single-drop); Thu, 14 Mar 2002 16:26:39 +0300 (MSK)
Received: from gate7.olympiakos.com ([64.32.199.150]) by shared1-mail.whowhere.com; Thu Mar 14 05:24:31 2002
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id HAA26147;
	Thu, 14 Mar 2002 07:12:01 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Thu, 14 Mar 2002 07:10:13 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id HAA26131
	for tiff-outgoing; Thu, 14 Mar 2002 07:10:12 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from mta01bw.bigpond.com (mta01bw.bigpond.com [139.134.6.78])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id HAA26128
	for <tiff@olympiakos.com>; Thu, 14 Mar 2002 07:10:11 -0500
Received: from localhost.localdomain ([144.135.24.75]) by
          mta01bw.bigpond.com (Netscape Messaging Server 4.15) with SMTP
          id GSYPSN00.0MT; Thu, 14 Mar 2002 22:09:59 +1000 
Received: from CPE-203-51-27-246.nsw.bigpond.net.au ([203.51.27.246]) by bwmam03.mailsvc.email.bigpond.com(MailRouter V3.0i 23/802212); 14 Mar 2002 22:09:59
Received: from localhost (mikal@localhost)
	by localhost.localdomain (8.9.3/8.8.7) with ESMTP id WAA31343;
	Thu, 14 Mar 2002 22:50:18 +1100
Date: Thu, 14 Mar 2002 22:50:18 +1100
From: Michael Still <mikal@stillhq.com>
X-Sender: <mikal@localhost.localdomain>
To: <Tim_Josling@national.com.au>
cc: <tiff@olympiakos.com>
Subject: Re: Handling TIFF 'files' in memory
In-Reply-To: <OFB1C3F3DE.778027B0-ONCA256B7C.001EF01F@au.thenational.com>
Message-ID: <Pine.LNX.4.30.0203142240300.18146-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 765
Lines: 23

On Thu, 14 Mar 2002 Tim_Josling@national.com.au wrote:

> I have a need to create a large number (800,000) of tiff images for loading
> into a database. Is it possible to do this without creating a file per
> image. That is can I create the TIFF images in memory so that I can then
> write them into a file myself?

There are a series of TIFFClient...() calls which implement what you want
to do... Have a look at the TIFFOpen)( manpage for more detail.

If you need an example, have a look at images.c from Panda
(http://www.stillhq.com).

Cheers,
Mikal

-- 

Michael Still (mikal@stillhq.com)     UMT+11hrs


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

