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 15:58 "Re: [Tiff] Tiff with varying bit depths", by Bob Friesenhahn

Obviously, the library does not support this, but what are my options if I need to read this file? I'm not too keen to write a tiff-parser myself, unless I really really have to - and - I afraid - I really really have to read this file in one way or another.

I would focus on updating the tags in the file so that the image looks like a normal single-component 16-bit min-is-black grayscale image. Then libtiff should be able to open it, and you can extract the actual components yourself.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/