2007.01.04 17:51 "[Tiff] Access to bare libtiff codecs?", by John Aldridge
We've got a requirement to create (from an array of bits) a CCITT Group 3 or 4 encoded data stream which is /not/ wrapped up in a TIFF file, and I wondered whether libtiff (which we already use for other reasons) could do this.
We could, I think, do this by creating a temporary TIFF file of the right format, calling TIFFWriteEncodedStrip to encode the data, and then calling TIFFReadRawStrip to get the encoded data back, but is there an easier way?
I've failed to find anything obvious following a quick perusal of the documentation & source code, so if this is possible I'd welcome a pointer or two to the places to look!