Skip to content

Reading error for FileSource and SceneType tags corrected.

Su Laus requested to merge Su_Laus/libtiff:FILESOURCE_SCENETYPE_reading into master

EXIF tags FILESOURCE and SCENETYPE are defined as TIFF_UNDEFINED and field_readcount==1!
There is a bug in TIFFReadDirEntryByte() preventing to read correctly type TIFF_UNDEFINED fields with field_readcount==1 Upgrade of TIFFReadDirEntryByte() with added TIFF_UNDEFINED switch-entry allows libtiff to read those tags correctly.

Merge request reports