exiftool_vendored 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 (75) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +23 -0
  3. data/bin/MANIFEST +5 -0
  4. data/bin/META.json +1 -1
  5. data/bin/META.yml +1 -1
  6. data/bin/README +2 -2
  7. data/bin/build_geolocation +7 -3
  8. data/bin/exiftool +2 -2
  9. data/bin/lib/Image/ExifTool/Audible.pm +1 -1
  10. data/bin/lib/Image/ExifTool/BMP.pm +1 -1
  11. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +15 -8
  12. data/bin/lib/Image/ExifTool/CBOR.pm +1 -1
  13. data/bin/lib/Image/ExifTool/Canon.pm +59 -5
  14. data/bin/lib/Image/ExifTool/CanonVRD.pm +1 -1
  15. data/bin/lib/Image/ExifTool/CaptureOne.pm +1 -1
  16. data/bin/lib/Image/ExifTool/DJI.pm +5 -5
  17. data/bin/lib/Image/ExifTool/DV.pm +1 -1
  18. data/bin/lib/Image/ExifTool/EXE.pm +3 -2
  19. data/bin/lib/Image/ExifTool/FLIF.pm +1 -1
  20. data/bin/lib/Image/ExifTool/FLIR.pm +3 -3
  21. data/bin/lib/Image/ExifTool/FlashPix.pm +1 -1
  22. data/bin/lib/Image/ExifTool/FujiFilm.pm +5 -4
  23. data/bin/lib/Image/ExifTool/GIF.pm +1 -1
  24. data/bin/lib/Image/ExifTool/GM.pm +1 -1
  25. data/bin/lib/Image/ExifTool/Geolocation.pm +3 -1
  26. data/bin/lib/Image/ExifTool/Geotag.pm +10 -2
  27. data/bin/lib/Image/ExifTool/GoPro.pm +5 -5
  28. data/bin/lib/Image/ExifTool/Google.pm +804 -0
  29. data/bin/lib/Image/ExifTool/H264.pm +1 -1
  30. data/bin/lib/Image/ExifTool/ICC_Profile.pm +1 -1
  31. data/bin/lib/Image/ExifTool/ID3.pm +3 -3
  32. data/bin/lib/Image/ExifTool/JPEG.pm +1 -1
  33. data/bin/lib/Image/ExifTool/JSON.pm +1 -1
  34. data/bin/lib/Image/ExifTool/LIF.pm +1 -1
  35. data/bin/lib/Image/ExifTool/LNK.pm +2 -2
  36. data/bin/lib/Image/ExifTool/Lytro.pm +1 -1
  37. data/bin/lib/Image/ExifTool/M2TS.pm +2 -2
  38. data/bin/lib/Image/ExifTool/MPEG.pm +1 -1
  39. data/bin/lib/Image/ExifTool/MWG.pm +1 -1
  40. data/bin/lib/Image/ExifTool/MXF.pm +1 -1
  41. data/bin/lib/Image/ExifTool/MacOS.pm +2 -2
  42. data/bin/lib/Image/ExifTool/MakerNotes.pm +30 -7
  43. data/bin/lib/Image/ExifTool/Microsoft.pm +4 -4
  44. data/bin/lib/Image/ExifTool/Nikon.pm +4 -4
  45. data/bin/lib/Image/ExifTool/OOXML.pm +1 -1
  46. data/bin/lib/Image/ExifTool/Ogg.pm +1 -1
  47. data/bin/lib/Image/ExifTool/Olympus.pm +2 -1
  48. data/bin/lib/Image/ExifTool/Other.pm +1 -1
  49. data/bin/lib/Image/ExifTool/Panasonic.pm +1 -1
  50. data/bin/lib/Image/ExifTool/Pentax.pm +18 -7
  51. data/bin/lib/Image/ExifTool/Protobuf.pm +12 -6
  52. data/bin/lib/Image/ExifTool/Qualcomm.pm +2 -2
  53. data/bin/lib/Image/ExifTool/QuickTime.pm +30 -8
  54. data/bin/lib/Image/ExifTool/README +7 -6
  55. data/bin/lib/Image/ExifTool/Rawzor.pm +1 -1
  56. data/bin/lib/Image/ExifTool/Reconyx.pm +375 -91
  57. data/bin/lib/Image/ExifTool/Samsung.pm +1 -1
  58. data/bin/lib/Image/ExifTool/Shortcuts.pm +8 -5
  59. data/bin/lib/Image/ExifTool/Sony.pm +18 -3
  60. data/bin/lib/Image/ExifTool/TagInfoXML.pm +3 -2
  61. data/bin/lib/Image/ExifTool/TagLookup.pm +5745 -5695
  62. data/bin/lib/Image/ExifTool/TagNames.pod +662 -509
  63. data/bin/lib/Image/ExifTool/Text.pm +1 -1
  64. data/bin/lib/Image/ExifTool/Trailer.pm +1 -1
  65. data/bin/lib/Image/ExifTool/WPG.pm +1 -1
  66. data/bin/lib/Image/ExifTool/WTV.pm +1 -1
  67. data/bin/lib/Image/ExifTool/XMP.pm +31 -30
  68. data/bin/lib/Image/ExifTool/XMP2.pl +0 -482
  69. data/bin/lib/Image/ExifTool/ZIP.pm +1 -1
  70. data/bin/lib/Image/ExifTool/iWork.pm +1 -1
  71. data/bin/lib/Image/ExifTool.pm +4 -4
  72. data/bin/lib/Image/ExifTool.pod +3 -3
  73. data/bin/perl-Image-ExifTool.spec +1 -1
  74. data/lib/exiftool_vendored/version.rb +1 -1
  75. metadata +4 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48115655191684a1376bb6803a1831f0364e3561b84fef9227979c762d840a9f
