2008.06.16 08:56 "[Tiff] Split one single strip into multiple strips in a single Tiff file", by Rob Eisink

2008.06.17 07:53 "RE: [Tiff] Split one single strip into multiple strips in a single Tifffile", by Rob Eisink

Chris,

Thanks, we use the TIFFReadEncodedStrip when we've determined the stripsize. From the documentation and from the LibTiff sources the interface is such that I can give a size of the data to read but I would expect a pointer back and read from that point on.

What do I miss?

Regards
Rob

-----Oorspronkelijk bericht-----
Van: Chris Cox [mailto:ccox@adobe.com]
Verzonden: maandag 16 juni 2008 20:57

Aan: Rob Eisink; tiff@lists.maptools.org Onderwerp: RE: [Tiff] Split one single strip into multiple strips in a

single Tifffile

Rob;

Just because the file has the entire buffer in one large strip doesn't mean you have to read it all into one large buffer at once. Allocate as large a buffer as you can, and read smaller strips of the file into that.

(how do you think professional programs read in files larger than RAM?)

Chris

-----Original Message-----
From: tiff-bounces@lists.maptools.org on behalf of Rob Eisink
Sent: Mon 6/16/2008 1:56 AM
To: tiff@lists.maptools.org

Subject: [Tiff] Split one single strip into multiple strips in a single Tifffile

some times
we can't allocate enough memory for this singe strip (memory to
fragmented).

Yep, I'm ware of 3 GB address space on Windows NT and 64 bit but

onfortunately we're
Still one Windows 2000.

Thanks
Rob

**** Q.I. Press Controls B.V. ****
Chamber of Commerce: 20113269

The information contained in this e-mail is confidential.

If you are not the intended recipient, you are hereby notified that any disclosure or use of any of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please notify me immediately by e-mail at the address mentioned above.