AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2007.06.29 18:24 "[Tiff] Writing TIFF to a buffer", by Mark Cassidy

Hi all,

I am writing a small app that will convert bitmap image data into TIFF, and I have a question.

Instead of having LibTiff write to FILE for each scanline and directory write request (TIFFWriteScanline and TIFFWriteDirectory respectively), I would like for it to write to an existing allocated buffer. Is there a simple way to do this that I'm missing?

Any insight/help would be appreciated.

Mark