exiftool_vendored 12.25.0 → 12.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +114 -4
  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 +72 -56
  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 +10 -2
  14. data/bin/lib/Image/ExifTool/CBOR.pm +277 -0
  15. data/bin/lib/Image/ExifTool/Canon.pm +25 -18
  16. data/bin/lib/Image/ExifTool/DPX.pm +13 -2
  17. data/bin/lib/Image/ExifTool/Exif.pm +11 -6
  18. data/bin/lib/Image/ExifTool/FlashPix.pm +35 -10
  19. data/bin/lib/Image/ExifTool/FujiFilm.pm +1 -0
  20. data/bin/lib/Image/ExifTool/Geotag.pm +13 -2
  21. data/bin/lib/Image/ExifTool/GoPro.pm +16 -1
  22. data/bin/lib/Image/ExifTool/ID3.pm +15 -3
  23. data/bin/lib/Image/ExifTool/JPEG.pm +68 -2
  24. data/bin/lib/Image/ExifTool/JSON.pm +4 -2
  25. data/bin/lib/Image/ExifTool/Jpeg2000.pm +58 -26
  26. data/bin/lib/Image/ExifTool/LIF.pm +153 -0
  27. data/bin/lib/Image/ExifTool/Lang/nl.pm +60 -59
  28. data/bin/lib/Image/ExifTool/M2TS.pm +103 -7
  29. data/bin/lib/Image/ExifTool/MIE.pm +2 -1
  30. data/bin/lib/Image/ExifTool/MRC.pm +1 -1
  31. data/bin/lib/Image/ExifTool/Nikon.pm +15 -4
  32. data/bin/lib/Image/ExifTool/NikonSettings.pm +10 -2
  33. data/bin/lib/Image/ExifTool/Olympus.pm +5 -2
  34. data/bin/lib/Image/ExifTool/Other.pm +93 -0
  35. data/bin/lib/Image/ExifTool/PDF.pm +9 -12
  36. data/bin/lib/Image/ExifTool/PNG.pm +7 -6
  37. data/bin/lib/Image/ExifTool/Panasonic.pm +14 -2
  38. data/bin/lib/Image/ExifTool/Pentax.pm +28 -5
  39. data/bin/lib/Image/ExifTool/Photoshop.pm +6 -0
  40. data/bin/lib/Image/ExifTool/QuickTime.pm +103 -24
  41. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +203 -121
  42. data/bin/lib/Image/ExifTool/README +3 -0
  43. data/bin/lib/Image/ExifTool/RIFF.pm +7 -2
  44. data/bin/lib/Image/ExifTool/Samsung.pm +47 -10
  45. data/bin/lib/Image/ExifTool/Sony.pm +84 -33
  46. data/bin/lib/Image/ExifTool/TagLookup.pm +50 -3
  47. data/bin/lib/Image/ExifTool/TagNames.pod +135 -29
  48. data/bin/lib/Image/ExifTool/Torrent.pm +18 -11
  49. data/bin/lib/Image/ExifTool/WriteIPTC.pl +1 -1
  50. data/bin/lib/Image/ExifTool/WritePDF.pl +1 -0
  51. data/bin/lib/Image/ExifTool/WritePNG.pl +2 -0
  52. data/bin/lib/Image/ExifTool/WriteQuickTime.pl +11 -4
  53. data/bin/lib/Image/ExifTool/WriteXMP.pl +1 -1
  54. data/bin/lib/Image/ExifTool/Writer.pl +3 -0
  55. data/bin/lib/Image/ExifTool/XMP.pm +17 -5
  56. data/bin/lib/Image/ExifTool/XMP2.pl +2 -1
  57. data/bin/lib/Image/ExifTool/XMPStruct.pl +3 -1
  58. data/bin/lib/Image/ExifTool/ZISRAW.pm +121 -2
  59. data/bin/lib/Image/ExifTool.pm +79 -37
  60. data/bin/lib/Image/ExifTool.pod +62 -60
  61. data/bin/perl-Image-ExifTool.spec +43 -42
  62. data/lib/exiftool_vendored/version.rb +1 -1
  63. 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: 0bc0b6355809096e7387138e8c7f308c4936ec9b0cdb4ce1461aadcae9ae2381
4
+ data.tar.gz: 67a7595eb439fa6601eaf2a5e6bb90ec67de6f84094133a5c1f7490c5dd5b300
5
5
  SHA512:
