exiftool_vendored 12.25.0 → 12.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +174 -7
  3. data/bin/MANIFEST +11 -0
  4. data/bin/META.json +1 -1
  5. data/bin/META.yml +1 -1
  6. data/bin/README +44 -43
  7. data/bin/arg_files/xmp2exif.args +2 -1
  8. data/bin/config_files/convert_regions.config +25 -14
  9. data/bin/config_files/example.config +1 -1
  10. data/bin/exiftool +118 -92
  11. data/bin/fmt_files/gpx.fmt +1 -1
  12. data/bin/fmt_files/gpx_wpt.fmt +1 -1
  13. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +16 -3
  14. data/bin/lib/Image/ExifTool/CBOR.pm +331 -0
  15. data/bin/lib/Image/ExifTool/Canon.pm +52 -20
  16. data/bin/lib/Image/ExifTool/Charset.pm +2 -0
  17. data/bin/lib/Image/ExifTool/DPX.pm +13 -2
  18. data/bin/lib/Image/ExifTool/Exif.pm +107 -8
  19. data/bin/lib/Image/ExifTool/FLIR.pm +33 -8
  20. data/bin/lib/Image/ExifTool/FlashPix.pm +35 -10
  21. data/bin/lib/Image/ExifTool/FujiFilm.pm +1 -0
  22. data/bin/lib/Image/ExifTool/Geotag.pm +13 -2
  23. data/bin/lib/Image/ExifTool/GoPro.pm +16 -1
  24. data/bin/lib/Image/ExifTool/ICC_Profile.pm +96 -4
  25. data/bin/lib/Image/ExifTool/ID3.pm +15 -3
  26. data/bin/lib/Image/ExifTool/JPEG.pm +68 -2
  27. data/bin/lib/Image/ExifTool/JSON.pm +7 -3
  28. data/bin/lib/Image/ExifTool/Jpeg2000.pm +164 -36
  29. data/bin/lib/Image/ExifTool/LIF.pm +153 -0
  30. data/bin/lib/Image/ExifTool/Lang/nl.pm +60 -59
  31. data/bin/lib/Image/ExifTool/M2TS.pm +103 -7
  32. data/bin/lib/Image/ExifTool/MIE.pm +2 -1
  33. data/bin/lib/Image/ExifTool/MRC.pm +1 -1
  34. data/bin/lib/Image/ExifTool/MacOS.pm +2 -2
  35. data/bin/lib/Image/ExifTool/Nikon.pm +50 -6
  36. data/bin/lib/Image/ExifTool/NikonSettings.pm +10 -2
  37. data/bin/lib/Image/ExifTool/Olympus.pm +9 -2
  38. data/bin/lib/Image/ExifTool/Other.pm +93 -0
  39. data/bin/lib/Image/ExifTool/PDF.pm +11 -12
  40. data/bin/lib/Image/ExifTool/PNG.pm +7 -6
  41. data/bin/lib/Image/ExifTool/Panasonic.pm +14 -2
  42. data/bin/lib/Image/ExifTool/Pentax.pm +28 -5
  43. data/bin/lib/Image/ExifTool/Photoshop.pm +6 -0
  44. data/bin/lib/Image/ExifTool/QuickTime.pm +123 -25
  45. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +203 -121
  46. data/bin/lib/Image/ExifTool/README +9 -2
  47. data/bin/lib/Image/ExifTool/RIFF.pm +7 -2
  48. data/bin/lib/Image/ExifTool/Samsung.pm +47 -10
  49. data/bin/lib/Image/ExifTool/Sony.pm +113 -42
  50. data/bin/lib/Image/ExifTool/TagLookup.pm +4599 -4451
  51. data/bin/lib/Image/ExifTool/TagNames.pod +276 -41
  52. data/bin/lib/Image/ExifTool/Torrent.pm +18 -11
  53. data/bin/lib/Image/ExifTool/WriteIPTC.pl +1 -1
  54. data/bin/lib/Image/ExifTool/WritePDF.pl +1 -0
  55. data/bin/lib/Image/ExifTool/WritePNG.pl +2 -0
  56. data/bin/lib/Image/ExifTool/WriteQuickTime.pl +21 -4
  57. data/bin/lib/Image/ExifTool/WriteXMP.pl +1 -1
  58. data/bin/lib/Image/ExifTool/Writer.pl +47 -2
  59. data/bin/lib/Image/ExifTool/XMP.pm +32 -12
  60. data/bin/lib/Image/ExifTool/XMP2.pl +5 -2
  61. data/bin/lib/Image/ExifTool/XMPStruct.pl +3 -1
  62. data/bin/lib/Image/ExifTool/ZISRAW.pm +121 -2
  63. data/bin/lib/Image/ExifTool.pm +153 -52
  64. data/bin/lib/Image/ExifTool.pod +70 -60
  65. data/bin/perl-Image-ExifTool.spec +43 -42
  66. data/lib/exiftool_vendored/version.rb +1 -1
  67. metadata +6 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04f93501e7bd28d806651831606ad1d1822fd9fc430e73f47c54a8c6be3fd025
