| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2010.05.11 16:52 "Re: Tiff with varying bit depths", by Igor SkochinskyHi 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. > > -- > Scott Ribe > scott_ribe@elevated-dev.com > http://www.elevated-dev.com/ > (303) 722-0567 voice > > > > > _______________________________________________ > Tiff mailing list: Tiff@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/tiff > http://www.remotesensing.org/libtiff/ > -- WBR, Igor |
|||||||