AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2001.12.12 20:23 "jpeg in tiff problem", by Eric Hamrick
2001.12.13 02:03 "Re: jpeg in tiff problem", by Frank Warmerdam
2001.12.14 01:42 "Re: jpeg in tiff problem", by Tom Lane
2001.12.14 14:00 "Re: jpeg in tiff problem", by Eric Hamrick
2001.12.14 14:23 "Re: jpeg in tiff problem", by Frank Warmerdam

2001.12.14 14:00 "Re: jpeg in tiff problem", by Eric Hamrick

Hi,

The TifStripSize(tif) is reporting 1402500 and this was what I was allocating for the buffer I'm passing to TIFFReadEncodedStrip. I increased the memory being allocated 100x and the function passed without crashing this time through. However the image I received was barely discernable but I could tell what it was supposed to be and also 1/4 of its right half was black. TIFFReadEncodedStrip should only be returning the RGB values, correct?

Eric Hamrick


Editor's note: This mail was not originally archived, and has been reconstructed from quotes.