4
- data.tar.gz: 2be10f782f703d5880106603936d5f00a508db219958a50d7dc66f29102c7ba3
3
+ metadata.gz: 52e82f9009ab10204f4fcf27c5e257b9ef7d78a132dd3ff487f6f4057f0277cc
4
+ data.tar.gz: 43b4bed4388b6518e0350f69d9858dcd74c981851ac681ee0b0fdd1a2fba0052
5
5
  SHA512:
6
- metadata.gz: 232066a679e6b866faad15144b640b047cf8cb9bfe67f3b5954f72c015b9b57f59662b0bb4e336f9ef2edaedf449012d4e8ab066e39a181e7c3bdb04b1f16b3f
7
- data.tar.gz: '0585582d9a4c8a050982bec0e3e11cfaf7b702f733eff2338dbbdca3f49f73c5cccf73084c6cac300791d43baaccd7cdbcd3e5fa4bfa143facdd3a8e000e9c69'
6
+ metadata.gz: ea35dbefffadeb4fb7e3b8871acffbc2408ad1e63e7c2995ede7dc6baf7b4f98b1ff377d49677f0e36755ec643a6f12f2a31889106cb703c409128ca0af25a9e
7
+ data.tar.gz: a6f19417b3eed9bf9f8caaba0f84b100a05a968aded523453b865205cee7c7756da5d17f9a6b99d1bd3e7d1194c3a74247531c832dd88d40d6d468a5dba2861d
data/bin/Changes CHANGED
@@ -4,13 +4,179 @@ ExifTool Version History
4
4
 
5
5
  RSS feed: https://exiftool.org/rss.xml
6
6
 