6
- metadata.gz: 232066a679e6b866faad15144b640b047cf8cb9bfe67f3b5954f72c015b9b57f59662b0bb4e336f9ef2edaedf449012d4e8ab066e39a181e7c3bdb04b1f16b3f
7
- data.tar.gz: '0585582d9a4c8a050982bec0e3e11cfaf7b702f733eff2338dbbdca3f49f73c5cccf73084c6cac300791d43baaccd7cdbcd3e5fa4bfa143facdd3a8e000e9c69'
6
+ metadata.gz: 859265135559c94c11c104df0804ab031e8c0ffa648b3249e824ceaaa273420a4190b14e77f03855cd6a3e8685938e58a0d48a9b57aa2ceebca2314d20804676
7
+ data.tar.gz: 35e9504f1ae4d31477f721cd94dad5da1740f2324e53242930600eb7b12abe17e3501e7fa7fe19c3a947516d1169a37d12a6e54465a96a2e2a7e55f4b03f2656
data/bin/Changes CHANGED
@@ -4,13 +4,123 @@ 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
+ Sept. 30, 2021 - Version 12.32
11
+
12
+ - Added support for CBOR-format metadata in JUMBF (note that JUMBF support is
13
+ still experimental)
14
+ - Added a new Nikon LensID
15
+ - Added a new Pentax LensType
16
+ - Decode timed GPS for two more dashcam formats
17
+ - Support reference direction columns in -geotag CSV input
18
+ - Removed generation of GPSSpeedRef and GPSTrackRef tags in timed metadata for
19
+ most dashcam formats when speed is km/h and track is relative to true north
20
+ - Patched to allow writing of console output to named pipes
21
+ - Fixed formatting of InternalSerialNumber for some Panasonic cameras
22
+ - Fixed bug in arg_files/xmp2exif.args support file
23
+
24
+ Sept. 22, 2021 - Version 12.31
25
+
26
+ - Added a new SonyModelID and a couple of new Sony lenses (thanks Jos Roost)
27
+ - Added a new Canon LensType (thanks Chris Skopec)
28
+ - Added Composite GPSLatitude/Longitude tags for Sony videos to combine the
29
+ reference hemispheres as with the Composite tags for EXIF GPS
30
+ - Decode DPX AspectRatio
31
+ - Decode more GoPro MP4 tags
32
+ - Extract ICC_Profile from CS0 object in PDF files
33
+ - Extract encrypted GPS from Akaso V1 dashcam videos (can't yet decrypt)
34
+ - Improved handling of QuickTime iTunesInfo tags, and created new "iTunes"
35
+ family 1 group for these
36
+ - Patched so NoPDFList option also applies when writing
37
+ - Patched to allow user-defined PNG TextualData tags to be written only as iTXt
38
+ - Patched PDF reader to avoid concatenating values of multiple List-type tags
39
+ into a single tag
40
+
41
+ Aug. 12, 2021 - Version 12.30 (production release)
42
+
43
+ - Added read support for Portable FloatMap (PFM) images (this was a bit of a
44
+ pain because they have the same file extension as Printer Font Metrix files)
45
+ - Added a few new Nikon LensID values (thanks LibRaw)
46
+ - Added a new Canon LensType
47
+ - Added a new Olympus CameraType (thanks LibRaw)
48
+ - Added minor warning about unknown data between JPEG segments
49
+ - Added a couple of new NikonSettings tags (thanks Warren Hatch)
50
+ - Added a new Sony LensType (thanks Jos Roost)
51
+ - Decode 'id3 ' chunk in WAV audio files
52
+ - Decode timed GPS from concatenated Garmin dashcam videos
53
+ - Decode SamsungTrailer information from sefd atom in HEIC images
54
+ - Decode more Sony MakerNote tags for the ZV-E10 (thanks Jos Roost)
55
+ - Decode DepthMapTiff from JPEG images of more Samsung models
56
+ - Decode timed GPS from M2TS videos of yet another type of dashcam
57
+ - Extract PreviewImage from Xaiomi MP4 videos
58
+ - Changed name of second EmbeddedImage in Samsung trailer to EmbeddedImage2
59
+ - Improved Dutch translations for GPS tags (thanks Peter Dubbelman)
60
+ - Allow ICC_Profile to be "deleted" from AVIF files (actually, the profile
61
+ isn't really deleted. Instead, a zero-length profile is written to allow a
62
+ profile to be added back later since QuickTime item property containers
63
+ currently can't be created)
64
+ - Patched to remove 2 GB size limit when reading Photoshop ImageSourceData
65
+
66
+ July 9, 2021 - Version 12.29
67
+
68
+ - Added a few new Nikon and Olympus lenses (thanks LibRaw)
69
+ - Improved a QuickTime "File format error" message to be more meaningful, and
70
+ made it a minor error
71
+ - Changed PNG writer to add EXIF before IDAT
72
+ - Some changes the way JUMBF metadata is handled
73
+ - Patched to read timed GPS from a different type of INSV videos
74
+ - Patched a security issue
75
+ - Fixed problem where ExifTool could hang when processing mebx timed metadata
76
+
77
+ June 22, 2021 - Version 12.28
78
+
79
+ - Added read support for Leica Image File (LIF) images
80
+ - Added a new Olympus LensType (thanks LibRaw)
81
+ - Decode another Panasonic tag (thanks LibRaw)
82
+ - Decode more timed metadata from Sony MP4 videos
83
+ - Attempt to shorten tag names for metadata in CZI files
84
+ - Allow full QuickTime Keys tag ID's in UserDefined tags (fixes backward
85
+ incompatibility introduced in 12.02)
86
+ - Patched to handle special characters in Torrent tag values
87
+
88
+ June 9, 2021 - Version 12.27
89
+
90
+ - Added a new SonyModelID value
91
+ - Added two new Nikon LensID values (thanks Daniel)
92
+ - Added a new Pentax RawDevelopmentProcess value
93
+ - Added a few new Sony LensType values (thanks Jos Roost)
94
+ - Added warning if IPTCDigest is not current
95
+ - Decode a couple more Pentax tags (thanks LibRaw)
96
+ - Decode streaming GPS from Novatek INNOVV MP4 and TS videos
97
+ - Improved tag names in config_files/covert_regions.config (thanks StarGeek)
98
+ - Changed MIME types for MS Office macro-enabled formats to add the .12
99
+ - Patched Canon LensID logic to properly identify the Canon RF 24-105mm F4 L
100
+ IS USM lens
101
+ - Patched decoding of camm6 GPSDateTime to use a flexible epoch because other
102
+ apps don't seem to use a consistent time zero
103
+ - Fixed family 7 group names for QuickTime Keys tags
104
+ - Fixed problem reading BeatsPerMinute from some MP4 files
105
+ - Fixed hemisphere problem when extracting GPS from 70mai dashcam videos
106
+
107
+ May 20, 2021 - Version 12.26 (production release)
108
+
109
+ - Added support for JPEG Stereo (JPS) images
110
+ - Added a new Sony LensType (thanks LibRaw)
111
+ - Added a new PentaxModelID (thanks LibRaw)
112
+ - Changed ExifTool namespace URI to use exiftool.org instead of exiftool.ca in
113
+ the -X option output (exiftool.ca is still recognized when reading XML)
114
+ - Improved handling of large-array warnings in -htmldump output
115
+ - Changed handling of escaped characters in #[CSTR] lines of -@ argfile
116
+ - Patched security vulnerability in argument of -lang option
117
+ - Fixed problem which could cause a "Wide character" warning and generate a
118
+ corrupted output file when writing some illegal values
119
+
10
120
  Apr. 22, 2021 - Version 12.25
11
121
 
12
122
  - JPEG XL support is now official
13
- - Added read support for Medical Research Council (MRC) image files
123
+ - Added read support for Medical Research Council (MRC) image files
14
124
  - Added ability to write a number of 3gp tags in video files
15
125
  - Added a new Sony PictureProfile value (thanks Jos Roost)
16
126
  - Added a new Sony LensType (thanks LibRaw)
@@ -33,11 +143,11 @@ Apr. 13, 2021 - Version 12.24
33
143
  - Added a new PhaseOne RawFormat value (thanks LibRaw)
34
144
  - Decode a new Sony tag (thanks Jos Roost)
35
145
  - Decode a few new Panasonic and FujiFilm tags (thanks LibRaw and Greybeard)
36
- - Patched security vulnerability in DjVu reader
37
146
  - Updated acdsee.config in distribution (thanks StarGeek)
38
147
  - Recognize AutoCAD DXF files
39
148
  - More work on experimental JUMBF read support
40
149
  - More work on experimental JPEG XL read/write support
150
+ - Patched security vulnerability in DjVu reader
41
151
 
42
152
  Apr. 1, 2021 - Version 12.23
43
153
 
@@ -71,7 +181,7 @@ Mar. 17, 2021 - Version 12.22
71
181
  - Enhanced -b option so --b suppresses tags with binary data
72
182
  - Improved flexibility when writing GPS coordinates:
73
183
  - Now pulls latitude and longitude from a combined GPSCoordinates string
74
- - Recognizes the full word "South" and "West" to write negative coordinates
184
+ - Recognize full word "South" and "West" to write negative coordinates
75
185
  - Improved warning when trying to write an integer QuickTime date/time tag and
76
186
  Time::Local is not available
77
187
  - Convert GPSSpeed from mph to km/h in timed GPS from Garmin MP4 videos
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.32"
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.32
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.32.tar.gz | tar -xf -
111
+ cd Image-ExifTool-12.32
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
  },