AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.06.16 08:56 "[Tiff] Split one single strip into multiple strips in a single Tiff file", by Rob Eisink
2008.06.16 18:57 "RE: [Tiff] Split one single strip into multiple strips in a single Tifffile", by Chris Cox
2008.06.17 07:53 "RE: [Tiff] Split one single strip into multiple strips in a single Tifffile", by Rob Eisink
2008.06.17 11:45 "Re: [Tiff] Split one single strip into multiple strips in a single Tifffile", by Andrey Kiselev
2008.07.24 15:45 "RE: [Tiff] Converting from Jpeg compressed Tiff", by Argo Abramian
2008.07.23 23:05 "[Tiff] Converting from Jpeg compressed Tiff", by Argo Abramian
2008.07.23 23:23 "Re: [Tiff] Converting from Jpeg compressed Tiff", by Chris Cox
2008.07.24 01:09 "Re: [Tiff] Converting from Jpeg compressed Tiff", by Bob Friesenhahn
2008.07.24 16:48 "RE: [Tiff] Converting from Jpeg compressed Tiff", by Bob Friesenhahn
2008.07.25 13:15 "Re: [Tiff] Converting from Jpeg compressed Tiff", by
2008.07.24 19:19 "Re: [Tiff] Converting from Jpeg compressed Tiff", by Chris Cox
2008.07.25 04:25 "RE: [Tiff] Converting from Jpeg compressed Tiff", by Grissom, Ed

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.