7
- Note: The most recent production release is Version 12.16. (Other versions are
7
+ Note: The most recent production release is Version 12.30. (Other versions are
8
8
  considered development releases, and are not uploaded to MetaCPAN.)
9
9
 
10
+ Nov. 11, 2021 - Version 12.35
11
+
12
+ - Added ability to write ICC_Profile (and other color specifications) to
13
+ Jpeg2000 images
14
+ - Added %o code to -W option format string
15
+ - Added %f code to -d option for fractional seconds
16
+ - Added a couple of new Sony LensType values (thanks Jos Roost)
17
+ - Added a new Nikon LensID
18
+ - Added a new CanonModelID
19
+ - Decode more Nikon MakerNotes tags for some new models (thanks Warren Hatch)
20
+ - Extract ThumbnailImage from some DJI drone videos
21
+ - Enhanced -ee option to extract metadata from all frames in a SEQ file
22
+ - Patched to avoid possible "Use of uninitialized value" runtime warning
23
+ - Fixed a couple if misspelt new ICC_Profile tag names (thanks Herb)
24
+ - Fixed problem generating the correct file extension when extracting
25
+ OriginalRawImage from a DNG file using the -W option with the %s format code
26
+ - Fixed bug introduced in 11.91 where exiftool couldn't find its libraries
27
+ when running via a link. Also it was looking for the config file in the
28
+ directory of the link, and this was changed to the target directory
29
+
30
+ Oct. 27, 2021 - Version 12.34
31
+
32
+ - Added support for ICC.2:2019 (Profile version 5.0.0 - iccMAX) color profiles
33
+ - Added ability to detect/delete a Windows Zone.Identifier alternate data
34
+ stream (ADS) via the new ZoneIdentifier tag (thanks Alex Xu)
35
+ - Added support for the Sony ILCE-7M4 (thanks Jos Roost)
36
+ - Added a new Sony lens (thanks LibRaw and Jos Roost)
37
+ - Added a new SonyModelID (thanks LibRaw)
38
+ - Added a new Canon RF lens (thanks Norbert Wasser)
39
+ - Improved handling of some SVG files
40
+ - Patched -overwrite_original_in_place option to open the output file in
41
+ update mode rather than write mode (to allow some write optimizations on
42
+ certain filesystems) (thanks Joel Low)
43
+ - Fixed case of tag ID for new XMP-iptcExt:EventID (thanks Michael Steidl)
44
+ - Fixed problem extracting ICC_Profile information from some PDF files
45
+ - API Changes:
46
+ - Added QuickTimePad option
47
+
48
+ Oct. 16, 2021 - Version 12.33
49
+
50
+ - Added support for DNG version 1.6.0.0
51
+ - Added two new Sony LensType values (thanks Jos Roost and LibRaw)
52
+ - Added some new elements to the XMP-crs:Look structure (thanks Herb)
53
+ - Added a few new IPTC XMP tags (thanks Michael Steidl)
54
+ - Added a new Canon RF lens (thanks Norbert Wasser)
55
+ - Decode Canon ShutterMode (thanks John Moyer)
56
+ - Extract LensModel from some Olympus MOV videos
57
+ - Generate MediaDataOffset/Size for MOV videos with zero-sized MDAT chunk
58
+ - Improvements to CBOR reader, including hex dump with -v3 option
59
+ - Recognize Final Cut Pro XML files
60
+ - Allow binary data of Protected tags to be extracted with the -X -j and -php
61
+ options with -b by setting the API RequestAll option to 3
62
+ - Changed name of "Canon EF 80-200mm f/4.5-5.6" lens with LensType 38 to add
63
+ "II" to the name (Exiv2 issue 1906)
64
+ - Fixed runtime warning when processing files with a .DIR extension
65
+
66
+ Sept. 30, 2021 - Version 12.32
67
+
68
+ - Added support for CBOR-format metadata in JUMBF (note that JUMBF support is
69
+ still experimental)
70
+ - Added a new Nikon LensID
71
+ - Added a new Pentax LensType
72
+ - Decode timed GPS for two more dashcam formats
73
+ - Support reference direction columns in -geotag CSV input
74
+ - Removed generation of GPSSpeedRef and GPSTrackRef tags in timed metadata for
75
+ most dashcam formats when speed is km/h and track is relative to true north
76
+ - Patched to allow writing of console output to named pipes
77
+ - Fixed formatting of InternalSerialNumber for some Panasonic cameras
78
+ - Fixed bug in arg_files/xmp2exif.args support file
79
+
80
+ Sept. 22, 2021 - Version 12.31
81
+
82
+ - Added a new SonyModelID and a couple of new Sony lenses (thanks Jos Roost)
83
+ - Added a new Canon LensType (thanks Chris Skopec)
84
+ - Added Composite GPSLatitude/Longitude tags for Sony videos to combine the
85
+ reference hemispheres as with the Composite tags for EXIF GPS
86
+ - Decode DPX AspectRatio
87
+ - Decode more GoPro MP4 tags
88
+ - Extract ICC_Profile from CS0 object in PDF files
89
+ - Extract encrypted GPS from Akaso V1 dashcam videos (can't yet decrypt)
90
+ - Improved handling of QuickTime iTunesInfo tags, and created new "iTunes"
91
+ family 1 group for these
92
+ - Patched so NoPDFList option also applies when writing
93
+ - Patched to allow user-defined PNG TextualData tags to be written only as iTXt
94
+ - Patched PDF reader to avoid concatenating values of multiple List-type tags
95
+ into a single tag
96
+
97
+ Aug. 12, 2021 - Version 12.30 (production release)
98
+
99
+ - Added read support for Portable FloatMap (PFM) images (this was a bit of a
100
+ pain because they have the same file extension as Printer Font Metrix files)
101
+ - Added a few new Nikon LensID values (thanks LibRaw)
102
+ - Added a new Canon LensType
103
+ - Added a new Olympus CameraType (thanks LibRaw)
104
+ - Added minor warning about unknown data between JPEG segments
105
+ - Added a couple of new NikonSettings tags (thanks Warren Hatch)
106
+ - Added a new Sony LensType (thanks Jos Roost)
107
+ - Decode 'id3 ' chunk in WAV audio files
108
+ - Decode timed GPS from concatenated Garmin dashcam videos
109
+ - Decode SamsungTrailer information from sefd atom in HEIC images
110
+ - Decode more Sony MakerNote tags for the ZV-E10 (thanks Jos Roost)
111
+ - Decode DepthMapTiff from JPEG images of more Samsung models
112
+ - Decode timed GPS from M2TS videos of yet another type of dashcam
113
+ - Extract PreviewImage from Xaiomi MP4 videos
114
+ - Changed name of second EmbeddedImage in Samsung trailer to EmbeddedImage2
115
+ - Improved Dutch translations for GPS tags (thanks Peter Dubbelman)
116
+ - Allow ICC_Profile to be "deleted" from AVIF files (actually, the profile
117
+ isn't really deleted. Instead, a zero-length profile is written to allow a
118
+ profile to be added back later since QuickTime item property containers
119
+ currently can't be created)
120
+ - Patched to remove 2 GB size limit when reading Photoshop ImageSourceData
121
+
122
+ July 9, 2021 - Version 12.29
123
+
124
+ - Added a few new Nikon and Olympus lenses (thanks LibRaw)
125
+ - Improved a QuickTime "File format error" message to be more meaningful, and
126
+ made it a minor error
127
+ - Changed PNG writer to add EXIF before IDAT
128
+ - Some changes the way JUMBF metadata is handled
129
+ - Patched to read timed GPS from a different type of INSV videos
130
+ - Patched a security issue
131
+ - Fixed problem where ExifTool could hang when processing mebx timed metadata
132
+
133
+ June 22, 2021 - Version 12.28
134
+
135
+ - Added read support for Leica Image File (LIF) images
136
+ - Added a new Olympus LensType (thanks LibRaw)
137
+ - Decode another Panasonic tag (thanks LibRaw)
138
+ - Decode more timed metadata from Sony MP4 videos
139
+ - Attempt to shorten tag names for metadata in CZI files
140
+ - Allow full QuickTime Keys tag ID's in UserDefined tags (fixes backward
141
+ incompatibility introduced in 12.02)
142
+ - Patched to handle special characters in Torrent tag values
143
+
144
+ June 9, 2021 - Version 12.27
145
+
146
+ - Added a new SonyModelID value
147
+ - Added two new Nikon LensID values (thanks Daniel)
148
+ - Added a new Pentax RawDevelopmentProcess value
149
+ - Added a few new Sony LensType values (thanks Jos Roost)
150
+ - Added warning if IPTCDigest is not current
151
+ - Decode a couple more Pentax tags (thanks LibRaw)
152
+ - Decode streaming GPS from Novatek INNOVV MP4 and TS videos
153
+ - Improved tag names in config_files/covert_regions.config (thanks StarGeek)
154
+ - Changed MIME types for MS Office macro-enabled formats to add the .12
155
+ - Patched Canon LensID logic to properly identify the Canon RF 24-105mm F4 L
156
+ IS USM lens
157
+ - Patched decoding of camm6 GPSDateTime to use a flexible epoch because other
158
+ apps don't seem to use a consistent time zero
159
+ - Fixed family 7 group names for QuickTime Keys tags
160
+ - Fixed problem reading BeatsPerMinute from some MP4 files
161
+ - Fixed hemisphere problem when extracting GPS from 70mai dashcam videos
162
+
163
+ May 20, 2021 - Version 12.26 (production release)
164
+
165
+ - Added support for JPEG Stereo (JPS) images
166
+ - Added a new Sony LensType (thanks LibRaw)
167
+ - Added a new PentaxModelID (thanks LibRaw)
168
+ - Changed ExifTool namespace URI to use exiftool.org instead of exiftool.ca in
169
+ the -X option output (exiftool.ca is still recognized when reading XML)
170
+ - Improved handling of large-array warnings in -htmldump output
171
+ - Changed handling of escaped characters in #[CSTR] lines of -@ argfile
172
+ - Patched security vulnerability in argument of -lang option
173
+ - Fixed problem which could cause a "Wide character" warning and generate a
174
+ corrupted output file when writing some illegal values
175
+
10
176
  Apr. 22, 2021 - Version 12.25
11
177
 
12
178
  - JPEG XL support is now official
13
- - Added read support for Medical Research Council (MRC) image files
179
+ - Added read support for Medical Research Council (MRC) image files
14
180
  - Added ability to write a number of 3gp tags in video files
15
181
  - Added a new Sony PictureProfile value (thanks Jos Roost)
16
182
  - Added a new Sony LensType (thanks LibRaw)
@@ -33,11 +199,11 @@ Apr. 13, 2021 - Version 12.24
33
199
  - Added a new PhaseOne RawFormat value (thanks LibRaw)
34
200
  - Decode a new Sony tag (thanks Jos Roost)
35
201
  - Decode a few new Panasonic and FujiFilm tags (thanks LibRaw and Greybeard)
36
- - Patched security vulnerability in DjVu reader
37
202
  - Updated acdsee.config in distribution (thanks StarGeek)
38
203
  - Recognize AutoCAD DXF files
39
204
  - More work on experimental JUMBF read support
40
205
  - More work on experimental JPEG XL read/write support
206
+ - Patched security vulnerability in DjVu reader
41
207
 
42
208
  Apr. 1, 2021 - Version 12.23
43
209
 
@@ -71,7 +237,7 @@ Mar. 17, 2021 - Version 12.22
71
237
  - Enhanced -b option so --b suppresses tags with binary data
72
238
  - Improved flexibility when writing GPS coordinates:
73
239
  - Now pulls latitude and longitude from a combined GPSCoordinates string
74
- - Recognizes the full word "South" and "West" to write negative coordinates
240
+ - Recognize full word "South" and "West" to write negative coordinates
75
241
  - Improved warning when trying to write an integer QuickTime date/time tag and
76
242
  Time::Local is not available
77
243
  - Convert GPSSpeed from mph to km/h in timed GPS from Garmin MP4 videos
@@ -489,6 +655,7 @@ Mar. 19, 2020 - Version 11.92
489
655
 
490
656
  Mar. 5, 2020 - Version 11.91
491
657
 
658
+ - Added undocumented -xpath option for use by alternate Windows version
492
659
  - Decode a couple of new Panasonic tags
493
660
  - Documented -ec option (available since version 11.54)
494
661
  - Reverted -htmlDump fix of 11.90 because it broke more than it fixed, and
@@ -1374,8 +1541,8 @@ Oct. 9, 2018 - Version 11.13
1374
1541
  - Added a new Canon LensType (thanks LibRaw)
1375
1542
  - Minor improvements to verbose dump of streaming GPS metadata
1376
1543
  - Reverted change of version 10.71 which resulted in Windows not recognizing
1377
- PNG CreationTime as written by ExifTool (added this feature to the
1378
- StrictDate API option instead)
1544
+ PNG CreationTime as written by ExifTool (added this feature to the API
1545
+ StrictDate option instead)
1379
1546
  - Improved decoding of Nikon CropHiSpeed (thanks LibRaw)
1380
1547
  - Improved -fast option to reduce memory usage when reading JPG, PNG,
1381
1548
  QuickTime-based and RIFF-based files via a sequential stream
@@ -1489,7 +1656,7 @@ June 21, 2018 - Version 11.03
1489
1656
  June 13, 2018 - Version 11.02
1490
1657
 
1491
1658
  - Added support for a different format of Apple iWorks files
1492
- - Added undocumented FixCorruptedMOV API option to allow fixing MOV videos
1659
+ - Added undocumented API FixCorruptedMOV option to allow fixing MOV videos
1493
1660
  with multiple 'mdat' atoms which were corrupted by ExifTool
1494
1661
  - Decode more QuickTime tags
1495
1662
  - Decode more PanasonicRaw tags (thanks Klaus Homeister)
data/bin/MANIFEST CHANGED
@@ -48,6 +48,7 @@ html/TagNames/Apple.html
48
48
  html/TagNames/Audible.html
49
49
  html/TagNames/BMP.html
50
50
  html/TagNames/BPG.html
51
+ html/TagNames/CBOR.html
51
52
  html/TagNames/Canon.html
52
53
  html/TagNames/CanonCustom.html
53
54
  html/TagNames/CanonRaw.html
@@ -94,6 +95,7 @@ html/TagNames/JVC.html
94
95
  html/TagNames/Jpeg2000.html
95
96
  html/TagNames/Kodak.html
96
97
  html/TagNames/KyoceraRaw.html
98
+ html/TagNames/LIF.html
97
99
  html/TagNames/LNK.html
98
100
  html/TagNames/Leaf.html
99
101
  html/TagNames/Lytro.html
@@ -124,6 +126,7 @@ html/TagNames/Ogg.html
124
126
  html/TagNames/Olympus.html
125
127
  html/TagNames/OpenEXR.html
126
128
  html/TagNames/Opus.html
129
+ html/TagNames/Other.html
127
130
  html/TagNames/PCX.html
128
131
  html/TagNames/PDF.html
129
132
  html/TagNames/PGF.html
@@ -215,6 +218,7 @@ lib/Image/ExifTool/BPG.pm
215
218
  lib/Image/ExifTool/BZZ.pm
216
219
  lib/Image/ExifTool/BigTIFF.pm
217
220
  lib/Image/ExifTool/BuildTagLookup.pm
221
+ lib/Image/ExifTool/CBOR.pm
218
222
  lib/Image/ExifTool/Canon.pm
219
223
  lib/Image/ExifTool/CanonCustom.pm
220
224
  lib/Image/ExifTool/CanonRaw.pm
@@ -299,6 +303,7 @@ lib/Image/ExifTool/JVC.pm
299
303
  lib/Image/ExifTool/Jpeg2000.pm
300
304
  lib/Image/ExifTool/Kodak.pm
301
305
  lib/Image/ExifTool/KyoceraRaw.pm
306
+ lib/Image/ExifTool/LIF.pm
302
307
  lib/Image/ExifTool/LNK.pm
303
308
  lib/Image/ExifTool/Lang/cs.pm
304
309
  lib/Image/ExifTool/Lang/de.pm
@@ -348,6 +353,7 @@ lib/Image/ExifTool/Ogg.pm
348
353
  lib/Image/ExifTool/Olympus.pm
349
354
  lib/Image/ExifTool/OpenEXR.pm
350
355
  lib/Image/ExifTool/Opus.pm
356
+ lib/Image/ExifTool/Other.pm
351
357
  lib/Image/ExifTool/PCX.pm
352
358
  lib/Image/ExifTool/PDF.pm
353
359
  lib/Image/ExifTool/PGF.pm
@@ -513,6 +519,7 @@ t/ExifTool_29.out
513
519
  t/ExifTool_3.out
514
520
  t/ExifTool_30.out
515
521
  t/ExifTool_31.out
522
+ t/ExifTool_32.out
516
523
  t/ExifTool_4.out
517
524
  t/ExifTool_5.out
518
525
  t/ExifTool_6.out
@@ -714,6 +721,8 @@ t/PDF_6.out
714
721
  t/PDF_7.out
715
722
  t/PDF_8.out
716
723
  t/PDF_9.out
724
+ t/PFM.t
725
+ t/PFM_2.out
717
726
  t/PGF.t
718
727
  t/PGF_2.out
719
728
  t/PICT.t
@@ -968,6 +977,7 @@ t/images/EXE.exe
968
977
  t/images/EXE.macho
969
978
  t/images/EXE.so
970
979
  t/images/ExifTool.jpg
980
+ t/images/ExifTool.jps
971
981
  t/images/ExifTool.tif
972
982
  t/images/ExtendedXMP.jpg
973
983
  t/images/FITS.fits
@@ -1046,6 +1056,7 @@ t/images/Opus.opus
1046
1056
  t/images/PCX.pcx
1047
1057
  t/images/PDF.pdf
1048
1058
  t/images/PDF2.pdf
1059
+ t/images/PFM.pfm
1049
1060
  t/images/PGF.pgf
1050
1061
  t/images/PICT.pict
1051
1062
  t/images/PLIST-bin.plist
data/bin/META.json CHANGED
@@ -47,5 +47,5 @@
47
47
  }
48
48
  },
