AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2010.05.11 15:32 "Tiff with varying bit depths", by Thomas Richter
2010.05.11 15:49 "Re: Tiff with varying bit depths", by Frank Warmerdam
2010.05.11 16:02 "Re: Tiff with varying bit depths", by Thomas Richter
2010.05.11 16:31 "Re: Tiff with varying bit depths", by Scott Ribe
2010.05.11 16:52 "Re: Tiff with varying bit depths", by Igor Skochinsky
2010.05.11 16:58 "Re: Tiff with varying bit depths", by Scott Ribe
2010.05.11 19:19 "Re: Tiff with varying bit depths", by Thomas Richter
2010.05.11 15:58 "Re: Tiff with varying bit depths", by Bob Friesenhahn
2010.05.11 20:16 "Re: Tiff with varying bit depths", by Joris Van Damme
2010.05.11 20:22 "Re: Tiff with varying bit depths", by Thomas Richter
2010.05.11 21:33 "Re: Tiff with varying bit depths", by Joris Van Damme

2010.05.11 16:52 "Re: 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.
>
> --
> 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