2005.03.15 17:56 "[Tiff] Need to write CCITT T.6 encoded TIFF file data directly to memory buffer", by Roger Watkins

2005.03.16 22:04 "Re: [Tiff] Need to write CCITT T.6 encoded TIFF file data directlytomemory buffer", by Roger Watkins

Joris,

Let's see if I understand this... The application interface simply calls the top-level functions, which are configured by TIFFClientOpen() to use the proper I/O interface routines for the type of computer and I/O (stream, file, buffer) called for. Once thus configured, and with the platform independent autoconfiguration of the CODECs that occurs during opening of the TIFF itself, TIFFReadEncodedStrip() and TIFFWriteEncodedStrip() know where and how to process the data provided. As a result, to do my TStream interface, I need only write TIFFStreamReadProc(), TIFFStreamWriteProc(), TIFFStreamSeekProc(), TIFFStreamCloseProc(), TIFFStreamSizeProc(), TIFFNoMapProc(), and TIFFNoUnmapProc() and a TIFFOpenStream() that calls TIFFClientOpen() and passes it these function addresses.

One remaining question, to which I know the answer is yes, but I need to know where to look for information: Where do I find specifications or requirements for writing these routines for which pointers are passed in TIFFClientOpen()?

Thanks! You have greatly enlightened me as to the structure and inner workings of libTIFF!!

Roger Watkins