49
49
  "release_status" : "stable",
50
- "version" : "12.25"
50
+ "version" : "12.35"
51
51
  }
data/bin/META.yml CHANGED
@@ -28,4 +28,4 @@ recommends:
28
28
  Time::HiRes: 0
29
29
  requires:
30
30
  perl: 5.004
31
- version: 12.25
31
+ version: 12.35
data/bin/README CHANGED
@@ -14,47 +14,48 @@ supported by ExifTool (r = read, w = write, c = create):
14
14
 
15
15
  File Types
16
16
  ------------+-------------+-------------+-------------+------------
17
- 360 r/w | DPX r | ITC r | NUMBERS r | RAM r
18
- 3FR r | DR4 r/w/c | J2C r | O r | RAR r
19
- 3G2 r/w | DSS r | JNG r/w | ODP r | RAW r/w
20
- 3GP r/w | DV r | JP2 r/w | ODS r | RIFF r
21
- A r | DVB r/w | JPEG r/w | ODT r | RSRC r
22
- AA r | DVR-MS r | JSON r | OFR r | RTF r
23
- AAE r | DYLIB r | JXL r | OGG r | RW2 r/w
24
- AAX r/w | EIP r | K25 r | OGV r | RWL r/w
25
- ACR r | EPS r/w | KDC r | ONP r | RWZ r
26
- AFM r | EPUB r | KEY r | OPUS r | RM r
27
- AI r/w | ERF r/w | LA r | ORF r/w | SEQ r
28
- AIFF r | EXE r | LFP r | ORI r/w | SKETCH r
29
- APE r | EXIF r/w/c | LNK r | OTF r | SO r
30
- ARQ r/w | EXR r | LRV r/w | PAC r | SR2 r/w
31
- ARW r/w | EXV r/w/c | M2TS r | PAGES r | SRF r
32
- ASF r | F4A/V r/w | M4A/V r/w | PBM r/w | SRW r/w
33
- AVI r | FFF r/w | MACOS r | PCD r | SVG r
34
- AVIF r/w | FITS r | MAX r | PCX r | SWF r
35
- AZW r | FLA r | MEF r/w | PDB r | THM r/w
36
- BMP r | FLAC r | MIE r/w/c | PDF r/w | TIFF r/w
37
- BPG r | FLIF r/w | MIFF r | PEF r/w | TORRENT r
38
- BTF r | FLV r | MKA r | PFA r | TTC r
39
- CHM r | FPF r | MKS r | PFB r | TTF r
40
- COS r | FPX r | MKV r | PFM r | TXT r
41
- CR2 r/w | GIF r/w | MNG r/w | PGF r | VCF r
42
- CR3 r/w | GPR r/w | MOBI r | PGM r/w | VRD r/w/c
43
- CRM r/w | GZ r | MODD r | PLIST r | VSD r
44
- CRW r/w | HDP r/w | MOI r | PICT r | WAV r
45
- CS1 r/w | HDR r | MOS r/w | PMP r | WDP r/w
46
- CSV r | HEIC r/w | MOV r/w | PNG r/w | WEBP r
47
- CZI r | HEIF r/w | MP3 r | PPM r/w | WEBM r
48
- DCM r | HTML r | MP4 r/w | PPT r | WMA r
49
- DCP r/w | ICC r/w/c | MPC r | PPTX r | WMV r
50
- DCR r | ICS r | MPG r | PS r/w | WTV r
51
- DFONT r | IDML r | MPO r/w | PSB r/w | WV r
52
- DIVX r | IIQ r/w | MQV r/w | PSD r/w | X3F r/w
53
- DJVU r | IND r/w | MRC r | PSP r | XCF r
54
- DLL r | INSP r/w | MRW r/w | QTIF r/w | XLS r
55
- DNG r/w | INSV r | MXF r | R3D r | XLSX r
56
- DOC r | INX r | NEF r/w | RA r | XMP r/w/c
57
- DOCX r | ISO r | NRW r/w | RAF r/w | ZIP r
17
+ 360 r/w | DR4 r/w/c | JNG r/w | ODP r | RIFF r
18
+ 3FR r | DSS r | JP2 r/w | ODS r | RSRC r
19
+ 3G2 r/w | DV r | JPEG r/w | ODT r | RTF r
20
+ 3GP r/w | DVB r/w | JSON r | OFR r | RW2 r/w
21
+ A r | DVR-MS r | JXL r | OGG r | RWL r/w
22
+ AA r | DYLIB r | K25 r | OGV r | RWZ r
23
+ AAE r | EIP r | KDC r | ONP r | RM r
24
+ AAX r/w | EPS r/w | KEY r | OPUS r | SEQ r
25
+ ACR r | EPUB r | LA r | ORF r/w | SKETCH r
26
+ AFM r | ERF r/w | LFP r | ORI r/w | SO r
27
+ AI r/w | EXE r | LIF r | OTF r | SR2 r/w
28
+ AIFF r | EXIF r/w/c | LNK r | PAC r | SRF r
29
+ APE r | EXR r | LRV r/w | PAGES r | SRW r/w
30
+ ARQ r/w | EXV r/w/c | M2TS r | PBM r/w | SVG r
31
+ ARW r/w | F4A/V r/w | M4A/V r/w | PCD r | SWF r
32
+ ASF r | FFF r/w | MACOS r | PCX r | THM r/w
33
+ AVI r | FITS r | MAX r | PDB r | TIFF r/w
34
+ AVIF r/w | FLA r | MEF r/w | PDF r/w | TORRENT r
35
+ AZW r | FLAC r | MIE r/w/ | PEF r/w | TTC r
36
+ BMP r | FLIF r/w | MIFF r c | PFA r | TTF r
37
+ BPG r | FLV r | MKA r | PFB r | TXT r
38
+ BTF r | FPF r | MKS r | PFM r | VCF r
39
+ CHM r | FPX r | MKV r | PGF r | VRD r/w/c
40
+ COS r | GIF r/w | MNG r/w | PGM r/w | VSD r
41
+ CR2 r/w | GPR r/w | MOBI r | PLIST r | WAV r
42
+ CR3 r/w | GZ r | MODD r | PICT r | WDP r/w
43
+ CRM r/w | HDP r/w | MOI r | PMP r | WEBP r
44
+ CRW r/w | HDR r | MOS r/w | PNG r/w | WEBM r
45
+ CS1 r/w | HEIC r/w | MOV r/w | PPM r/w | WMA r
46
+ CSV r | HEIF r/w | MP3 r | PPT r | WMV r
47
+ CZI r | HTML r | MP4 r/w | PPTX r | WTV r
48
+ DCM r | ICC r/w/c | MPC r | PS r/w | WV r
49
+ DCP r/w | ICS r | MPG r | PSB r/w | X3F r/w
50
+ DCR r | IDML r | MPO r/w | PSD r/w | XCF r
51
+ DFONT r | IIQ r/w | MQV r/w | PSP r | XLS r
52
+ DIVX r | IND r/w | MRC r | QTIF r/w | XLSX r
53
+ DJVU r | INSP r/w | MRW r/w | R3D r | XMP r/w/c
54
+ DLL r | INSV r | MXF r | RA r | ZIP r
55
+ DNG r/w | INX r | NEF r/w | RAF r/w |
56
+ DOC r | ISO r | NRW r/w | RAM r |
57
+ DOCX r | ITC r | NUMBERS r | RAR r |
58
+ DPX r | J2C r | O r | RAW r/w |
58
59
 
