2016.09.19 16:29 "[Tiff] Accuracy of TIFF Field metadata (COLORMAP)", by

2016.11.14 23:39 "Re: [Tiff] Right way to make a multi-resolution pyramid", by Paavo Helde

On 15.11.2016 0:02, Roger Leigh wrote:

This use of multiple IFDs doesn't work with multi-dimensional images though, for that I can see SUBIFDs would work much better. This is one thing I've been unsure of how to make use of with the libtiff API though. How to you create the subifd to be able to add it to the tag, without it being in the main list of IFDs? And can you write them out from largest to smallest? Or do you need to write the smaller images first so you can reference them in the larger ones?

In my experience there is often an XML string stored in the first frame of the TIFF which provides more detailed information and auxiliary data for the TIFF frames, in a cumbersome proprietary format of course. The XML would describe for example that N first frames are full-res images, taken with such-and-such laser wavelengths etc, the next N frames are 2x reduced duplicates, etc.

As a bonus, this trick will make the data look much more professional! Anything which does not contain an embedded 800 MB XML is probably not deemed to be enterprisy enough ;-)

Cheers
Paavo