AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.06.28 09:09 "[Tiff] Simpler interface than strip-oriented interface", by Katrina Maramba
2005.06.28 14:20 "Re: [Tiff] Simpler interface than strip-oriented interface", by Bob Friesenhahn
2005.08.15 01:14 "[Tiff] Re: Question on TIFF images with large stripbytecounts", by Katrina Maramba
2005.08.15 01:15 "[Tiff] TIFF Thumbnail", by Katrina Maramba
2005.08.15 02:19 "Re: [Tiff] TIFF Thumbnail", by Joris Van Damme
2005.08.15 14:41 "RE: [Tiff] TIFF Thumbnail", by Ed Grissom
2005.08.15 23:15 "Re: [Tiff] TIFF Thumbnail", by Joris Van Damme
2005.08.19 08:06 "Re: [Tiff] TIFF Thumbnail", by Katrina Maramba
2005.08.19 08:27 "Re: [Tiff] TIFF Thumbnail", by Joris Van Damme
2005.08.24 04:59 "Re: [Tiff] TIFF Thumbnail", by Katrina Maramba
2005.08.24 10:10 "Re: [Tiff] TIFF Thumbnail", by Joris Van Damme

2005.06.28 09:09 "[Tiff] Simpler interface than strip-oriented interface", by Katrina Maramba

Good day eveyone,

I am currently coding an interface to Libtiff which would convert a strip of the tiff image to RGB format. I am using the TIFFReadRGBAStrip API. This works perfectly fine until I find images with only 1 strip and very, very large stripbytecounts (like 4mb or 6mb). I would then have to keep a buffer with this size (4 or 6 mb)since the API needs the whole strip to be passed to it. This is very hard for me since we only have a limited amount of memory.

Is there another way to parse the image?? Im looking for an interface that would accept a smaller data size than the strip, if the strip is too large.

I also found out about ScanLine but this is not a very reliable interface since it only works if the RowsPerStrip is equal to 1 and if there is no compression. My understanding is correct, am I right?

Hope somebody can get me out of my misery, :)

Thanks a lot,
Katrina