59
60
  Meta Information
60
61
  ----------------------+----------------------+---------------------
@@ -106,8 +107,8 @@ your home directory, then you would type the following commands in a
106
107
  terminal window to extract and run ExifTool:
107
108
 
108
109
  cd ~/Desktop
109
- gzip -dc Image-ExifTool-12.25.tar.gz | tar -xf -
110
- cd Image-ExifTool-12.25
110
+ gzip -dc Image-ExifTool-12.35.tar.gz | tar -xf -
111
+ cd Image-ExifTool-12.35
111
112
  ./exiftool t/images/ExifTool.jpg
112
113
 
113
114
  Note: These commands extract meta information from one of the test images.
@@ -13,6 +13,7 @@
13
13
  # 2015/01/12 - PH Avoid copying from non-standard namespaces
14
14
  # 2016/09/26 - PH Write Composite SubSec tags
15
15
  # 2018/05/07 - PH Added support for GPSDestXxxRef tags
16
+ # 2021/09/30 - PH Removed erroneous "-" when copying CreatorTool
16
17
  #
17
18
  # References: http://www.metadataworkinggroup.org/specs/
18
19
  #
@@ -34,7 +35,7 @@
34
35
  -Composite:SubSecDateTimeOriginal < XMP-photoshop:DateCreated
