2010.05.11 15:32 "[Tiff] Tiff with varying bit depths", by Thomas Richter
- 2010.05.11 15:49 "Re: [Tiff] Tiff with varying bit depths", by Frank Warmerdam
- 2010.05.11 15:58 "Re: [Tiff] Tiff with varying bit depths", by Bob Friesenhahn
2010.05.11 16:52 "Re: [Tiff] Tiff with varying bit depths", by Igor Skochinsky
Hi Scott,
The values make perfect sense to me.
The image is 64x64 pixels, each pixel is 16 bits, so the strip size is 64*64*2 = 8192 bytes. Pixel data is split into three samples: 5, 6, and 5 bits for R, G and B.
Thomas,
Can you debug TIFFOpen() it and see which check fails? I expect that if you patch it, you should be able to use TIFFReadRawStrip() or maybe even TIFFReadEncodedStrip().
On Tue, May 11, 2010 at 18:31, Scott Ribe <scott_ribe@killerbytes.com> wrote:
Look at the various tag values, they don't make sense: ImageLength, BitsPerSample, SamplesPerPixel, RowsPerStrip, StripByteCounts.
I expect you'd really have to patch up the directory to have any hope of reading this file.
--
WBR, Igor