exiftool_vendored 12.82.0 → 12.83.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +20 -0
  3. data/bin/MANIFEST +2 -18
  4. data/bin/META.json +1 -1
  5. data/bin/META.yml +1 -1
  6. data/bin/README +3 -2
  7. data/bin/build_geolocation +867 -0
  8. data/bin/exiftool +26 -4
  9. data/bin/fmt_files/gpx.fmt +2 -1
  10. data/bin/fmt_files/gpx_wpt.fmt +2 -1
  11. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +5 -2
  12. data/bin/lib/Image/ExifTool/CanonVRD.pm +6 -5
  13. data/bin/lib/Image/ExifTool/DJI.pm +29 -0
  14. data/bin/lib/Image/ExifTool/Exif.pm +19 -2
  15. data/bin/lib/Image/ExifTool/GM.pm +17 -8
  16. data/bin/lib/Image/ExifTool/Geolocation.dat +0 -0
  17. data/bin/lib/Image/ExifTool/Geolocation.pm +48 -35
  18. data/bin/lib/Image/ExifTool/Nikon.pm +7 -6
  19. data/bin/lib/Image/ExifTool/QuickTime.pm +4 -1
  20. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +5 -0
  21. data/bin/lib/Image/ExifTool/Sony.pm +15 -6
  22. data/bin/lib/Image/ExifTool/TagLookup.pm +11 -5
  23. data/bin/lib/Image/ExifTool/TagNames.pod +17 -4
  24. data/bin/lib/Image/ExifTool/WriteQuickTime.pl +2 -1
  25. data/bin/lib/Image/ExifTool/Writer.pl +163 -131
  26. data/bin/lib/Image/ExifTool/XMP2.pl +3 -0
  27. data/bin/lib/Image/ExifTool.pm +12 -5
  28. data/bin/lib/Image/ExifTool.pod +13 -7
  29. data/bin/perl-Image-ExifTool.spec +1 -1
  30. data/lib/exiftool_vendored/version.rb +1 -1
  31. metadata +3 -20
  32. data/bin/lib/Image/ExifTool/GeoLang/cs.pm +0 -978
  33. data/bin/lib/Image/ExifTool/GeoLang/de.pm +0 -1975
  34. data/bin/lib/Image/ExifTool/GeoLang/en_ca.pm +0 -44
  35. data/bin/lib/Image/ExifTool/GeoLang/en_gb.pm +0 -124
  36. data/bin/lib/Image/ExifTool/GeoLang/es.pm +0 -2921
  37. data/bin/lib/Image/ExifTool/GeoLang/fi.pm +0 -1116
  38. data/bin/lib/Image/ExifTool/GeoLang/fr.pm +0 -3171
  39. data/bin/lib/Image/ExifTool/GeoLang/it.pm +0 -2750
  40. data/bin/lib/Image/ExifTool/GeoLang/ja.pm +0 -10256
  41. data/bin/lib/Image/ExifTool/GeoLang/ko.pm +0 -4499
  42. data/bin/lib/Image/ExifTool/GeoLang/nl.pm +0 -1270
  43. data/bin/lib/Image/ExifTool/GeoLang/pl.pm +0 -3019
  44. data/bin/lib/Image/ExifTool/GeoLang/ru.pm +0 -18220
  45. data/bin/lib/Image/ExifTool/GeoLang/sk.pm +0 -441
  46. data/bin/lib/Image/ExifTool/GeoLang/sv.pm +0 -714
  47. data/bin/lib/Image/ExifTool/GeoLang/tr.pm +0 -452
  48. data/bin/lib/Image/ExifTool/GeoLang/zh_cn.pm +0 -2225
  49. data/bin/lib/Image/ExifTool/GeoLang/zh_tw.pm +0 -72
@@ -29,7 +29,7 @@ use vars qw($VERSION $RELEASE @ISA @EXPORT_OK %EXPORT_TAGS $AUTOLOAD @fileTypes
29
29
  %jpegMarker %specialTags %fileTypeLookup $testLen $exeDir
30
30
  %static_vars);
31
31
 
32
- $VERSION = '12.82';
32
+ $VERSION = '12.83';
33
33
  $RELEASE = '';
34
34
  @ISA = qw(Exporter);
35
35
  %EXPORT_TAGS = (
@@ -1118,6 +1118,7 @@ my @availableOptions = (
1118
1118
  [ 'HexTagIDs', 0, 'use hex tag ID\'s in family 7 group names' ],
1119
1119
  [ 'HtmlDump', 0, 'HTML dump (0-3, higher # = bigger limit)' ],
1120
1120
  [ 'HtmlDumpBase', undef, 'base address for HTML dump' ],
1121
+ [ 'IgnoreGroups', undef, 'list of groups to ignore when extracting' ],
1121
1122
  [ 'IgnoreMinorErrors',undef, 'ignore minor errors when reading/writing' ],
1122
1123
  [ 'IgnoreTags', undef, 'list of tags to ignore when extracting' ],
1123
1124
  [ 'ImageHashType', 'MD5', 'image hash algorithm' ],
@@ -2470,12 +2471,12 @@ sub Options($$;@)
2470
2471
  } else {
2471
2472
  $$options{$param} = undef; # clear the list
2472
2473
  }
2473
- } elsif ($param eq 'IgnoreTags') {
2474
+ } elsif ($param =~ /^(IgnoreTags|IgnoreGroups)$/) {
2474
2475
  if (defined $newVal) {
2475
2476
  # parse list from delimited string if necessary
2476
- my @ignoreList = (ref $newVal eq 'ARRAY') ? @$newVal : ($newVal =~ /[-\w?*:]+/g);
2477
- ExpandShortcuts(\@ignoreList);
2478
- # add to existing tags to ignore
2477
+ my @ignoreList = (ref $newVal eq 'ARRAY') ? @$newVal : ($newVal =~ /[-\w?*:#]+/g);
2478
+ ExpandShortcuts(\@ignoreList) if $param eq 'IgnoreTags';
2479
+ # add to existing tags/groups to ignore
2479
2480
  $$options{$param} or $$options{$param} = { };
2480
2481
  foreach (@ignoreList) {
2481
2482
  /^(.*:)?([-\w?*]+)#?$/ or next;
@@ -8936,6 +8937,12 @@ sub FoundTag($$$;@)
8936
8937
  }
8937
8938
  $grps[0] or $grps[0] = $$self{SET_GROUP0};
8938
8939
  $grps[1] or $grps[1] = $$self{SET_GROUP1};
8940
+ if ($$options{IgnoreGroups}) {
8941
+ foreach (0..1) {
8942
+ my $g = lc($grps[$_] || $$tagInfo{Groups}{$_} || $$tagInfo{Table}{GROUPS}{$_});
8943
+ return undef if $$options{IgnoreGroups}{$g} or $$options{IgnoreGroups}{"$_$g"};
8944
+ }
8945
+ }
8939
8946
  my $valueHash = $$self{VALUE};
8940
8947
 
8941
8948
  if ($$tagInfo{RawConv}) {
@@ -825,6 +825,12 @@ goes to the file specified by the TextOut option (\*STDOUT by default).
825
825
  Base for HTML dump offsets. If not defined, the EXIF/TIFF base offset is
826
826
  used. Set to 0 for absolute offsets. Default is undef.
827
827
 
828
+ =item IgnoreGroups
829
+
830
+ Comma-separated list of group names to ignore when reading. The group names
831
+ are case insensitive and may be preceeded by a family number. Set to undef
832
+ to clear the previous IgnoreGroups list. Default is undef.
833
+
828
834
  =item IgnoreMinorErrors
829
835
 
830
836
  Flag to ignore minor errors. Causes minor errors to be downgraded to
@@ -838,12 +844,12 @@ warnings are denoted by "[minor]" at the start of the message, or "[Minor]"
838
844
 
839
845
  =item IgnoreTags
840
846
 
841
- List of tag names to ignore when reading. This may help in situations where
842
- memory is limited because the ignored tag values are not stored in memory.
843
- The tag names are case insensitive and group names and wildcards are not
844
- allowed. A special tag name of "All" may be used to ignore all tags except
845
- those specified by the L</RequestTags> option. Set to undef to clear the
846
- previous IgnoreTags list. Default is undef.
847
+ Comma-separated list of tag names to ignore when reading. This may help in
848
+ situations where memory is limited because the ignored tag values are not
849
+ stored in memory. The tag names are case insensitive and group names and
850
+ wildcards are not allowed. A special tag name of "All" may be used to
851
+ ignore all tags except those specified by the L</RequestTags> option. Set
852
+ to undef to clear the previous IgnoreTags list. Default is undef.
847
853
 
848
854
  =item ImageHashType
849
855
 
@@ -1226,7 +1232,7 @@ L</ExtractInfo>:
1226
1232
 
1227
1233
  Binary, Charset, CharsetEXIF, CharsetFileName, CharsetID3, CharsetIPTC,
1228
1234
  CharsetPhotoshop, CharsetQuickTime, CharsetRIFF, Composite, ExtendedXMP,
1229
- ExtractEmbedded, FastScan, FixBase, HtmlDump, HtmlDumpBase,
1235
+ ExtractEmbedded, FastScan, FixBase, HtmlDump, HtmlDumpBase, IgnoreGroups,
1230
1236
  IgnoreMinorErrors, IgnoreTags, Lang, LargeFileSupport, MakerNotes,
1231
1237
  MDItemTags, NoPDFList, Password, QuickTimeUTC (enforced 1904 time zero),
1232
1238
  RequestAll, RequestTags, SaveFormat, SavePath, ScanForXMP, Struct, TextOut,
@@ -1,6 +1,6 @@
1
1
  Summary: perl module for image data extraction
2
2
  Name: perl-Image-ExifTool
3
- Version: 12.82
3
+ Version: 12.83
4
4
  Release: 1
5
5
  License: Artistic/GPL
6
6
  Group: Development/Libraries/Perl
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExiftoolVendored
4
- VERSION = Gem::Version.new('12.82.0')
4
+ VERSION = Gem::Version.new('12.83.0')
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exiftool_vendored
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.82.0
4
+ version: 12.83.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew McEachen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-04-16 00:00:00.000000000 Z
12
+ date: 2024-04-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exiftool
@@ -50,6 +50,7 @@ files:
50
50
  - bin/arg_files/xmp2gps.args
51
51
  - bin/arg_files/xmp2iptc.args
52
52
  - bin/arg_files/xmp2pdf.args
53
+ - bin/build_geolocation
53
54
  - bin/config_files/acdsee.config
54
55
  - bin/config_files/age.config
55
56
  - bin/config_files/bibble.config
@@ -157,24 +158,6 @@ files:
157
158
  - bin/lib/Image/ExifTool/GIMP.pm
158
159
  - bin/lib/Image/ExifTool/GM.pm
159
160
  - bin/lib/Image/ExifTool/GPS.pm
160
- - bin/lib/Image/ExifTool/GeoLang/cs.pm
161
- - bin/lib/Image/ExifTool/GeoLang/de.pm
162
- - bin/lib/Image/ExifTool/GeoLang/en_ca.pm
163
- - bin/lib/Image/ExifTool/GeoLang/en_gb.pm
164
- - bin/lib/Image/ExifTool/GeoLang/es.pm
165
- - bin/lib/Image/ExifTool/GeoLang/fi.pm
166
- - bin/lib/Image/ExifTool/GeoLang/fr.pm
167
- - bin/lib/Image/ExifTool/GeoLang/it.pm
168
- - bin/lib/Image/ExifTool/GeoLang/ja.pm
169
- - bin/lib/Image/ExifTool/GeoLang/ko.pm
170
- - bin/lib/Image/ExifTool/GeoLang/nl.pm
171
- - bin/lib/Image/ExifTool/GeoLang/pl.pm
172
- - bin/lib/Image/ExifTool/GeoLang/ru.pm
173
- - bin/lib/Image/ExifTool/GeoLang/sk.pm
174
- - bin/lib/Image/ExifTool/GeoLang/sv.pm
175
- - bin/lib/Image/ExifTool/GeoLang/tr.pm
176
- - bin/lib/Image/ExifTool/GeoLang/zh_cn.pm
177
- - bin/lib/Image/ExifTool/GeoLang/zh_tw.pm
178
161
  - bin/lib/Image/ExifTool/GeoTiff.pm
179
162
  - bin/lib/Image/ExifTool/Geolocation.dat
180
163
  - bin/lib/Image/ExifTool/Geolocation.pm