2015.12.16 11:41 "[Tiff] using TIFFReadCustomDirectory() dynamically", by Mat Maher

Hi all,

Can anyone advise if its possible to read a private IFD (using TIFFReadCustomDirectory or other) without knowing in-advance what the fields may be?

To explain further, I'm writing converters between a bespoke image stream and TIFF. Unfortunately the metadata in the bespoke stream can be a little inconsistent, hence I've written a dynamic IFD-writer to accommodate this, but got stumped with the TIFF reader: which expects a completed TIFFFieldArray before parsing: something I don't necessarily know in advance.

Any ideas?

Cheers

Mat

This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.