exiftool-vendored.exe 13.36.0 → 13.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/bin/exiftool.exe +0 -0
  2. package/bin/exiftool_files/exiftool.pl +1 -1
  3. package/bin/exiftool_files/lib/Image/ExifTool/Audible.pm +1 -1
  4. package/bin/exiftool_files/lib/Image/ExifTool/BMP.pm +1 -1
  5. package/bin/exiftool_files/lib/Image/ExifTool/BuildTagLookup.pm +15 -8
  6. package/bin/exiftool_files/lib/Image/ExifTool/CBOR.pm +1 -1
  7. package/bin/exiftool_files/lib/Image/ExifTool/Canon.pm +59 -5
  8. package/bin/exiftool_files/lib/Image/ExifTool/CanonVRD.pm +1 -1
  9. package/bin/exiftool_files/lib/Image/ExifTool/CaptureOne.pm +1 -1
  10. package/bin/exiftool_files/lib/Image/ExifTool/DJI.pm +5 -5
  11. package/bin/exiftool_files/lib/Image/ExifTool/DV.pm +1 -1
  12. package/bin/exiftool_files/lib/Image/ExifTool/EXE.pm +3 -2
  13. package/bin/exiftool_files/lib/Image/ExifTool/FLIF.pm +1 -1
  14. package/bin/exiftool_files/lib/Image/ExifTool/FLIR.pm +3 -3
  15. package/bin/exiftool_files/lib/Image/ExifTool/FlashPix.pm +1 -1
  16. package/bin/exiftool_files/lib/Image/ExifTool/FujiFilm.pm +5 -4
  17. package/bin/exiftool_files/lib/Image/ExifTool/GIF.pm +1 -1
  18. package/bin/exiftool_files/lib/Image/ExifTool/GM.pm +1 -1
  19. package/bin/exiftool_files/lib/Image/ExifTool/Geolocation.pm +3 -1
  20. package/bin/exiftool_files/lib/Image/ExifTool/Geotag.pm +10 -2
  21. package/bin/exiftool_files/lib/Image/ExifTool/GoPro.pm +5 -5
  22. package/bin/exiftool_files/lib/Image/ExifTool/Google.pm +804 -0
  23. package/bin/exiftool_files/lib/Image/ExifTool/H264.pm +1 -1
  24. package/bin/exiftool_files/lib/Image/ExifTool/ICC_Profile.pm +1 -1
  25. package/bin/exiftool_files/lib/Image/ExifTool/ID3.pm +3 -3
  26. package/bin/exiftool_files/lib/Image/ExifTool/JPEG.pm +1 -1
  27. package/bin/exiftool_files/lib/Image/ExifTool/JSON.pm +1 -1
  28. package/bin/exiftool_files/lib/Image/ExifTool/LIF.pm +1 -1
  29. package/bin/exiftool_files/lib/Image/ExifTool/LNK.pm +2 -2
  30. package/bin/exiftool_files/lib/Image/ExifTool/Lytro.pm +1 -1
  31. package/bin/exiftool_files/lib/Image/ExifTool/M2TS.pm +2 -2
  32. package/bin/exiftool_files/lib/Image/ExifTool/MPEG.pm +1 -1
  33. package/bin/exiftool_files/lib/Image/ExifTool/MWG.pm +1 -1
  34. package/bin/exiftool_files/lib/Image/ExifTool/MXF.pm +1 -1
  35. package/bin/exiftool_files/lib/Image/ExifTool/MacOS.pm +2 -2
  36. package/bin/exiftool_files/lib/Image/ExifTool/MakerNotes.pm +30 -7
  37. package/bin/exiftool_files/lib/Image/ExifTool/Microsoft.pm +4 -4
  38. package/bin/exiftool_files/lib/Image/ExifTool/Nikon.pm +4 -4
  39. package/bin/exiftool_files/lib/Image/ExifTool/OOXML.pm +1 -1
  40. package/bin/exiftool_files/lib/Image/ExifTool/Ogg.pm +1 -1
  41. package/bin/exiftool_files/lib/Image/ExifTool/Olympus.pm +2 -1
  42. package/bin/exiftool_files/lib/Image/ExifTool/Other.pm +1 -1
  43. package/bin/exiftool_files/lib/Image/ExifTool/Panasonic.pm +1 -1
  44. package/bin/exiftool_files/lib/Image/ExifTool/Pentax.pm +18 -7
  45. package/bin/exiftool_files/lib/Image/ExifTool/Protobuf.pm +12 -6
  46. package/bin/exiftool_files/lib/Image/ExifTool/Qualcomm.pm +2 -2
  47. package/bin/exiftool_files/lib/Image/ExifTool/QuickTime.pm +30 -8
  48. package/bin/exiftool_files/lib/Image/ExifTool/README +7 -6
  49. package/bin/exiftool_files/lib/Image/ExifTool/Rawzor.pm +1 -1
  50. package/bin/exiftool_files/lib/Image/ExifTool/Reconyx.pm +375 -91
  51. package/bin/exiftool_files/lib/Image/ExifTool/Samsung.pm +1 -1
  52. package/bin/exiftool_files/lib/Image/ExifTool/Shortcuts.pm +8 -5
  53. package/bin/exiftool_files/lib/Image/ExifTool/Sony.pm +18 -3
  54. package/bin/exiftool_files/lib/Image/ExifTool/TagInfoXML.pm +3 -2
  55. package/bin/exiftool_files/lib/Image/ExifTool/TagLookup.pm +5745 -5695
  56. package/bin/exiftool_files/lib/Image/ExifTool/TagNames.pod +662 -509
  57. package/bin/exiftool_files/lib/Image/ExifTool/Text.pm +1 -1
  58. package/bin/exiftool_files/lib/Image/ExifTool/Trailer.pm +1 -1
  59. package/bin/exiftool_files/lib/Image/ExifTool/WPG.pm +1 -1
  60. package/bin/exiftool_files/lib/Image/ExifTool/WTV.pm +1 -1
  61. package/bin/exiftool_files/lib/Image/ExifTool/XMP.pm +31 -30
  62. package/bin/exiftool_files/lib/Image/ExifTool/XMP2.pl +0 -482
  63. package/bin/exiftool_files/lib/Image/ExifTool/ZIP.pm +1 -1
  64. package/bin/exiftool_files/lib/Image/ExifTool/iWork.pm +1 -1
  65. package/bin/exiftool_files/lib/Image/ExifTool.pm +4 -4
  66. package/bin/exiftool_files/lib/Image/ExifTool.pod +3 -3
  67. package/bin/exiftool_files/windows_exiftool.txt +1 -1
  68. package/package.json +3 -3