35
36
  -Composite:SubSecCreateDate < XMP-xmp:CreateDate
36
37
  -Composite:SubSecModifyDate < XMP-xmp:ModifyDate
37
- -EXIF:Software < -XMP-xmp:CreatorTool
38
+ -EXIF:Software < XMP-xmp:CreatorTool
38
39
  -EXIF:Copyright < XMP-dc:Rights
39
40
  -EXIF:Artist < XMP-dc:Creator
40
41
  # XMP flash information is translated by the Composite Flash tag
@@ -7,15 +7,15 @@
7
7
  #
8
8
  # Usage: 1) Convert from MP WLPG or IPTC regions to MWG regions:
9
9
  #
10
- # exiftool -config convert_regions.config "-regioninfo<myregion" FILE
10
+ # exiftool -config convert_regions.config "-RegionInfo<MPRegion2MWGRegion" FILE
11
11
  #
12
12
  # 2) Convert from MWG or IPTC to MP WLPG regions:
13
13
  #
14
- # exiftool -config convert_regions.config "-regioninfomp<myregionmp" FILE
14
+ # exiftool -config convert_regions.config "-RegionInfoMP<MWGRegion2MPRegion" FILE
15
15
  #
16
16
  # 3) Convert from MWG or MP WLPG to IPTC regions:
