AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.01.04 17:51 "[Tiff] Access to bare libtiff codecs?", by John Aldridge
2007.01.04 18:02 "Re: [Tiff] Access to bare libtiff codecs?", by Lee Howard
2007.01.04 18:56 "Re: [Tiff] Access to bare libtiff codecs?", by Edward Lam
2007.01.04 18:44 "Re: [Tiff] Access to bare libtiff codecs?", by Joris
2007.01.05 15:42 "Re: [Tiff] Access to bare libtiff codecs?", by Andy Cave
2007.01.05 16:06 "Re: [Tiff] Access to bare libtiff codecs?", by John Aldridge

2007.01.04 17:51 "[Tiff] Access to bare libtiff codecs?", by John Aldridge

Hi, all,

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!

--
Thanks,

John