Skip to content

Reading error for FileSource and SceneType tags corrected.

Su Laus requested to merge (removed):FILESOURCE_SCENETYPE_reading into master

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.

Merge request reports