package/bin/exiftool.exe CHANGED
Binary file
@@ -11,7 +11,7 @@ use strict;
11
11
  use warnings;
12
12
  require 5.004;
13
13
 
14
- my $version = '13.36';
14
+ my $version = '13.37';
15
15
 
16
16
  $^W = 1; # enable global warnings
17
17
 
@@ -88,7 +88,7 @@ sub ProcessAudible_cvrx($$$);
88
88
  PROCESS_PROC => \&ProcessAudible_cvrx,
89
89
  GROUPS => { 0 => 'QuickTime', 2 => 'Audio' },
90
90
  NOTES => 'Audible cover art information in M4B audio books.',
91
- VARS => { NO_ID => 1 },
91
+ VARS => { ID_FMT => 'none' },
92
92
  CoverArtType => 'CoverArtType',
93
93
  CoverArt => {
94
94
  Name => 'CoverArt',
@@ -234,7 +234,7 @@ my %fixed2_30 = (
234
234
  %Image::ExifTool::BMP::Extra = (
235
235
  GROUPS => { 0 => 'File', 1 => 'File', 2 => 'Image' },
236
236
  NOTES => 'Extra information extracted from some BMP images.',
237
- VARS => { NO_ID => 1 },
237
+ VARS => { ID_FMT => 'none' },
238
238
  LinkedProfileName => { },
239
239
  ICC_Profile => { SubDirectory => { TagTable => 'Image::ExifTool::ICC_Profile::Main' } },
240
240
  EmbeddedJPG => {
@@ -35,7 +35,7 @@ use Image::ExifTool::Sony;
35
35
  use Image::ExifTool::Validate;
36
36
  use Image::ExifTool::MacOS;
37
37
 
38
- $VERSION = '3.62';
38
+ $VERSION = '3.63';
39
39
  @ISA = qw(Exporter);
40
40
 
41
41
  sub NumbersFirst($$);
@@ -109,6 +109,7 @@ my %tweakOrder = (
109
109
  'FujiFilm::RAFData' => 'FujiFilm::RAF',
110
110
  'QuickTime::AudioKeys' => 'QuickTime::Keys',
111
111
  'QuickTime::VideoKeys' => 'QuickTime::AudioKeys',
112
+ 'Google::HDRPText' => 'Google::HDRPlusMakerNote',
112
113
  );
113
114
 
114
115
  # list of all recognized Format strings
@@ -867,15 +868,15 @@ sub new
867
868
  $longID{$tableName} = 0;
868
869
  $longName{$tableName} = 0;
869
870
  # save all tag names
870
- my ($tagID, $binaryTable, $noID, $hexID, $isIPTC, $isXMP);
871
+ my ($tagID, $binaryTable, $noID, $prtID, $isIPTC, $isXMP);
871
872
  $isIPTC = 1 if $writeProc and $writeProc eq \&Image::ExifTool::IPTC::WriteIPTC;
872
873
  # generate flattened tag names for structure fields if this is an XMP table
873
874
  if ($$table{GROUPS} and $$table{GROUPS}{0} eq 'XMP' or $$vars{ADD_FLATTENED}) {
874
875
  Image::ExifTool::XMP::AddFlattenedTags($table);
875
876
  $isXMP = 1;
876
877
  }
877
- $noID = 1 if $isXMP or $short =~ /^(Shortcuts|ASF.*)$/ or $$vars{NO_ID};
878
- $hexID = $$vars{HEX_ID};
878
+ $prtID = $$vars{ID_FMT};
879
+ $noID = 1 if $isXMP or $short =~ /^(Shortcuts|ASF.*)$/ or $prtID and $prtID eq 'none';
879
880
  if ($$table{WRITE_PROC} and $$table{WRITE_PROC} eq \&Image::ExifTool::WriteBinaryData
880
881
  and not $$table{CHECK_PROC})
881
882
  {
@@ -1104,7 +1105,7 @@ TagID: foreach $tagID (@keys) {
1104
1105
  $note = 'NOT a flattened tag!';
1105
1106
  } else {
1106
1107
  # add note about different XMP Tag ID
1107
- $note = $$tagInfo{RootTagInfo} ? $tagID : "called $tagID by the spec";
1108
+ $note = $$tagInfo{RootTagInfo} ? $tagID : "tag ID is '${tagID}'";
1108
1109
  }
1109
1110
  if ($$tagInfo{Notes}) {
1110
1111
  $values[-1] =~ s/^\(/($note; /;
@@ -1492,8 +1493,14 @@ TagID: foreach $tagID (@keys) {
1492
1493
  if ($tagID =~ /^(-)?\d+(\.\d+)?$/) {
1493
1494
  if ($1) {
1494
1495
  $tagIDstr = $tagID;
1495
- } elsif (defined $hexID) {
1496
- $tagIDstr = $hexID ? sprintf('0x%.4x',$tagID) : $tagID;
1496
+ } elsif (defined $prtID) {
1497
+ if ($prtID eq 'hex') {
1498
+ $tagIDstr = sprintf('0x%.4x',$tagID);
1499
+ } elsif ($prtID eq 'str') {
1500
+ $tagIDstr = "'${tagID}'";
1501
+ } else {
1502
+ $tagIDstr = $tagID;
1503
+ }
1497
1504
  } elsif (not $2 and not $binaryTable and not $isIPTC and
1498
1505
  not ($short =~ /^CanonCustom/ and $tagID < 256))
1499
1506
  {
@@ -1911,7 +1918,7 @@ sub SortedTagTableKeys($)
1911
1918
  my $table = shift;
1912
1919
  my $vars = $$table{VARS} || { };
1913
1920
  my @keys = TagTableKeys($table);
1914
- if ($$vars{NO_ID}) {
1921
+ if ($$vars{ID_FMT} and $$vars{ID_FMT} eq 'none') {
1915
1922
  # sort by tag name if ID not shown
1916
1923
  my ($key, %name);
1917
1924
  foreach $key (@keys) {
@@ -62,7 +62,7 @@ my %cborType7 = (
62
62
 
63
63
  %Image::ExifTool::CBOR::Main = (
64
64
  GROUPS => { 0 => 'JUMBF', 1 => 'CBOR', 2 => 'Other' },
65
- VARS => { NO_ID => 1 },
65
+ VARS => { ID_FMT => 'none' },
66
66
  PROCESS_PROC => \&ProcessCBOR,
67
67
  NOTES => q{
68
68
  The tags below are extracted from CBOR (Concise Binary Object
@@ -88,7 +88,7 @@ sub ProcessCTMD($$$);
88
88
  sub ProcessExifInfo($$$);
89
89
  sub SwapWords($);
90
90
 
91
- $VERSION = '4.96';
91
+ $VERSION = '4.97';
92
92
 
93
93
  # Note: Removed 'USM' from 'L' lenses since it is redundant - PH
94
94
  # (or is it? Ref 32 shows 5 non-USM L-type lenses)
@@ -561,7 +561,8 @@ $VERSION = '4.96';
561
561
  4159 => 'Canon EF-M 32mm f/1.4 STM', #42
562
562
  4160 => 'Canon EF-S 35mm f/2.8 Macro IS STM', #42
563
563
  4208 => 'Sigma 56mm f/1.4 DC DN | C or other Sigma Lens', #forum10603
564
- 4208.1 => 'Sigma 30mm F1.4 DC DN | C', #git issue#83 (016)
564
+ 4208.1 => 'Sigma 30mm F1.4 DC DN | C', #github#83 (016)
565
+ 6512 => 'Sigma 12mm F1.4 DC | C', #github#352 (025)
565
566
  # (Nano USM lenses - 0x90xx)
566
567
  36910 => 'Canon EF 70-300mm f/4-5.6 IS II USM', #42
567
568
  36912 => 'Canon EF-S 18-135mm f/3.5-5.6 IS USM', #42
@@ -640,6 +641,7 @@ $VERSION = '4.96';
640
641
  '61182.62' => 'Canon RF 50mm F1.4 L VCM', #42
641
642
  '61182.63' => 'Canon RF 24mm F1.4 L VCM', #42
642
643
  '61182.64' => 'Canon RF 20mm F1.4 L VCM', #42
644
+ '61182.65' => 'Canon RF 85mm F1.4 L VCM', #github350
643
645
  65535 => 'n/a',
644
646
  );
645
647
 
@@ -892,6 +894,7 @@ $VERSION = '4.96';
892
894
 
893
895
  # (see http://cweb.canon.jp/e-support/faq/answer/digitalcamera/10447-1.html for PowerShot/IXUS/IXY names)
894
896
 
897
+ 0x40000227 => 'EOS C50', #github350
895
898
  0x4007d673 => 'DC19/DC21/DC22',
896
899
  0x4007d674 => 'XH A1',
897
900
  0x4007d675 => 'HV10',
@@ -7048,6 +7051,7 @@ my %ciMaxFocal = (
7048
7051
  325 => 'Canon RF 50mm F1.4 L VCM', #42
7049
7052
  326 => 'Canon RF 24mm F1.4 L VCM', #42
7050
7053
  327 => 'Canon RF 20mm F1.4 L VCM', #42
7054
+ 328 => 'Canon RF 85mm F1.4 L VCM', #42/github350
7051
7055
  # Note: add new RF lenses to %canonLensTypes with ID 61182
7052
7056
  },
7053
7057
  },
@@ -9125,7 +9129,7 @@ my %filterConv = (
9125
9129
  RawConv => '$val == 0x7fffffff ? undef : $val',
9126
9130
  },
9127
9131
  7 => { # -4 to 4
9128
- Name => 'Saturation',
9132
+ Name => 'Saturation',
9129
9133
  RawConv => '$val == 0x7fffffff ? undef : $val',
9130
9134
  %Image::ExifTool::Exif::printParameter,
9131
9135
  },
@@ -9175,6 +9179,7 @@ my %filterConv = (
9175
9179
  ValueConvInv => '$val - 1',
9176
9180
  PrintHex => 1,
9177
9181
  PrintConv => {
9182
+ 11 => 'Case A', #KG instead of 'Case 11'. Canon use A for Auto
9178
9183
  0x80000000 => 'n/a',
9179
9184
  OTHER => sub { 'Case ' . shift },
9180
9185
  },
@@ -9184,6 +9189,7 @@ my %filterConv = (
9184
9189
  Name => 'AFTrackingSensitivity',
9185
9190
  PrintHex => 1,
9186
9191
  PrintConv => {
9192
+ 127 => 'Auto', #KG
9187
9193
  0x7fffffff => 'n/a',
9188
9194
  OTHER => sub { shift },
9189
9195
  },
@@ -9193,6 +9199,7 @@ my %filterConv = (
9193
9199
  Description => 'AF Accel/Decel Tracking',
9194
9200
  PrintHex => 1,
9195
9201
  PrintConv => {
9202
+ 127 => 'Auto', #KG
9196
9203
  0x7fffffff => 'n/a',
9197
9204
  OTHER => sub { shift },
9198
9205
  },
@@ -9353,6 +9360,7 @@ my %filterConv = (
9353
9360
  1 => 'People',
9354
9361
  2 => 'Animals',
9355
9362
  3 => 'Vehicles',
9363
+ 4 => 'Auto', #KG (R1, R5m2)
9356
9364
  },
9357
9365
  },
9358
9366
  21 => { #github344 (R6)
@@ -9363,9 +9371,55 @@ my %filterConv = (
9363
9371
  2 => 'Switch Subject',
9364
9372
  },
9365
9373
  },
9366
- 24 => { #forum16068
9374
+ 24 => { #forum16068 #KG extensions for 'left' and 'right'
9367
9375
  Name => 'EyeDetection',
9368
- PrintConv => \%offOn,
9376
+ PrintConv => {
9377
+ 0 => 'Off',
9378
+ 1 => 'Auto',
9379
+ 2 => 'Left Eye',
9380
+ 3 => 'Right Eye',
9381
+ },
9382
+ },
9383
+ # ---------------
9384
+ # Entries 25..31 exist for recent models only (R1, R5m2, ...)
9385
+ # ---------------
9386
+ 26 => { #KG
9387
+ Name => 'WholeAreaTracking',
9388
+ PrintConv => {
9389
+ 0 => 'Off',
9390
+ 1 => 'On',
9391
+ },
9392
+ },
9393
+ 27 => { #KG
9394
+ Name => 'ServoAFCharacteristics',
9395
+ PrintConv => {
9396
+ 0 => 'Case Auto',
9397
+ 1 => 'Case Manual',
9398
+ },
9399
+ },
9400
+ 28 => { #KG
9401
+ Name => 'CaseAutoSetting',
9402
+ PrintConv => {
9403
+ -1 => 'Locked On',
9404
+ 0 => 'Standard',
9405
+ 1 => 'Responsive',
9406
+ 0x7fffffff => 'n/a',
9407
+ },
9408
+ },
9409
+ 29 => { #KG
9410
+ Name => 'ActionPriority',
9411
+ PrintConv => {
9412
+ 0 => 'Off',
9413
+ 1 => 'On',
9414
+ },
9415
+ },
9416
+ 30 => { #KG
9417
+ Name => 'SportEvents',
9418
+ PrintConv => {
9419
+ 0 => 'Soccer',
9420
+ 1 => 'Basketball',
9421
+ 2 => 'Volleyball',
9422
+ }
9369
9423
  },
9370
9424
  );
9371
9425
 
@@ -1004,7 +1004,7 @@ my $blankFooter = "CANON OPTIONAL DATA\0" . ("\0" x 42) . "\xff\xd9";
1004
1004
  WRITABLE => 1,
1005
1005
  PERMANENT => 1, # (can't add/delete these individually)
1006
1006
  GROUPS => { 1 => 'CanonDR4', 2 => 'Image' },
1007
- VARS => { HEX_ID => 1, SORT_PROC => \&SortDR4 },
1007
+ VARS => { ID_FMT => 'hex', SORT_PROC => \&SortDR4 },
1008
1008
  NOTES => q{
1009
1009
  Tags written by Canon DPP version 4 in CanonVRD trailers and DR4 files. Each
1010
1010
  tag has three associated flag words which are stored with the directory
@@ -25,7 +25,7 @@ $VERSION = '1.04';
25
25
  %Image::ExifTool::CaptureOne::Main = (
26
26
  GROUPS => { 0 => 'XML', 1 => 'XML', 2 => 'Image' },
27
27
  PROCESS_PROC => \&Image::ExifTool::XMP::ProcessXMP,
28
- VARS => { NO_ID => 1 },
28
+ VARS => { ID_FMT => 'none' },
29
29
  ColorCorrections => { ValueConv => '\$val' }, # (long list of floating point numbers)
30
30
  );
31
31
 
@@ -140,7 +140,7 @@ my %convFloat2 = (
140
140
  GROUPS => { 0 => 'XMP', 1 => 'XMP-drone-dji', 2 => 'Location' },
141
141
  NAMESPACE => 'drone-dji',
142
142
  TABLE_DESC => 'XMP DJI',
143
- VARS => { NO_ID => 1 },
143
+ VARS => { ID_FMT => 'none' },
144
144
  NOTES => 'XMP tags used by DJI for images from drones.',
145
145
  AbsoluteAltitude => { Writable => 'real' },
146
146
  RelativeAltitude => { Writable => 'real' },
@@ -530,7 +530,7 @@ my %convFloat2 = (
530
530
  %Image::ExifTool::DJI::DroneInfo = (
531
531
  GROUPS => { 0 => 'Protobuf', 1 => 'DJI', 2 => 'Camera' },
532
532
  PROCESS_PROC => \&Image::ExifTool::Protobuf::ProcessProtobuf,
533
- VARS => { HEX_ID => 0, ID_LABEL => 'Field #' },
533
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Field #' },
534
534
  1 => { Name => 'DroneRoll', Format => 'int64s', ValueConv => '$val / 10' },
535
535
  2 => { Name => 'DronePitch', Format => 'int64s', ValueConv => '$val / 10' },
536
536
  3 => { Name => 'DroneYaw', Format => 'int64s', ValueConv => '$val / 10' },
@@ -539,7 +539,7 @@ my %convFloat2 = (
539
539
  %Image::ExifTool::DJI::GimbalInfo = (
540
540
  GROUPS => { 0 => 'Protobuf', 1 => 'DJI', 2 => 'Camera' },
541
541
  PROCESS_PROC => \&Image::ExifTool::Protobuf::ProcessProtobuf,
542
- VARS => { HEX_ID => 0, ID_LABEL => 'Field #' },
542
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Field #' },
543
543
  1 => { Name => 'GimbalPitch',Format => 'int64s', ValueConv => '$val / 10' },
544
544
  2 => { Name => 'GimbalRoll', Format => 'int64s', ValueConv => '$val / 10' }, # usually 0, so missing
545
545
  3 => { Name => 'GimbalYaw', Format => 'int64s', ValueConv => '$val / 10' },
@@ -548,7 +548,7 @@ my %convFloat2 = (
548
548
  %Image::ExifTool::DJI::FrameInfo = (
549
549
  GROUPS => { 0 => 'Protobuf', 1 => 'DJI', 2 => 'Video' },
550
550
  PROCESS_PROC => \&Image::ExifTool::Protobuf::ProcessProtobuf,
551
- VARS => { HEX_ID => 0, ID_LABEL => 'Field #' },
551
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Field #' },
552
552
  1 => { Name => 'FrameWidth', Format => 'unsigned' },
553
553
  2 => { Name => 'FrameHeight', Format => 'unsigned' },
554
554
  3 => { Name => 'FrameRate', Format => 'float' },
@@ -558,7 +558,7 @@ my %convFloat2 = (
558
558
  %Image::ExifTool::DJI::GPSInfo = (
559
559
  GROUPS => { 0 => 'Protobuf', 1 => 'DJI', 2 => 'Location' },
560
560
  PROCESS_PROC => \&Image::ExifTool::Protobuf::ProcessProtobuf,
561
- VARS => { HEX_ID => 0, ID_LABEL => 'Field #' },
561
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Field #' },
562
562
  1 => {
563
563
  Name => 'CoordinateUnits',
564
564
  Format => 'unsigned',
@@ -123,7 +123,7 @@ my @dvTags = (
123
123
  # DV tags
124
124
  %Image::ExifTool::DV::Main = (
125
125
  GROUPS => { 2 => 'Video' },
126
- VARS => { NO_ID => 1 },
126
+ VARS => { ID_FMT => 'none' },
127
127
  NOTES => 'The following tags are extracted from DV videos.',
128
128
  DateTimeOriginal => {
129
129
  Description => 'Date/Time Original',
@@ -22,7 +22,7 @@ use strict;
22
22
  use vars qw($VERSION);
23
23
  use Image::ExifTool qw(:DataAccess :Utils);
24
24
 
25
- $VERSION = '1.23';
25
+ $VERSION = '1.24';
26
26
 
27
27
  sub ProcessPEResources($$);
28
28
  sub ProcessPEVersion($$);
@@ -450,7 +450,7 @@ my %int32uTime = (
450
450
  # (see http://msdn.microsoft.com/en-us/library/aa381049.aspx)
451
451
  %Image::ExifTool::EXE::PEString = (
452
452
  GROUPS => { 2 => 'Other' },
453
- VARS => { NO_ID => 1 },
453
+ VARS => { ID_FMT => 'none' },
454
454
  NOTES => q{
455
455
  Resource strings found in Windows PE files. The B<TagID>'s are not shown
456
456
  because they are the same as the B<Tag Name>. ExifTool will extract any
@@ -985,6 +985,7 @@ sub ProcessPEVersion($$)
985
985
  my $tagTablePtr = GetTagTable('Image::ExifTool::EXE::PEString');
986
986
  for ($index = 0; $pt + 6 < $pos; ++$index) {
987
987
  $len = Get16u($dataPt, $pt);
988
+ $len or $et->Warn('Invalid PEString entry'), last;
988
989
  $valLen = Get16u($dataPt, $pt + 2);
989
990
  # $type = Get16u($dataPt, $pt + 4);
990
991
  my $entryEnd = $pt + $len;
@@ -36,7 +36,7 @@ my %flifMap = (
36
36
  # FLIF tags
37
37
  %Image::ExifTool::FLIF::Main = (
38
38
  GROUPS => { 0 => 'File', 1 => 'File', 2 => 'Image' },
39
- VARS => { HEX_ID => 0 },
39
+ VARS => { ID_FMT => 'dec' },
40
40
  NOTES => q{
41
41
  Information extracted from Free Lossless Image Format files. See
42
42
  L<http://flif.info/> for more information.
@@ -476,7 +476,7 @@ my %float8g = ( Format => 'float', PrintConv => 'sprintf("%.8g",$val)' );
476
476
  GROUPS => { 0 => 'APP1', 2 => 'Image' },
477
477
  PROCESS_PROC => \&ProcessMeasInfo,
478
478
  FORMAT => 'int16u',
479
- VARS => { NO_ID => 1 },
479
+ VARS => { ID_FMT => 'none' },
480
480
  NOTES => q{
481
481
  Tags listed below are only for the first measurement tool, however multiple
482
482
  measurements may be added, and information is extracted for all of them.
@@ -548,7 +548,7 @@ my %float8g = ( Format => 'float', PrintConv => 'sprintf("%.8g",$val)' );
548
548
  %Image::ExifTool::FLIR::TextInfo = (
549
549
  GROUPS => { 0 => 'APP1', 2 => 'Image' },
550
550
  PROCESS_PROC => \&ProcessFLIRText,
551
- VARS => { NO_ID => 1 },
551
+ VARS => { ID_FMT => 'none' },
552
552
  Label0 => { },
553
553
  Value0 => { },
554
554
  Label1 => { },
@@ -564,7 +564,7 @@ my %float8g = ( Format => 'float', PrintConv => 'sprintf("%.8g",$val)' );
564
564
  %Image::ExifTool::FLIR::ParamInfo = (
565
565
  GROUPS => { 0 => 'APP1', 2 => 'Image' },
566
566
  PROCESS_PROC => \&ProcessFLIRText,
567
- VARS => { NO_ID => 1 },
567
+ VARS => { ID_FMT => 'none' },
568
568
  Generated => {
569
569
  Name => 'DateTimeGenerated',
570
570
  Description => 'Date/Time Generated',
@@ -1093,7 +1093,7 @@ my %fpxFileType = (
1093
1093
  %Image::ExifTool::FlashPix::DocTable = (
1094
1094
  GROUPS => { 1 => 'MS-DOC', 2 => 'Document' },
1095
1095
  NOTES => 'Tags extracted from the Microsoft Word document table.',
1096
- VARS => { NO_ID => 1 },
1096
+ VARS => { ID_FMT => 'none' },
1097
1097
  CommentBy => {
1098
1098
  Groups => { 2 => 'Author' },
1099
1099
  Notes => 'enable L<Duplicates|../ExifTool.html#Duplicates> option to extract all entries',
@@ -31,7 +31,7 @@ use vars qw($VERSION);
31
31
  use Image::ExifTool qw(:DataAccess :Utils);
32
32
  use Image::ExifTool::Exif;
33
33
 
34
- $VERSION = '1.99';
34
+ $VERSION = '2.00';
35
35
 
36
36
  sub ProcessFujiDir($$$);
37
37
  sub ProcessFaceRec($$$);
@@ -643,8 +643,8 @@ my %faceCategories = (
643
643
  Writable => 'int16u',
644
644
  PrintConv => {
645
645
  1 => 'Right',
646
- 2 => 'Up', # (or Left?, forum17591)
647
- 3 => 'Left', # (or Up?, forum17591)
646
+ 2 => 'Left', #forum17591
647
+ 3 => 'Up', #forum17591
648
648
  4 => 'Down',
649
649
  },
650
650
  },
@@ -960,6 +960,7 @@ my %faceCategories = (
960
960
  3 => 'Right Eye',
961
961
  7 => 'Body',
962
962
  8 => 'Head',
963
+ 9 => 'Both Eyes', #forum17635
963
964
  11 => 'Bike',
964
965
  12 => 'Body of Car',
965
966
  13 => 'Front of Car',
@@ -1190,7 +1191,7 @@ my %faceCategories = (
1190
1191
  %Image::ExifTool::FujiFilm::FaceRecInfo = (
1191
1192
  PROCESS_PROC => \&ProcessFaceRec,
1192
1193
  GROUPS => { 0 => 'MakerNotes', 2 => 'Image' },
1193
- VARS => { NO_ID => 1 },
1194
+ VARS => { ID_FMT => 'none' },
1194
1195
  NOTES => 'Face recognition information.',
1195
1196
  Face1Name => { },
1196
1197
  Face2Name => { },
@@ -33,7 +33,7 @@ my @appExtensions = ( 'XMP Data/XMP', 'ICCRGBG1/012' );
33
33
 
34
34
  %Image::ExifTool::GIF::Main = (
35
35
  GROUPS => { 2 => 'Image' },
36
- VARS => { NO_ID => 1 },
36
+ VARS => { ID_FMT => 'none' },
37
37
  NOTES => q{
38
38
  This table lists information extracted from GIF images. See
39
39
  L<http://www.w3.org/Graphics/GIF/spec-gif89a.txt> for the official GIF89a
@@ -136,7 +136,7 @@ my %channelStruct = (
136
136
  %Image::ExifTool::GM::marl = (
137
137
  PROCESS_PROC => \&Process_marl,
138
138
  GROUPS => { 2 => 'Other' },
139
- VARS => { NO_ID => 1, NO_LOOKUP => 1 },
139
+ VARS => { ID_FMT => 'none', NO_LOOKUP => 1 },
140
140
  NOTES => q{
141
141
  Tags extracted from the 'ctbx' 'marl' (Marlin) box of timed PDR metadata
142
142
  from GM cars. Use the -ee (L<API ExtractEmbedded|../ExifTool.html#ExtractEmbedded>) option to extract this
@@ -401,11 +401,13 @@ sub GetEntry($;$$)
401
401
  my $xlat = $langLookup{$lang};
402
402
  # load language lookups if not done already
403
403
  if (not defined $xlat) {
404
- if (eval "require '$geoDir/GeoLang/$lang.pm'") {
404
+ unshift @INC, $geoDir; # make sure $geoDir is first in path
405
+ if (eval "require 'GeoLang/$lang.pm'") {
405
406
  my $trans = "Image::ExifTool::GeoLang::${lang}::Translate";
406
407
  no strict 'refs';
407
408
  $xlat = \%$trans if %$trans;
408
409
  }
410
+ shift @INC;
409
411
  # read user-defined language translations
410
412
  if (%Image::ExifTool::Geolocation::geoLang) {
411
413
  my $userLang = $Image::ExifTool::Geolocation::geoLang{$lang};
@@ -34,7 +34,7 @@ use vars qw($VERSION);
34
34
  use Image::ExifTool qw(:Public);
35
35
  use Image::ExifTool::GPS;
36
36
 
37
- $VERSION = '1.81';
37
+ $VERSION = '1.82';
38
38
 
39
39
  sub JITTER() { return 2 } # maximum time jitter
40
40
 
@@ -275,6 +275,7 @@ sub LoadTrackLog($$;$)
275
275
  } elsif (((/\b(GPS)?Date/i and /\b(GPS)?(Date)?Time/i) or /\bTime\(seconds\)/i) and /\Q$csvDelim/) {
276
276
  chomp;
277
277
  @csvHeadings = split /\Q$csvDelim/;
278
+ my $isColumbus = ($csvHeadings[0] and $csvHeadings[0] eq 'INDEX'); # (Columbus GPS logger)
278
279
  $format = 'CSV';
279
280
  # convert recognized headings to our parameter names
280
281
  foreach (@csvHeadings) {
@@ -306,7 +307,7 @@ sub LoadTrackLog($$;$)
306
307
  } elsif (/^(Pos)?Lon/i) {
307
308
  $param = 'lon';
308
309
  /ref$/i and $param .= 'ref';
309
- } elsif (/^(Pos)?Alt/i) {
310
+ } elsif (/^(Pos)?(Alt|Height)/i) {
310
311
  $param = 'alt';
311
312
  } elsif (/^Speed/i) {
312
313
  $param = 'speed';
@@ -314,6 +315,9 @@ sub LoadTrackLog($$;$)
314
315
  if (m{\((mph|km/h|m/s)\)}) {
315
316
  $scaleSpeed = $otherConv{$1};
316
317
  $xtra = " in $1";
318
+ } elsif ($isColumbus) { # (Columbus GPS logger)
319
+ $scaleSpeed = $otherConv{'km/h'};
320
+ $xtra = " in km/h";
317
321
  } else {
318
322
  $xtra = ' in knots';
319
323
  }
@@ -541,12 +545,16 @@ DoneFix: $isDate = 1;
541
545
  $date = Time::Local::timegm(0,0,0,$1,$2-1,$3);
542
546
  } elsif ($val =~ /(\d{4}).*?(\d{2}).*?(\d{2})/) {
543
547
  $date = Time::Local::timegm(0,0,0,$3,$2-1,$1);
548
+ } elsif ($val =~ /^(\d{2})(\d{2})(\d{2})$/) { # (Columbus GPS logger)
549
+ $date = Time::Local::timegm(0,0,0,$3,$2-1,$1+2000);
544
550
  }
545
551
  } elsif ($param eq 'time') {
546
552
  if ($val =~ /^(\d{1,2}):(\d{2}):(\d{2}(\.\d+)?).*?(([-+])(\d{1,2}):?(\d{2}))?/) {
547
553
  $secs = (($1 * 60) + $2) * 60 + $3;
548
554
  # adjust for time zone if specified
549
555
  $secs += ($7 * 60 + $8) * ($6 eq '-' ? 60 : -60) if $5;
556
+ } elsif ($val =~ /^(\d{2})(\d{2})(\d{2})$/) { # (Columbus GPS logger)
557
+ $secs = (($1 * 60) + $2) * 60 + $3;
550
558
  }
551
559
  } elsif ($param eq 'lat' or $param eq 'lon') {
552
560
  $$fix{$param} = Image::ExifTool::GPS::ToDegrees($val, 1);
@@ -485,7 +485,7 @@ my %noYes = ( N => 'No', Y => 'Yes' );
485
485
  %Image::ExifTool::GoPro::GPS5 = (
486
486
  PROCESS_PROC => \&ProcessString,
487
487
  GROUPS => { 1 => 'GoPro', 2 => 'Location' },
488
- VARS => { HEX_ID => 0, ID_LABEL => 'Index' },
488
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Index' },
489
489
  0 => { # (unit='deg')
490
490
  Name => 'GPSLatitude',
491
491
  PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "N")',
@@ -514,7 +514,7 @@ my %noYes = ( N => 'No', Y => 'Yes' );
514
514
  %Image::ExifTool::GoPro::GPS9 = (
515
515
  PROCESS_PROC => \&ProcessString,
516
516
  GROUPS => { 1 => 'GoPro', 2 => 'Location' },
517
- VARS => { HEX_ID => 0, ID_LABEL => 'Index' },
517
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Index' },
518
518
  0 => { # (unit='deg')
519
519
  Name => 'GPSLatitude',
520
520
  PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "N")',
@@ -563,7 +563,7 @@ my %noYes = ( N => 'No', Y => 'Yes' );
563
563
  %Image::ExifTool::GoPro::GPRI = (
564
564
  PROCESS_PROC => \&ProcessString,
565
565
  GROUPS => { 1 => 'GoPro', 2 => 'Location' },
566
- VARS => { HEX_ID => 0, ID_LABEL => 'Index' },
566
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Index' },
567
567
  0 => { # (unit='s')
568
568
  Name => 'GPSDateTimeRaw',
569
569
  Groups => { 2 => 'Time' },
@@ -595,7 +595,7 @@ my %noYes = ( N => 'No', Y => 'Yes' );
595
595
  %Image::ExifTool::GoPro::GLPI = (
596
596
  PROCESS_PROC => \&ProcessString,
597
597
  GROUPS => { 1 => 'GoPro', 2 => 'Location' },
598
- VARS => { HEX_ID => 0, ID_LABEL => 'Index' },
598
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Index' },
599
599
  0 => { # (unit='s')
600
600
  Name => 'GPSDateTime',
601
601
  Groups => { 2 => 'Time' },
@@ -626,7 +626,7 @@ my %noYes = ( N => 'No', Y => 'Yes' );
626
626
  %Image::ExifTool::GoPro::KBAT = (
627
627
  PROCESS_PROC => \&ProcessString,
628
628
  GROUPS => { 1 => 'GoPro', 2 => 'Camera' },
629
- VARS => { HEX_ID => 0, ID_LABEL => 'Index' },
629
+ VARS => { ID_FMT => 'dec', ID_LABEL => 'Index' },
630
630
  NOTES => 'Battery status information found in GoPro Karma videos.',
631
631
  0 => { Name => 'BatteryCurrent', PrintConv => '"$val A"' },
632
632
  1 => { Name => 'BatteryCapacity', PrintConv => '"$val Ah"' },