The source project of this merge request has been removed.
Reading error for FileSource and SceneType tags corrected.
EXIF tags FILESOURCE and SCENETYPE are defined as TIFF_UNDEFINED. However, TiffLib does not read TIFF_UNDEFINED with field_readcount==1!
Adapted test program custom_dir.c (->custom_dir_FILESOURCE.c) shows error messages: TIFFFetchNormalTag: Warning, Incompatible type for "FileSource"; tag ignored. TIFFFetchNormalTag: Warning, Incompatible type for "SceneType"; tag ignored.
Upgrade of TIFFReadDirEntryByte() with added TIFF_UNDEFINED switch-entry allows libtiff to read those tags correctly.