4
- data.tar.gz: f8297fca14ffbfb66f8c5eca245f8096a940df011ae4a41dbe6ce4120c34b90b
3
+ metadata.gz: e99939a853444d1ebc80ab2738cd08bc29f2945044aa74ff682a9205e7e2e878
4
+ data.tar.gz: 14cc3a3e709dd586a4d73d4056c52ee24e74c0020042ecba084211a17ce93381
5
5
  SHA512:
6
- metadata.gz: 3a122b46c9c3a876d70c732db1e2e5c7e039c7d1c7cf4735c41a1ceac1384a4ce4f9f42a04c7156932e105fbc8bfa3cef366f9fd17452ecb6fab41f78247f2f3
7
- data.tar.gz: 6b105de18581c29ea2c56882113ada5e8519861f575e37be65282db903a6d49812c6b0b544d1bf3c3e1f35fb34bc9633bfd798b852e79c6020a113767c2db65d
6
+ metadata.gz: '098d4af617f88acbc7cba6dd401e894e6eac938b5475b889fab26de2c670aef6320040e3bb5acd1e951d06c95de022e6c76207e67c6f022117566efa13fca872'
7
+ data.tar.gz: 72e570d5b590d04d5a39de9c32698f3946c0f1c0b8bdac6d9010b6c0b94e0418100b6991d16601c5064a093a6d04867290ddc286ae76478e0cc87900a9adb2e3
data/bin/Changes CHANGED
@@ -7,6 +7,29 @@ RSS feed: https://exiftool.org/rss.xml
7
7
  Note: The most recent production release is Version 13.36. (Other versions are
8
8
  considered development releases, and are not uploaded to MetaCPAN.)
9
9
 