17
17
  #
18
- # exiftool -config convert_regions.config "-imageregion<myregioniptc" FILE
18
+ # exiftool -config convert_regions.config "-ImageRegion<MWGRegion2IPTCRegion" FILE
19
19
  #
20
20
  # Requires: ExifTool version 11.74 or later
21
21
  #
@@ -23,6 +23,8 @@
23
23
  # 2013/02/20 - PH Don't add ignored MP faces
24
24
  # 2017/02/13 - PH Handle MP regions without Rectangle or Name entries
25
25
  # 2019/10/26 - PH Added support for the new IPTC ImageRegion
26
+ # 2021/05-27 - PH Changed a few tag names and added shortcuts for
27
+ # backward compatibility
26
28
  #
27
29
  # References: http://www.metadataworkinggroup.org/specs/
28
30
  #------------------------------------------------------------------------------
@@ -32,7 +34,7 @@
32
34
  'Image::ExifTool::Composite' => {
33
35
 
34
36
  # create an MWG RegionInfo structure from a Microsoft RegionInfoMP structure
35
- MyRegion => {
37
+ MPRegion2MWGRegion => {
36
38
  Require => {
37
39
  0 => 'RegionInfoMP',
38
40
  1 => 'ImageWidth',
@@ -69,8 +71,8 @@
69
71
  },
70
72
 
71
73
  # create an MWG RegionInfo structure from an IPTC ImageRegion list
72
- MyRegion2 => {
73
- Name => 'MyRegion',
74
+ IPTCRegion2MWGRegion => {
75
+ Name => 'MPRegion2MWGRegion',
74
76
  Require => {
75
77
  0 => 'ImageRegion',
76
78
  1 => 'ImageWidth',
@@ -78,7 +80,7 @@
78
80
  },
79
81
  ValueConv => q{
80
82
  my ($rgn, @newRgns);
81
- my $rgns = ref $val[0] eq 'ARRAY' ? $val[0] : [ $val[0] ];
83
+ my $rgns = ref $val[0] eq 'ARRAY' ? $val[0] : [ $val[0] ];
82
84
  foreach $rgn (@$rgns) {
83
85
  my %newRgn = ( Type => 'Face' );
84
86
  if ($$rgn{RegionBoundary} and $$rgn{RegionBoundary}{RbShape} eq 'rectangle') {
@@ -108,7 +110,7 @@
108
110
  },
109
111
 
110
112
  # create a Microsoft RegionInfoMP structure from an MWG RegionInfo structure
111
- MyRegionMP => {
113
+ MWGRegion2MPRegion => {
112
114
  Require => 'RegionInfo',
113
115
  ValueConv => q{
114
116
  my ($rgn, @newRgns);
@@ -129,8 +131,8 @@
129
131
  },
130
132
 
131
133
  # create a Microsoft RegionInfoMP structure from an IPTC ImageRegion list
132
- MyRegionMP2 => {
133
- Name => 'MyRegionMP',
134
+ IPTCRegion2MPRegion => {
135
+ Name => 'MWGRegion2MPRegion',
134
136
  Require => {
135
137
  0 => 'ImageRegion',
136
138
  1 => 'ImageWidth',
@@ -138,7 +140,7 @@
138
140
  },
139
141
  ValueConv => q{
140
142
  my ($rgn, @newRgns);
141
- my $rgns = ref $val[0] eq 'ARRAY' ? $val[0] : [ $val[0] ];
143
+ my $rgns = ref $val[0] eq 'ARRAY' ? $val[0] : [ $val[0] ];
142
144
  foreach $rgn (@$rgns) {
143
145
  my %newRgn;
144
146
  if ($$rgn{RegionBoundary} and $$rgn{RegionBoundary}{RbShape} eq 'rectangle') {
@@ -159,7 +161,7 @@
159
161
  },
160
162
 
161
163
  # create an IPTC ImageRegion list from an MWG RegionInfo structure
162
- MyRegionIPTC => {
164
+ MWGRegion2IPTCRegion => {
163
165
  Require => 'RegionInfo',
164
166
  ValueConv => q{
165
167
  my ($rgn, @newRgns);
@@ -187,8 +189,8 @@
187
189
  },
188
190
 
189
191
  # create an IPTC ImageRegion list from a Microsoft RegionInfoMP structure
190
- MyRegionIPTC2 => {
191
- Name => 'MyRegionIPTC',
192
+ MPRegion2IPTCRegion => {
193
+ Name => 'MWGRegion2IPTCRegion',
192
194
  Require => 'RegionInfoMP',
193
195
  ValueConv => q{
194
196
  my ($rgn, @newRgns);
@@ -220,4 +222,13 @@
220
222
  },
221
223
  );
222
224
 
225
+ %Image::ExifTool::UserDefined::Shortcuts = (
226
+ MyRegion => 'MPRegion2MWGRegion',
227
+ MyRegion2 => 'IPTCRegion2MWGRegion',
228
+ MyRegionMP => 'MWGRegion2MPRegion',
229
+ MyRegionMP2 => 'IPTCRegion2MPRegion',
230
+ MyRegionIPTC => 'MWGRegion2IPTCRegion',
231
+ MyRegionIPTC2 => 'MPRegion2IPTCRegion',
232
+ );
233
+
223
234
  1; #end
@@ -133,7 +133,7 @@
133
133
  # Example 12. PNG:NewPngTag1
134
134
  NewPngTag1 => { },
135
135
  # Example 13. PNG:NewPngTag2
136
- NewPngTag2 => { },
136
+ NewPngTag2 => { iTXt => 1 }, # (force this tag to be written as iTXt)
137
137
  # Example 14. PNG:NewPngTag3
138
138
  NewPngTag3 => { },
139
139
  },