2016.02.04 07:16 "[Tiff] Image data layout", by Maximilian Heinzler

2016.02.04 19:57 "RE: [Tiff] Image data layout", by Maximilian Heinzler

On Do, Feb 04, 2016 at 15:42:18, Bob Friesenhahn wrote:

Yes, the convention is to only swap "native" word sizes, as well as 24-bit (because of an Adobe draft tech note about 16/24 bit float) sizes. For other sizes, the data is packed into contiguous natural "big-endian" order.

Ok, I already thought that this is more of "by convention" rather than "by definition". The swapping of the 128 bits still confuses me, but I guess I will just use a workaround to handle this.

You can find various image collections that I created with GraphicsMagick (and a few others) available for ftp from

   ftp://ftp.graphicsmagick.org/pub/tiff-samples/

These exercise a great many permutations, most of which are not used in the real world.

There is no assurance that these are correct, but I think that they are.

Wow, these were great for testing. After I adjusted the code for the 24-bit floats, I was able to display them all correctly. They also reflect what I learned from all the test images I collected, so I would agree that they are correct.

Thank you, this has been a big help!