2002.03.14 05:41 "Handling TIFF 'files' in memory", by Tim Josling

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

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