10
+ Sept. 22, 2025 - Version 13.37
11
+
12
+ - Added support for geotagging from Columbus GPS logger CSV files
13
+ - Added some new Canon, Sony and Olympus lenses (thanks Hubert Figuiere,
14
+ github #352 and Jos Roost)
15
+ - Added new Canon RFLensType and CanonModelID values (thanks Norbert Wasser
16
+ and Hubert Figuiere, github #350)
17
+ - Added a new FujiFilm FaceElementType value
18
+ - Decode Reconyx MicroFire and Hyperfire 4K maker notes (thanks Reconyx)
19
+ - Decode a number of new Canon and Pentax tags and add a number of new values
20
+ (thanks Karsten Gieselmann)
21
+ - Decode maker notes from Ricoh GR III videos
22
+ - Decode a new Sony tag (thanks Jos Roost)
23
+ - Decode Google HDRP maker notes
24
+ - Raised size limit on QuickTime atoms extracted for the -ee option, and added
25
+ a minor warning and allow bypassing with the -m option if over this limit
26
+ - Minor change to verbose output for XMP metadata
27
+ - Fixed possible hang/crash when reading Windows executables (github #351)
28
+ - Fixed incorrect FujiFilm PanoramaDirection values
29
+ - API Changes:
30
+ - Fixed GeoDir option so alternate languages are loaded properly when a
31
+ relative path is used
32
+
10
33
  Sept. 9, 2025 - Version 13.36 (production release)
11
34
 
12
35
  - Added a new Nikon LensID (thanks Max, github #345)
data/bin/MANIFEST CHANGED
@@ -87,6 +87,7 @@ html/TagNames/GM.html
87
87
  html/TagNames/GPS.html
88
88
  html/TagNames/GeoTiff.html
89
89
  html/TagNames/GoPro.html
90
+ html/TagNames/Google.html
90
91
  html/TagNames/H264.html
91
92
  html/TagNames/HP.html
92
93
  html/TagNames/HTML.html
@@ -308,6 +309,7 @@ lib/Image/ExifTool/FujiFilm.pm
308
309
  lib/Image/ExifTool/GE.pm
309
310
  lib/Image/ExifTool/GIF.pm
310
311
  lib/Image/ExifTool/GIMP.pm
312
+ lib/Image/ExifTool/Google.pm
311
313
  lib/Image/ExifTool/GM.pm
312
314
  lib/Image/ExifTool/GPS.pm
313
315
  lib/Image/ExifTool/GeoTiff.pm
@@ -645,6 +647,8 @@ t/Geotag_8.out
645
647
  t/Geotag_9.out
646
648
  t/GoPro.t
647
649
  t/GoPro_2.out
650
+ t/Google.t
651
+ t/Google_2.out
648
652
  t/HTML.t
649
653
  t/HTML_2.out
650
654
  t/ICO.t
@@ -1095,6 +1099,7 @@ t/images/Geotag2.log
1095
1099
  t/images/Geotag3.log
1096
1100
  t/images/Geotag_DJI_2020-12-02_[07-50-31].csv
1097
1101
  t/images/GoPro.jpg
1102
+ t/images/Google.jpg
1098
1103
  t/images/HTML.html
1099
1104
  t/images/ICC_Profile.icc
1100
1105
  t/images/ICO.ico
data/bin/META.json CHANGED
@@ -50,6 +50,6 @@
50
50
  }
51
51
  },
52
52
  "release_status" : "stable",
53
- "version" : "13.36",
53
+ "version" : "13.37",
54
54
  "x_serialization_backend" : "JSON::PP version 4.06"
55
55
  }
data/bin/META.yml CHANGED
@@ -31,5 +31,5 @@ recommends:
31
31
  Time::HiRes: '0'
32
32
  requires:
33
33
  perl: '5.004'
34
- version: '13.36'
34
+ version: '13.37'
35
35
  x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
data/bin/README CHANGED
@@ -110,8 +110,8 @@ your home directory, then you would type the following commands in a
110
110
  terminal window to extract and run ExifTool:
111
111
 
112
112
  cd ~/Desktop
113
- gzip -dc Image-ExifTool-13.36.tar.gz | tar -xf -
114
- cd Image-ExifTool-13.36
113
+ gzip -dc Image-ExifTool-13.37.tar.gz | tar -xf -
114
+ cd Image-ExifTool-13.37
115
115
  ./exiftool t/images/ExifTool.jpg
116
116
 
117
117
  Note: These commands extract meta information from one of the test images.
@@ -16,6 +16,9 @@
16
16
  # under ActivePerl
17
17
  # 2024-04-29 - PH Added feature types and default to db v1.03
18
18
  # 2024-06-13 - PH Tweaked case of imported feature types
19
+ # 2025-09-11 - PH Changed priority of alternate-language names to
20
+ # use the preferred name if available and fixed
21
+ # flag counts in verbose output
19
22
  #
20
23
  # Notes: Requires these files from https://download.geonames.org/export/
21
24
  #
@@ -564,7 +567,8 @@ if (not $noLang and open INFILE, '<', "$dbdir/$altNamesFile") {
564
567
  $items[$_] and $flags |= (1<<($_-4)) foreach 4,5,6,7;
565
568
  $flags{$items[1]} = ( $flags{$items[1]} || 0 ) | $flags;
566
569
  next if $items[6] or $items[7]; # ignore colloquial and historic names
567
- my $pri = $items[5] ? 0 : ($items[4] ? 1 : 2); # priority for best type of name
570
+ # give more weight to preferred name and less weight to short name
571
+ my $pri = ($items[4] ? 2 : 0) + ($items[5] ? 0 : 1);
568
572
  my $langPri = $bestPri{$lng};
569
573
  $langPri or $langPri = $bestPri{$lng} = { };
570
574
  next if $$langPri{$items[1]} and $$langPri{$items[1]} > $pri;
@@ -930,9 +934,9 @@ if ($noLang) {
930
934
  print "$type flags:\n";
931
935
  printf(" 0x%.2x - %d\n", 0, $$flags{0} || 0);
932
936
  my @label = qw(preferred short colloquial historic);
933
- foreach my $bit (0..5) {
937
+ foreach my $bit (0..3) {
934
938
  my $n = 0;
935
- $_ & (1<<$bit) and ++$n foreach keys %$flags;
939
+ $_ & (1<<$bit) and $n += $$flags{$_} foreach keys %$flags;
936
940
  printf(" 0x%.2x - %d (%s)\n", (1<<$bit), $n, shift(@label)) if $n;
937
941
  }
938
942
  }
data/bin/exiftool CHANGED
@@ -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
 
@@ -6082,7 +6082,7 @@ with this command:
6082
6082
 
6083
6083
  produces output like this:
6084
6084
 
6085
- -- Generated by ExifTool 13.36 --
6085
+ -- Generated by ExifTool 13.37 --
6086
6086
  File: a.jpg - 2003:10:31 15:44:19
6087
6087
  (f/5.6, 1/60s, ISO 100)
6088
6088
  File: b.jpg - 2006:05:23 11:57:38
@@ -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};