AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.01.10 19:03 "[Tiff] LibTiff..Reading partial strips", by Nikhil Shirahatti
2008.01.10 21:33 "Re: [Tiff] LibTiff..Reading partial strips", by Bob Friesenhahn
2008.01.10 21:40 "Re: [Tiff] LibTiff..Reading partial strips", by Nikhil Shirahatti
2008.01.10 22:01 "Re: [Tiff] LibTiff..Reading partial strips", by Bob Friesenhahn
2008.01.11 07:35 "Re: [Tiff] LibTiff..Reading partial strips", by
2008.01.10 22:08 "Re: [Tiff] LibTiff..Reading partial strips", by Frank Warmerdam
2008.01.10 22:48 "Re: [Tiff] LibTiff..Reading partial strips", by Nikhil Shirahatti
2008.01.10 23:04 "Re: [Tiff] LibTiff..Reading partial strips", by Nikhil Shirahatti
2008.01.11 00:59 "Re: [Tiff] LibTiff..Reading partial strips", by Bob Friesenhahn
2008.01.11 07:40 "Re: [Tiff] LibTiff..Reading partial strips", by
2008.01.11 18:01 "[Tiff] Scanline access in libtiff", by Richard Nolde
2008.01.12 09:32 "Re: [Tiff] Scanline access in libtiff", by

2008.01.10 19:03 "[Tiff] LibTiff..Reading partial strips", by Nikhil Shirahatti

Hello All,

This is the problem I' trying to solve:

to read a strip but not a whole strip but only part of it...reason: some of the strips we deal with are huge(long) and hence by having the ability to break them down and process them allows me to parallel process. I hope to break them down to a mxn (no. rows x length) and store them as my data structure (called tiles - different from the tiff tiles).

What I have tried:

I have tried hacking the TIFFReadRGBAStrip() ..which involved changing the gtStripContig()

so I have a gtStripContigWithOffsets(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h, uint32 wOffset /*= 0*/, uint32 hOffset /*= 0*/) but before I paste code and ask for scrutiny....

was wondering if someone else out there has tried it?

Also, if someone has successfully streamed a tiff file and could point me in the right direction that would be helpful.

I am using c#. and the libtiff has a managed wrapper.

Cheers,
Nikhil

--
-----------------------------------------------------------------
Nikhil V Shirahatti
http://vision.cs.arizona.edu/nvs