AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2014.02.01 20:41 "[Tiff] Bug in exifFields[] for EXIFTAG_GAINCONTROL", by Jürgen_Buchmüller

According to the EXIF specification the gain control is a short value, thus the table entry for EXIFTAG_GAINCONTROL should read:

{ EXIFTAG_GAINCONTROL, 1, 1, TIFF_SHORT, 0, TIFF_SETGET_UINT16, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 1, 0, "GainControl", NULL },

For reference see libexif function exif_entry_fix() at e.g. http://libexif.sourceforge.net/internals/exif-entry_8c-source.html line # 221

Jürgen