2011.09.16 22:53 "[Tiff] Write Exif data to Tiff file", by DonM

2011.09.27 14:03 "Re: [Tiff] Write Exif data to Tiff file", by Andreas Kleinert

I would like to write Exif data (such as exposure time) to a tiff file I am creating. Is this possible with libtiff, and if so is there any information or examples on how to do it?

Would it be appropriate to post this as a bug/enhancement request to the bugzilla list? Is there anyone who might consider it, is there any development work happening with libtiff?

The problem with EXIF essentially is, that it originally was meant as replacement for IJG-JFIF - i.e. a TIFF file with JPEG content and a number of additional tags (including one being a thumbnail preview in some other size/format).

This means, intending to incorporate JPEG into TIFF and make it the standard.

Now, that didn't work. JPEG in form of IJG-JFIF became the de-facto standard.

Then someone decided to nevertheless insert EXIF tags into JFIF files, using the available App markers. Due to limitations of the JFIF file format (64k-chunk-oriented) this resulted in a stripped EXIF format, with only a thumbnail but no image (and no pointer to the real image).

So, if nowadays someone wants to do either of the following...

He'll run into numerous issues. Some being:

There are (partial) solutions for that (and I did one myself) but if you try to add that entirely to the libtiff API, it's a bit like the box of pandora being opened. If you only add part of it, however, I'm still sure this won't make the box shut anymore ;-)

Best Regards,
Andreas (author of SView5)