AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.03.14 05:41 "Handling TIFF 'files' in memory", by
2002.03.14 10:37 "Re: Handling TIFF 'files' in memory", by Antonio E. Scuri
2002.03.14 11:50 "Re: Handling TIFF 'files' in memory", by Michael Still
2002.03.20 13:05 "Re: Handling TIFF 'files' in memory", by Jon Saxton

2002.03.14 11:50 "Re: Handling TIFF 'files' in memory", by Michael Still

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