2016.11.12 20:16 "[Tiff] Libtiff 4.0.7 release pending ...", by Bob Friesenhahn

2016.11.21 19:54 "Re: [Tiff] 12 bit byte format", by Bob Friesenhahn

TIFFTAG_BITSPERSAMPLE equals 12

TIFFTAG_SAMPLESPERPIXEL equals 3

I guess there is no standard format for 12 bit, in terms of bits on disk.

The above seems to be the standard to me.

Since you are likely doing DCI related things, the 12-bits in 16-bits issue comes up because the original sample scans were done this way (on a Filmlight) because TIFF decoders for 12-bits were rare and because they did not trust that DPX readers would support 12-bits. Because of this, the original JPEG 2000 encoders targeting DCI were implemented for this form of input.

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