AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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 16:02 "Re: [Tiff] Tiff with varying bit depths", by Thomas Richter
2010.05.11 20:16 "Re: [Tiff] Tiff with varying bit depths", by
2010.05.11 20:22 "Re: [Tiff] Tiff with varying bit depths", by Thomas Richter
2010.05.11 21:33 "Re: [Tiff] Tiff with varying bit depths", by
2010.05.11 16:31 "Re: [Tiff] Tiff with varying bit depths", by Scott Ribe
2010.05.11 16:52 "Re: [Tiff] Tiff with varying bit depths", by Igor Skochinsky
2010.05.11 16:58 "Re: [Tiff] Tiff with varying bit depths", by Scott Ribe
2010.05.11 19:19 "Re: [Tiff] Tiff with varying bit depths", by Thomas Richter
2010.05.11 15:58 "Re: [Tiff] Tiff with varying bit depths", by Bob Friesenhahn

2010.05.11 16:58 "Re: [Tiff] Tiff with varying bit depths", by Scott Ribe

On May 11, 2010, at 10:52 AM, Igor Skochinsky wrote:

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.

Yeah, sorry, I read the tags instead of the values, for ImageWidth (256) and ImageLength (257).

Well, at least if the tags related to image & strip size are consistent, there's a chance of reading it in some reasonable way, without just having to make assumptions about the particular image.

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice