exiftool_vendored 10.58.0 → 10.65.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of exiftool_vendored might be problematic. Click here for more details.

Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +100 -1
  3. data/bin/MANIFEST +2 -0
  4. data/bin/META.json +1 -1
  5. data/bin/META.yml +1 -1
  6. data/bin/README +39 -38
  7. data/bin/arg_files/exif2iptc.args +3 -0
  8. data/bin/arg_files/iptc2exif.args +3 -0
  9. data/bin/config_files/example.config +16 -14
  10. data/bin/config_files/photoshop_paths.config +10 -0
  11. data/bin/exiftool +71 -65
  12. data/bin/lib/Image/ExifTool/APE.pm +5 -0
  13. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +31 -15
  14. data/bin/lib/Image/ExifTool/Canon.pm +18 -4
  15. data/bin/lib/Image/ExifTool/CanonCustom.pm +3 -0
  16. data/bin/lib/Image/ExifTool/Charset/DOSLatin1.pm +49 -0
  17. data/bin/lib/Image/ExifTool/Charset/DOSLatinUS.pm +49 -0
  18. data/bin/lib/Image/ExifTool/Charset.pm +8 -5
  19. data/bin/lib/Image/ExifTool/Exif.pm +37 -18
  20. data/bin/lib/Image/ExifTool/FLAC.pm +47 -37
  21. data/bin/lib/Image/ExifTool/FLIR.pm +3 -3
  22. data/bin/lib/Image/ExifTool/FujiFilm.pm +5 -2
  23. data/bin/lib/Image/ExifTool/GPS.pm +6 -6
  24. data/bin/lib/Image/ExifTool/Geotag.pm +1 -1
  25. data/bin/lib/Image/ExifTool/H264.pm +2 -0
  26. data/bin/lib/Image/ExifTool/ID3.pm +8 -3
  27. data/bin/lib/Image/ExifTool/IPTC.pm +1 -1
  28. data/bin/lib/Image/ExifTool/Import.pm +4 -1
  29. data/bin/lib/Image/ExifTool/InDesign.pm +11 -7
  30. data/bin/lib/Image/ExifTool/Kodak.pm +4 -1
  31. data/bin/lib/Image/ExifTool/Lang/de.pm +31 -31
  32. data/bin/lib/Image/ExifTool/MWG.pm +12 -4
  33. data/bin/lib/Image/ExifTool/MakerNotes.pm +3 -3
  34. data/bin/lib/Image/ExifTool/Matroska.pm +2 -1
  35. data/bin/lib/Image/ExifTool/Microsoft.pm +3 -3
  36. data/bin/lib/Image/ExifTool/Minolta.pm +71 -61
  37. data/bin/lib/Image/ExifTool/Nikon.pm +286 -43
  38. data/bin/lib/Image/ExifTool/NikonCustom.pm +1049 -0
  39. data/bin/lib/Image/ExifTool/Olympus.pm +4 -1
  40. data/bin/lib/Image/ExifTool/PNG.pm +4 -7
  41. data/bin/lib/Image/ExifTool/PanasonicRaw.pm +24 -1
  42. data/bin/lib/Image/ExifTool/Pentax.pm +20 -6
  43. data/bin/lib/Image/ExifTool/Photoshop.pm +24 -3
  44. data/bin/lib/Image/ExifTool/QuickTime.pm +545 -14
  45. data/bin/lib/Image/ExifTool/README +16 -9
  46. data/bin/lib/Image/ExifTool/RIFF.pm +8 -1
  47. data/bin/lib/Image/ExifTool/Samsung.pm +5 -4
  48. data/bin/lib/Image/ExifTool/Sigma.pm +9 -1
  49. data/bin/lib/Image/ExifTool/Sony.pm +327 -153
  50. data/bin/lib/Image/ExifTool/TagLookup.pm +3273 -3220
  51. data/bin/lib/Image/ExifTool/TagNames.pod +317 -38
  52. data/bin/lib/Image/ExifTool/Validate.pm +15 -1
  53. data/bin/lib/Image/ExifTool/WriteExif.pl +5 -0
  54. data/bin/lib/Image/ExifTool/WriteIPTC.pl +23 -1
  55. data/bin/lib/Image/ExifTool/WriteQuickTime.pl +8 -2
  56. data/bin/lib/Image/ExifTool/WriteXMP.pl +7 -0
  57. data/bin/lib/Image/ExifTool/Writer.pl +96 -18
  58. data/bin/lib/Image/ExifTool/XMP.pm +20 -11
  59. data/bin/lib/Image/ExifTool/XMP2.pl +634 -583
  60. data/bin/lib/Image/ExifTool.pm +124 -17
  61. data/bin/lib/Image/ExifTool.pod +86 -82
  62. data/bin/perl-Image-ExifTool.spec +38 -37
  63. data/lib/exiftool_vendored/version.rb +1 -1
  64. metadata +4 -2
@@ -14,13 +14,13 @@ the binary data block (floating point IDs allow multiple tags for the same
14
14
  offset, with the integer part being used for the offset). The corresponding
15
15
  hash value provides information about the tag (explained later).
16
16
 
17
- Twenty-five special keys (TABLE_NAME, SHORT_NAME, PROCESS_PROC, WRITE_PROC,
17
+ Twenty-six special keys (TABLE_NAME, SHORT_NAME, PROCESS_PROC, WRITE_PROC,
18
18
  CHECK_PROC, GROUPS, FORMAT, FIRST_ENTRY, TAG_PREFIX, PRINT_CONV, WRITABLE,
19
19
  TABLE_DESC, NOTES, IS_OFFSET, IS_SUBDIR, EXTRACT_UNKNOWN, NAMESPACE, PREFERRED,
20
- SRC_TABLE, PRIORITY, WRITE_GROUP, LANG_INFO, VARS, DATAMEMBER and SET_GROUP1)
21
- are used to provide additional information about a table. The special keys have
22
- names that are all capitalized to avoid possible conflicts with tag keys. Below
23
- is an explanation of the meaning of each special key:
20
+ SRC_TABLE, PRIORITY, AVOID, WRITE_GROUP, LANG_INFO, VARS, DATAMEMBER and
21
+ SET_GROUP1) are used to provide additional information about a table. The
22
+ special keys have names that are all capitalized to avoid possible conflicts
23
+ with tag keys. Below is an explanation of the meaning of each special key:
24
24
 
25
25
  TABLE_NAME : Name of this table (set automatically by GetTagTable()).
26
26
 
@@ -124,7 +124,7 @@ is an explanation of the meaning of each special key:
124
124
  real - floating point value as a string
125
125
  string - unformatted string
126
126
  struct - structure
127
-
127
+
128
128
  FIRST_ENTRY : Specifies the index for the first tag entry in a binary table.
129
129
  This value is only used if the Unknown option is set to 2 or higher, and
130
130
  allows the binary data to be scanned for unknown tag entries.
@@ -177,6 +177,8 @@ is an explanation of the meaning of each special key:
177
177
 
178
178
  PRIORITY : Default Priority for all tags in this table.
179
179
 
180
+ AVOID : Flag set to Avoid writing all tags in this table.
181
+
180
182
  WRITE_GROUP : Default WriteGroup for all tags in the table.
181
183
 
182
184
  LANG_INFO : Code reference to a routine which returns a reference to a
@@ -222,6 +224,11 @@ is an explanation of the meaning of each special key:
222
224
 
223
225
  ENTRY_SIZE Used by ProcessPhaseOne to specify size of IFD entry
224
226
 
227
+ MAP_FORMAT Lookup to map unknown format numbers (eg. Panasonic CameraIFD)
228
+
229
+ START_INDEX [QuickTime tables only] Initial index for indices shown in
230
+ Verbose output. Indices are not show otherwise.
231
+
225
232
  DATAMEMBER : BinaryData tables only. A reference to a list of sorted tag ID's
226
233
  which must be extracted as data members when writing. Must also list "var_"
227
234
  format tags and tags with Hook so offsets are properly calculated if the table
@@ -495,7 +502,7 @@ numerical.
495
502
  'WritePseudo' - flag indicating that this is a writable pseudo
496
503
  tag. If set, this tag may be written without actually writing
497
504
  to the file (eg. FileName, FileModifyDate).
498
-
505
+
499
506
  'WrongBase' - ['IsOffset' tags only] An expression using $self
500
507
  that is evaluated to generate a base shift for 'IsOffset' tags
501
508
  which use a different base than the rest of the tags.
@@ -736,7 +743,7 @@ numerical.
736
743
  "ValueConv" and the Protected option has bit 0x02 set to allow
737
744
  writing of Protected tags that aren't directly writable. The
738
745
  AddValue, DelValue, Shift and Replace options from the parent
739
- tag are also defined, but no other options are set by default.
746
+ tag are also defined, but no other options are set by default.
740
747
  Previous new values of WriteAlso tags have already been
741
748
  removed prior to the eval if the Replace option was used for
742
749
  the parent tag. If an empty warning is issued ("\n"), the
@@ -1016,7 +1023,7 @@ The contained structure field information hashes are similar to tag information
1016
1023
  hashes, except that only the following elements are used:
1017
1024
 
1018
1025
  Raw/Value/PrintConv (and their inverses), TagID (optional), Groups, List,
1019
- Writable, Struct, Namespace, LangCode, PropertyPath.
1026
+ Writable, Struct, Namespace, LangCode, PropertyPath, Notes.
1020
1027
 
1021
1028
  But note that for PropertyPath, only the element of the path corresponding to
1022
1029
  the specific field is stored (including any necessary list properties). The
@@ -29,7 +29,7 @@ use strict;
29
29
  use vars qw($VERSION);
30
30
  use Image::ExifTool qw(:DataAccess :Utils);
31
31
 
32
- $VERSION = '1.44';
32
+ $VERSION = '1.45';
33
33
 
34
34
  sub ConvertTimecode($);
35
35
 
@@ -386,6 +386,13 @@ my %code2charset = (
386
386
  ProcessProc => \&Image::ExifTool::RIFF::ProcessChunks,
387
387
  },
388
388
  },
389
+ LIST_pntx => { #Andras Salamon (Q-S1 AVI)
390
+ Name => 'PentaxData2',
391
+ SubDirectory => {
392
+ TagTable => 'Image::ExifTool::Pentax::AVI',
393
+ ProcessProc => \&Image::ExifTool::RIFF::ProcessChunks,
394
+ },
395
+ },
389
396
  # seen LIST_JUNK
390
397
  JUNK => [
391
398
  {
@@ -922,21 +922,22 @@ my %formatMinMax = (
922
922
  # stuff written with "Shot & More" feature
923
923
  '0x0001' => { Name => 'EmbeddedImage', Groups => { 2 => 'Preview' }, Binary => 1 },
924
924
  '0x0001-name' => 'EmbeddedImageName',
925
- # 0x0830 - unknown (164004 bytes, name like "1165724808.pre")
926
-
927
925
  # stuff written with "Sound & Shot" feature
928
926
  '0x0100' => { Name => 'EmbeddedAudioFile', Binary => 1 },
929
927
  '0x0100-name' => 'EmbeddedAudioFileName',
930
- # 0x0800 - SoundShot_Meta_Info (contains only already-extracted sound shot name)
928
+ # 0x0800 - SoundShot_Meta_Info (contains only already-extracted sound shot name)
929
+ # 0x0830 - unknown (164004 bytes, name like "1165724808.pre")
931
930
  '0x0a01' => { #forum7161
932
931
  Name => 'TimeStamp',
933
932
  Groups => { 2 => 'Time' },
934
933
  ValueConv => 'ConvertUnixTime($val / 1e3, 1)',
935
934
  PrintConv => '$self->ConvertDateTime($val)',
936
935
  },
937
- #'0x0a01-name' = "Image_UTC_Data"
936
+ # 0x0a01-name = "Image_UTC_Data"
938
937
  '0x0a30' => { Name => 'EmbeddedVideoFile', Binary => 1 }, #forum7161
939
938
  '0x0a30-name' => 'EmbeddedVideoType', # ("MotionPhoto_Data")
939
+ # 0xa050 seen 'Jpeg3602D' (Samsung Gear 360)
940
+ # 0xa050-name seen 'Jpeg360_2D_Info' (Samsung Gear 360)
940
941
  );
941
942
 
942
943
  # Samsung composite tags
@@ -19,7 +19,7 @@ use strict;
19
19
  use vars qw($VERSION %sigmaLensTypes);
20
20
  use Image::ExifTool::Exif;
21
21
 
22
- $VERSION = '1.23';
22
+ $VERSION = '1.24';
23
23
 
24
24
  # sigma LensType lookup (ref IB)
25
25
  %sigmaLensTypes = (
@@ -74,6 +74,7 @@ $VERSION = '1.23';
74
74
  0x169 => 'Sigma 18-50mm F2.8 EX DC', #PH (NC)
75
75
  0x183 => 'Sigma 500mm F4.5 EX HSM APO',
76
76
  0x184 => 'Sigma 500mm F4.5 EX DG HSM APO',
77
+ 0x185 => 'Sigma 500mm F4 DG OS HSM | S', #JR (NC; based on product number) (016)
77
78
  0x194 => 'Sigma 300mm F2.8 EX HSM APO',
78
79
  0x195 => 'Sigma 300mm F2.8 EX DG HSM APO',
79
80
  0x200 => 'Sigma 12-24mm F4.5-5.6 EX DG ASP HSM',
@@ -81,7 +82,9 @@ $VERSION = '1.23';
81
82
  0x202 => 'Sigma 10-20mm F3.5 EX DC HSM',
82
83
  0x203 => 'Sigma 8-16mm F4.5-5.6 DC HSM',
83
84
  0x204 => 'Sigma 12-24mm F4.5-5.6 DG HSM II',
85
+ 0x205 => 'Sigma 12-24mm F4 DG HSM | A', #JR (NC; based on product number) (016)
84
86
  0x210 => 'Sigma 18-35mm F1.8 DC HSM | A',
87
+ 0x240 => 'Sigma 135mm F1.8 DG HSM | A', #JR (NC; based on product number) (017)
85
88
  0x256 => 'Sigma 105mm F2.8 EX Macro',
86
89
  0x257 => 'Sigma 105mm F2.8 EX DG Macro',
87
90
  0x258 => 'Sigma 105mm F2.8 EX DG OS HSM Macro',
@@ -92,6 +95,7 @@ $VERSION = '1.23';
92
95
  0x310 => 'Sigma 50mm F1.4 EX DG HSM',
93
96
  0x311 => 'Sigma 50mm F1.4 DG HSM | A',
94
97
  0x320 => 'Sigma 85mm F1.4 EX DG HSM',
98
+ 0x321 => 'Sigma 85mm F1.4 DG HSM | A', #JR (NC; based on product number) (016)
95
99
  0x330 => 'Sigma 30mm F2.8 EX DN',
96
100
  0x340 => 'Sigma 35mm F1.4 DG HSM',
97
101
  0x345 => 'Sigma 50mm F2.8 EX Macro',
@@ -103,6 +107,7 @@ $VERSION = '1.23';
103
107
  0x412 => 'Sigma 20mm F1.4 DG HSM | A',
104
108
  0x432 => 'Sigma 24mm F1.8 EX DG ASP Macro',
105
109
  0x440 => 'Sigma 28mm F1.8 EX DG ASP Macro',
110
+ 0x450 => 'Sigma 14mm F1.8 DH HSM | A', #JR (NC; based on product number) (017)
106
111
  0x461 => 'Sigma 14mm F2.8 EX ASP HSM',
107
112
  0x475 => 'Sigma 15mm F2.8 EX Diagonal FishEye',
108
113
  0x476 => 'Sigma 15mm F2.8 EX DG Diagonal Fisheye',
@@ -132,6 +137,7 @@ $VERSION = '1.23';
132
137
  0x569 => 'Sigma 70-200 F2.8 EX DG HSM APO Macro',
133
138
  0x571 => 'Sigma 24-70mm F2.8 IF EX DG HSM',
134
139
  0x572 => 'Sigma 70-300mm F4-5.6 DG OS',
140
+ 0x576 => 'Sigma 24-70mm F2.8 DG OS HSM | A', #JR (NC; based on product number) (017)
135
141
  0x579 => 'Sigma 70-200mm F2.8 EX DG HSM APO Macro', # (also II version)
136
142
  0x580 => 'Sigma 18-50mm F2.8 EX DC',
137
143
  0x581 => 'Sigma 18-50mm F2.8 EX DC Macro', #PH (SD1)
@@ -161,12 +167,14 @@ $VERSION = '1.23';
161
167
  0x690 => 'Sigma 50-150mm F2.8 EX DC HSM APO',
162
168
  0x691 => 'Sigma 50-150mm F2.8 EX DC APO HSM II',
163
169
  0x692 => 'Sigma APO 50-150mm F2.8 EX DC OS HSM',
170
+ 0x693 => 'Sigma 50-100mm F1.8 DC HSM | A', #JR (NC; based on product number) (016)
164
171
  0x709 => 'Sigma 28-135mm F3.8-5.6 IF ASP Macro',
165
172
  0x723 => 'Sigma 135-400mm F4.5-5.6 ASP APO',
166
173
  0x725 => 'Sigma 80-400mm F4.5-5.6 EX OS',
167
174
  0x726 => 'Sigma 80-400mm F4.5-5.6 EX DG OS APO',
168
175
  0x727 => 'Sigma 135-400mm F4.5-5.6 DG ASP APO',
169
176
  0x728 => 'Sigma 120-400mm F4.5-5.6 DG APO OS HSM',
177
+ 0x729 => 'Sigma 100-400mm F5-6.3 DG OS HSM | C', #JR (017)
170
178
  0x733 => 'Sigma 170-500mm F5-6.3 ASP APO',
171
179
  0x734 => 'Sigma 170-500mm F5-6.3 DG ASP APO',
172
180
  0x735 => 'Sigma 50-500mm F4-6.3 EX RF HSM APO',