Skip to content

Commit

Permalink
Merge pull request #2788 from backface/master
Browse files Browse the repository at this point in the history
Fix/Harmonize inconsistent Tag names that lead to reporting wrong dates.
  • Loading branch information
splitbrain committed Jun 19, 2019
2 parents 0a68cd0 + 5d00293 commit 11dc788
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/JpegMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2699,8 +2699,8 @@ function _exifTagNames($mode) {
$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';
Expand Down Expand Up @@ -2849,8 +2849,8 @@ function _exifTagTypes($mode) {
$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
Expand Down

0 comments on commit 11dc788

Please sign in to comment.