AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.07.30 17:41 "[Tiff] TIFFClientOpen required functions", by Brandon Low
2004.07.30 18:56 "Re: [Tiff] TIFFClientOpen required functions", by Andrey Kiselev
2004.07.30 22:33 "Re: [Tiff] TIFFClientOpen required functions", by Brandon Low
2004.07.31 00:41 "Re: [Tiff] TIFFClientOpen required functions", by Joris
2004.07.31 05:04 "Re: [Tiff] TIFFClientOpen required functions", by Brandon Low
2004.07.31 10:51 "Re: [Tiff] TIFFClientOpen required functions", by Joris

2004.07.30 17:41 "[Tiff] TIFFClientOpen required functions", by Brandon Low

I hope I don't just get an RTFS for this, because I've been RTFSing all day and not been able to tell for certain the answer to my question.

I'm working with another imaging package to manipulate my TIFF images, and the result of this is a chunk of CCITTG4 image data who's properties I know (width, resolution, etc.), but which I have no easy way to decompress. I was advised to use TIFFClientOpen to trick libtiff into decompressing my data and returning it through TIFFReadScanline. What I need to know now is: if I don't have a seekproc or a writeproc for my fake tiff file, will TIFFReadScanLine work, or do I need to create some version of everyi one of the arguments of TIFFClientOpen in order to use TIFFReadScanline.

Due to the nature of my application, I'm trying hard to avoid writing to temporary files, so simply writing to a temporary file and using the standard read/write/seek/whatever procs doesn't work for me.

Thanks much,

Brandon Low