2016.11.21 19:31 "Re: [Tiff] 12 bit byte format", by Bob Friesenhahn
Is this related to the fill order?
Fill order is about the ordering of bits in a byte. If the fill order is wrong, then there is no resemblance to original values.
My understanding is that 12-bits (and any other depth not matching a stored "word" size) should always be stored in big-endian byte order. 16, 24, 32, and 64-bits would be stored in the indicated byte order.
If you are using libtiff, then you will find that libtiff swaps data to native order for 16, 24, 32, and 64-bits, but otherwise not.
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/