Merge pull request #2788 from backface/master

Fix/Harmonize inconsistent Tag names that lead to reporting wrong dates.
This commit is contained in:
Andreas Gohr 2019-06-19 18:16:03 +02:00 committed by GitHub
commit 11dc788e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -2699,8 +2699,8 @@ class JpegMeta {
$tags[0x8827] = 'ISOSpeedRatings';
$tags[0x8828] = 'OECF';
$tags[0x9000] = 'EXIFVersion';
$tags[0x9003] = 'DatetimeOriginal';
$tags[0x9004] = 'DatetimeDigitized';
$tags[0x9003] = 'DateTimeOriginal';
$tags[0x9004] = 'DateTimeDigitized';
$tags[0x9101] = 'ComponentsConfiguration';
$tags[0x9102] = 'CompressedBitsPerPixel';
$tags[0x9201] = 'ShutterSpeedValue';
@ -2849,8 +2849,8 @@ class JpegMeta {
$tags[0x8827] = array(3, 0); // ISOSpeedRatings -> SHORT, Any
$tags[0x8828] = array(7, 0); // OECF -> UNDEFINED, Any
$tags[0x9000] = array(7, 4); // EXIFVersion -> UNDEFINED, 4
$tags[0x9003] = array(2, 20); // DatetimeOriginal -> ASCII, 20
$tags[0x9004] = array(2, 20); // DatetimeDigitized -> ASCII, 20
$tags[0x9003] = array(2, 20); // DateTimeOriginal -> ASCII, 20
$tags[0x9004] = array(2, 20); // DateTimeDigitized -> ASCII, 20
$tags[0x9101] = array(7, 4); // ComponentsConfiguration -> UNDEFINED, 4
$tags[0x9102] = array(5, 1); // CompressedBitsPerPixel -> RATIONAL, 1
$tags[0x9201] = array(10, 1); // ShutterSpeedValue -> SRATIONAL, 1