exiftool_vendored 13.53.0 → 13.57.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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +52 -13
  3. data/bin/MANIFEST +7 -1
  4. data/bin/META.json +1 -1
  5. data/bin/META.yml +1 -1
  6. data/bin/README +49 -49
  7. data/bin/config_files/local_time.config +27 -3
  8. data/bin/exiftool +78 -64
  9. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +4 -4
  10. data/bin/lib/Image/ExifTool/Canon.pm +14 -1
  11. data/bin/lib/Image/ExifTool/DICOM.pm +4211 -13
  12. data/bin/lib/Image/ExifTool/DJI.pm +49 -7
  13. data/bin/lib/Image/ExifTool/Exif.pm +97 -2
  14. data/bin/lib/Image/ExifTool/FlashPix.pm +1 -1
  15. data/bin/lib/Image/ExifTool/GE.pm +2 -0
  16. data/bin/lib/Image/ExifTool/GM.pm +2 -3
  17. data/bin/lib/Image/ExifTool/Garmin.pm +9678 -0
  18. data/bin/lib/Image/ExifTool/Geolocation.dat +0 -0
  19. data/bin/lib/Image/ExifTool/Geotag.pm +100 -12
  20. data/bin/lib/Image/ExifTool/Google.pm +2 -0
  21. data/bin/lib/Image/ExifTool/InfiRay.pm +2 -0
  22. data/bin/lib/Image/ExifTool/LNK.pm +4 -1
  23. data/bin/lib/Image/ExifTool/Lang/de.pm +1 -1
  24. data/bin/lib/Image/ExifTool/Lang/fr.pm +1 -1
  25. data/bin/lib/Image/ExifTool/MXF.pm +1 -1
  26. data/bin/lib/Image/ExifTool/MakerNotes.pm +1 -1
  27. data/bin/lib/Image/ExifTool/PLIST.pm +15 -4
  28. data/bin/lib/Image/ExifTool/Panasonic.pm +1 -0
  29. data/bin/lib/Image/ExifTool/Pentax.pm +3 -1
  30. data/bin/lib/Image/ExifTool/Protobuf.pm +2 -0
  31. data/bin/lib/Image/ExifTool/QuickTime.pm +39 -6
  32. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +37 -2
  33. data/bin/lib/Image/ExifTool/RIFF.pm +1 -0
  34. data/bin/lib/Image/ExifTool/Reconyx.pm +2 -0
  35. data/bin/lib/Image/ExifTool/TagLookup.pm +24 -3
  36. data/bin/lib/Image/ExifTool/TagNames.pod +5376 -20
  37. data/bin/lib/Image/ExifTool/Validate.pm +10 -1
  38. data/bin/lib/Image/ExifTool/Writer.pl +12 -4
  39. data/bin/lib/Image/ExifTool.pm +27 -13
  40. data/bin/lib/Image/ExifTool.pod +107 -90
  41. data/bin/perl-Image-ExifTool.spec +47 -47
  42. data/lib/exiftool_vendored/version.rb +1 -1
  43. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c653bfd291b7881243e271beba3bdcf6af6343647b7736ea5750a8b6427c6ba2
4
- data.tar.gz: 550046af23b550283317d05a7d3387d2e977efd2d3c74af0285808f8035c7756
3
+ metadata.gz: 50cc03b3e9c07e520c44ff04c69c350fd2e33ac50b932e4dbd3b860d59abb628
4
+ data.tar.gz: aa9c8e4bb5576e1ed3fa4927ae8d0dfc01a236235872266f3cdb386886b79d6f
5
5
  SHA512:
6
- metadata.gz: a2dabd27da939c74ff1300eaea01b3597c994d9fe456bb2d386f6d5eba0f6fb682c8c154ac3ad833e8fd7e63f421b01f3c5c0b307989cb8e030284f2a5c0bf13
7
- data.tar.gz: eb1cff971653f098e366a793786e43caa79a378134287935afd997f5dad37212f9bb6bf7b64523c85c4774e53fcd84379dc34b1016fa428f6d158011f0b69f5b
6
+ metadata.gz: a0552e09e9e31593370dec3ae1c2f64357e359358e1b3654bf29b8ffd06fea5187234451cc5ab1f86cafec96f251c4ba9d42487f1830153e0904b4c2905b196a
7
+ data.tar.gz: 7683e70b275692f0d9a4a01b02fe38fa65e971709b0a0769575c8f66c9c088b70c6f0ca942c020be528eb37e3145e4b1f6f5a74d0741ca198fd4203eccbb966f
data/bin/Changes CHANGED
@@ -4,19 +4,58 @@ 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 13.50. (Other versions are
7
+ Note: The most recent production release is Version 13.55. (Other versions are
8
8
  considered development releases, and are not uploaded to MetaCPAN.)
9
9
 
10
+ Apr. 17, 2026 - Version 13.57
11
+
12
+ - Added print conversions for Garmin FIT enum tags
13
+ - Decode a number of undocumented Garmin FIT tags
14
+ - Reverted XML patch of 13.56 which broke structured JSON output
15
+
16
+ Apr. 15, 2026 - Version 13.56 - "Exif 3.1"
17
+
18
+ - Added new tags of the Exif 3.1 specification
19
+ - Added ability to geotag directly from any supported file(s) containing GPS
20
+ - Added read support for Garmin FIT files, and the ability to use them with
21
+ the -geotag option
22
+ - Added a new Panasonic AFAreaMode (thanks Andrew)
23
+ - Decode maker notes from newer FLIR cameras (github #408)
24
+ - Improved config_files/local_time.config to add LocalTag UserParam feature
25
+ - Updated Compression value re-purposed by GoPro (github #411)
26
+ - Allow a few more different characters in the Windows -progress title string
27
+ - Avoid trying to return structured information from XML files
28
+ - Patched bug when reading QuickTime MTDT metadata (thanks Thurein Oo)
29
+ - API Changes:
30
+ - Enhanced GetValue so input tag name is no longer case sensitive
31
+
32
+ Apr. 7, 2026 - Version 13.55 (production release)
33
+
34
+ - Added a few new Windows LNK GUID values
35
+ - Extract more unknown information from QuickTime metadata tracks
36
+ - Improved config_files/local_time.config to preserve sub seconds
37
+ - Improved lens identification logic for Canon cameras in the case where the
38
+ maker notes are missing
39
+
40
+ Apr. 1, 2026 - Version 13.54
41
+
42
+ - Security update
43
+ - Added a new PentaxModelID
44
+ - Decode timed GPS from another DJI model
45
+ - Decode more information from Apple live photo videos
46
+ - Updated DICOM tags to 2026b specification
47
+ - Patched to fix failed tests on Windows (was a bug in the tests)
48
+ - Patched to allow spaces in Windows title strings
49
+
10
50
  Mar. 19, 2026 - Version 13.53
11
51
 
12
- - Added ability to read FileCreateDate (btime) on Linux systems
52
+ - Security update (Windows only)
53
+ - Added ability to read FileCreateDate (btime) on Linux systems (requires
54
+ File::StatX)
13
55
  - Added a bunch more Sony lenses (thanks Jos Roost)
14
56
  - Added warnings for possibly malicious or corrupted LNK files (github #401)
15
- - Decode timed GPS from Kenwood DRV-A510W MP4 videos
16
57
  - Decode more information from LNK files
17
- - Reduced memory requirements when running on a large number of files,
18
- particularly when the -U option is used
19
- - Patched a potential security issue in Windows version
58
+ - Decode timed GPS from Kenwood DRV-A510W MP4 videos
20
59
  - Fixed possible "undefined value" runtime warnings when reading torrent and
21
60
  WPG files (thanks Raf)
22
61
  - Fixed issue which could result in an "uninitialized value" runtime error
@@ -52,12 +91,12 @@ Feb. 19, 2026 - Version 13.51
52
91
 
53
92
  Feb. 7, 2026 - Version 13.50 (production release)
54
93
 
94
+ - Security update (MacOS only, thanks Tay Kiat Loong)
55
95
  - Added a few new Sony lenses (thanks Jos Roost)
56
96
  - Added a couple of new Canon lenses (thanks Norbert Wasser)
57
97
  - Decode another Samsung trailer tag
58
98
  - Decode BlackLevels from some Canon CRW files (github #387)
59
99
  - Updated Sony maker note decoding for the ILCE-7M5 (thanks Jos Roost)
60
- - Patched potential MacOS security issue (thanks Tay Kiat Loong)
61
100
  - Fixed -list options so reading image files beforehand doesn't add tags to
62
101
  the output when running multiple commands using the -execute feature
63
102
 
@@ -1364,7 +1403,7 @@ June 28, 2023 - Version 12.64
1364
1403
  - Added NoDups option to eliminate duplicate items from queued values when
1365
1404
  writing List-type tags
1366
1405
 
1367
- June 8, 2023 - Version 12.63
1406
+ June 8, 2023 - Version 12.63 - "Exif 3.0"
1368
1407
 
1369
1408
  - Added ability to read/write/create Brotli-compressed metadata in JXL images
1370
1409
  (requires IO::Compress::Brotli)
@@ -1865,10 +1904,10 @@ Jan. 13, 2022 - Version 12.39
1865
1904
 
1866
1905
  Dec. 20, 2021 - Version 12.38
1867
1906
 
1907
+ - Security update (thanks Joe Lothan)
1868
1908
  - Decode a number of new tags for the Nikon Z9 (thanks Warren Hatch)
1869
1909
  - Patched incorrect decoding of AEBShotCount for the Canon EOS 90D
1870
1910
  - Patched EXR reader to support long tag names
1871
- - Patched security issue (thanks Joe Lothan)
1872
1911
  - Fixed an incorrect tag ID for a new Nikon MakerNote tag (github #108)
1873
1912
  - Fixed XMP-exif:GPSMeasureMode conversions to match EXIF
1874
1913
  - Fixed problem where some namespaces may be undeclared in the -X output when
@@ -2021,13 +2060,13 @@ Aug. 12, 2021 - Version 12.30 (production release)
2021
2060
 
2022
2061
  July 9, 2021 - Version 12.29
2023
2062
 
2063
+ - Security update
2024
2064
  - Added a few new Nikon and Olympus lenses (thanks LibRaw)
2025
2065
  - Improved a QuickTime "File format error" message to be more meaningful, and
2026
2066
  made it a minor error
2027
2067
  - Changed PNG writer to add EXIF before IDAT
2028
2068
  - Some changes the way CAI JUMBF metadata is handled
2029
2069
  - Patched to read timed GPS from a different type of INSV videos
2030
- - Patched a security issue
2031
2070
  - Fixed problem where ExifTool could hang when processing mebx timed metadata
2032
2071
 
2033
2072
  June 22, 2021 - Version 12.28
@@ -2062,6 +2101,7 @@ June 9, 2021 - Version 12.27
2062
2101
 
2063
2102
  May 20, 2021 - Version 12.26 (production release)
2064
2103
 
2104
+ - Security update (for vulnerability in argument of -lang option)
2065
2105
  - Added support for JPEG Stereo (JPS) images
2066
2106
  - Added a new Sony LensType (thanks LibRaw)
2067
2107
  - Added a new PentaxModelID (thanks LibRaw)
@@ -2069,7 +2109,6 @@ May 20, 2021 - Version 12.26 (production release)
2069
2109
  the -X option output (exiftool.ca is still recognized when reading XML)
2070
2110
  - Improved handling of large-array warnings in -htmldump output
2071
2111
  - Changed handling of escaped characters in #[CSTR] lines of -@ argfile
2072
- - Patched security vulnerability in argument of -lang option
2073
2112
  - Fixed problem which could cause a "Wide character" warning and generate a
2074
2113
  corrupted output file when writing some illegal values
2075
2114
 
@@ -2096,6 +2135,7 @@ Apr. 22, 2021 - Version 12.25
2096
2135
 
2097
2136
  Apr. 13, 2021 - Version 12.24
2098
2137
 
2138
+ - Security update (vulnerability in DjVu reader)
2099
2139
  - Added a new PhaseOne RawFormat value (thanks LibRaw)
2100
2140
  - Decode a new Sony tag (thanks Jos Roost)
2101
2141
  - Decode a few new Panasonic and FujiFilm tags (thanks LibRaw and Greybeard)
@@ -2103,7 +2143,6 @@ Apr. 13, 2021 - Version 12.24
2103
2143
  - Recognize AutoCAD DXF files
2104
2144
  - More work on experimental CAI JUMBF read support
2105
2145
  - More work on experimental JPEG XL read/write support
2106
- - Patched security vulnerability in DjVu reader
2107
2146
 
2108
2147
  Apr. 1, 2021 - Version 12.23
2109
2148
 
@@ -7302,6 +7341,7 @@ May 11, 2010 - Version 8.19
7302
7341
 
7303
7342
  Apr. 16, 2010 - Version 8.18
7304
7343
 
7344
+ - Security update (when writing)
7305
7345
  - Added read support for Sony DSC-F1 PMP images
7306
7346
  - Added a new Nikon LensID (thanks Jeffrey Friedl)
7307
7347
  - Decode a number of new Sony tags (thanks Michael Reitinger)
@@ -7309,7 +7349,6 @@ Apr. 16, 2010 - Version 8.18
7309
7349
  - Preserve original file permissions and ownership when writing
7310
7350
  - Made Canon DustRemovalData writable
7311
7351
  - Changed some Pentax WhiteBalance strings for consistency
7312
- - Patched potential security problem when writing values
7313
7352
  - Fixed bug extracting unsynchronized ID3v2.4 information
7314
7353
 
7315
7354
  Apr. 9, 2010 - Version 8.17
data/bin/MANIFEST CHANGED
@@ -87,6 +87,7 @@ html/TagNames/GIF.html
87
87
  html/TagNames/GIMP.html
88
88
  html/TagNames/GM.html
89
89
  html/TagNames/GPS.html
90
+ html/TagNames/Garmin.html
90
91
  html/TagNames/GeoTiff.html
91
92
  html/TagNames/GoPro.html
92
93
  html/TagNames/Google.html
@@ -314,14 +315,15 @@ lib/Image/ExifTool/FujiFilm.pm
314
315
  lib/Image/ExifTool/GE.pm
315
316
  lib/Image/ExifTool/GIF.pm
316
317
  lib/Image/ExifTool/GIMP.pm
317
- lib/Image/ExifTool/Google.pm
318
318
  lib/Image/ExifTool/GM.pm
319
319
  lib/Image/ExifTool/GPS.pm
320
+ lib/Image/ExifTool/Garmin.pm
320
321
  lib/Image/ExifTool/GeoTiff.pm
321
322
  lib/Image/ExifTool/Geolocation.dat
322
323
  lib/Image/ExifTool/Geolocation.pm
323
324
  lib/Image/ExifTool/Geotag.pm
324
325
  lib/Image/ExifTool/GoPro.pm
326
+ lib/Image/ExifTool/Google.pm
325
327
  lib/Image/ExifTool/H264.pm
326
328
  lib/Image/ExifTool/HP.pm
327
329
  lib/Image/ExifTool/HTML.pm
@@ -629,6 +631,8 @@ t/GIMP_2.out
629
631
  t/GPS.t
630
632
  t/GPS_2.out
631
633
  t/GPS_3.out
634
+ t/Garmin.t
635
+ t/Garmin_2.out
632
636
  t/GeoTiff.t
633
637
  t/GeoTiff_2.out
634
638
  t/GeoTiff_3.out
@@ -645,6 +649,7 @@ t/Geotag.t
645
649
  t/Geotag_10.out
646
650
  t/Geotag_11.out
647
651
  t/Geotag_12.out
652
+ t/Geotag_13.out
648
653
  t/Geotag_2.out
649
654
  t/Geotag_3.out
650
655
  t/Geotag_5.out
@@ -1097,6 +1102,7 @@ t/images/GE.jpg
1097
1102
  t/images/GIF.gif
1098
1103
  t/images/GIMP.xcf
1099
1104
  t/images/GPS.jpg
1105
+ t/images/Garmin.fit
1100
1106
  t/images/GeoTiff.tif
1101
1107
  t/images/Geotag.gpx
1102
1108
  t/images/Geotag.igc
data/bin/META.json CHANGED
@@ -50,6 +50,6 @@
50
50
  }
51
51
  },
52
52
  "release_status" : "stable",
53
- "version" : "13.53",
53
+ "version" : "13.57",
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.53'
34
+ version: '13.57'
35
35
  x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
data/bin/README CHANGED
@@ -14,52 +14,52 @@ supported by ExifTool (r = read, w = write, c = create):
14
14
 
15
15
  File Types
16
16
  ------------+-------------+-------------+-------------+------------
17
- 360 r/w | DR4 r/w/c | JP2 r/w | ODS r | RW2 r/w
18
- 3FR r | DSF r | JPEG r/w | ODT r | RWL r/w
19
- 3G2 r/w | DSS r | JSON r | OFR r | RWZ r
20
- 3GP r/w | DV r | JXL r/w | OGG r | RM r
21
- 7Z r | DVB r/w | K25 r | OGV r | SEQ r
22
- A r | DVR-MS r | KDC r | ONP r | SKETCH r
23
- AA r | DYLIB r | KEY r | OPUS r | SO r
24
- AAC r | EIP r | KVAR r | ORF r/w | SR2 r/w
25
- AAE r | EPS r/w | LA r | ORI r/w | SRF r
26
- AAX r/w | EPUB r | LFP r | OTF r | SRW r/w
27
- ACR r | ERF r/w | LIF r | PAC r | SVG r
28
- AFM r | EXE r | LNK r | PAGES r | SWF r
29
- AI r/w | EXIF r/w/c | LRV r/w | PBM r/w | THM r/w
30
- AIFF r | EXR r | M2TS r | PCAP r | TIFF r/w
31
- APE r | EXV r/w/c | M4A/V r/w | PCAPNG r | TNEF r
32
- ARQ r/w | F4A/V r/w | MACOS r | PCD r | TORRENT r
33
- ARW r/w | FFF r/w | MAX r | PCX r | TTC r
34
- ASF r | FITS r | MEF r/w | PDB r | TTF r
35
- AVI r | FLA r | MIE r/w/c | PDF r/w | TXT r
36
- AVIF r/w | FLAC r | MIFF r | PEF r/w | URL r
37
- AZW r | FLIF r/w | MKA r | PFA r | VCF r
38
- BMP r | FLV r | MKS r | PFB r | VNT r
39
- BPG r | FPF r | MKV r | PFM r | VRD r/w/c
40
- BTF r | FPX r | MNG r/w | PGF r | VSD r
41
- C2PA r | GIF r/w | MOBI r | PGM r/w | VSDX r
42
- CHM r | GLV r/w | MODD r | PLIST r | WAV r
43
- COS r | GPR r/w | MOI r | PICT r | WDP r/w
44
- CR2 r/w | GZ r | MOS r/w | PMP r | WEBP r/w
45
- CR3 r/w | HDP r/w | MOV r/w | PNG r/w | WEBM r
46
- CRM r/w | HDR r | MP3 r | PPM r/w | WMA r
47
- CRW r/w | HEIC r/w | MP4 r/w | PPT r | WMV r
48
- CS1 r/w | HEIF r/w | MPC r | PPTX r | WOFF r
49
- CSV r | HTML r | MPG r | PS r/w | WOFF2 r
50
- CUR r | ICC r/w/c | MPO r/w | PSB r/w | WPG r
51
- CZI r | ICO r | MQV r/w | PSD r/w | WTV r
52
- DCM r | ICS r | MRC r | PSP r | WV r
53
- DCP r/w | IDML r | MRW r/w | QTIF r/w | X3F r/w
54
- DCR r | IIQ r/w | MXF r | R3D r | XCF r
55
- DFONT r | IND r/w | NEF r/w | RA r | XISF r
56
- DIVX r | INSP r/w | NKA r | RAF r/w | XLS r
57
- DJVU r | INSV r | NKSC r/w | RAM r | XLSX r
58
- DLL r | INX r | NRW r/w | RAR r | XMP r/w/c
59
- DNG r/w | ISO r | NUMBERS r | RAW r/w | ZIP r
60
- DOC r | ITC r | NXD r | RIFF r |
61
- DOCX r | J2C r | O r | RSRC r |
62
- DPX r | JNG r/w | ODP r | RTF r |
17
+ 360 r/w | DR4 r/w/c | JNG r/w | ODP r | RTF r
18
+ 3FR r | DSF r | JP2 r/w | ODS r | RW2 r/w
19
+ 3G2 r/w | DSS r | JPEG r/w | ODT r | RWL r/w
20
+ 3GP r/w | DV r | JSON r | OFR r | RWZ r
21
+ 7Z r | DVB r/w | JXL r/w | OGG r | RM r
22
+ A r | DVR-MS r | K25 r | OGV r | SEQ r
23
+ AA r | DYLIB r | KDC r | ONP r | SKETCH r
24
+ AAC r | EIP r | KEY r | OPUS r | SO r
25
+ AAE r | EPS r/w | KVAR r | ORF r/w | SR2 r/w
26
+ AAX r/w | EPUB r | LA r | ORI r/w | SRF r
27
+ ACR r | ERF r/w | LFP r | OTF r | SRW r/w
28
+ AFM r | EXE r | LIF r | PAC r | SVG r
29
+ AI r/w | EXIF r/w/c | LNK r | PAGES r | SWF r
30
+ AIFF r | EXR r | LRV r/w | PBM r/w | THM r/w
31
+ APE r | EXV r/w/c | M2TS r | PCAP r | TIFF r/w
32
+ ARQ r/w | F4A/V r/w | M4A/V r/w | PCAPNG r | TNEF r
33
+ ARW r/w | FFF r/w | MACOS r | PCD r | TORRENT r
34
+ ASF r | FIT r | MAX r | PCX r | TTC r
35
+ AVI r | FITS r | MEF r/w | PDB r | TTF r
36
+ AVIF r/w | FLA r | MIE r/w/c | PDF r/w | TXT r
37
+ AZW r | FLAC r | MIFF r | PEF r/w | URL r
38
+ BMP r | FLIF r/w | MKA r | PFA r | VCF r
39
+ BPG r | FLV r | MKS r | PFB r | VNT r
40
+ BTF r | FPF r | MKV r | PFM r | VRD r/w/c
41
+ C2PA r | FPX r | MNG r/w | PGF r | VSD r
42
+ CHM r | GIF r/w | MOBI r | PGM r/w | VSDX r
43
+ COS r | GLV r/w | MODD r | PLIST r | WAV r
44
+ CR2 r/w | GPR r/w | MOI r | PICT r | WDP r/w
45
+ CR3 r/w | GZ r | MOS r/w | PMP r | WEBP r/w
46
+ CRM r/w | HDP r/w | MOV r/w | PNG r/w | WEBM r
47
+ CRW r/w | HDR r | MP3 r | PPM r/w | WMA r
48
+ CS1 r/w | HEIC r/w | MP4 r/w | PPT r | WMV r
49
+ CSV r | HEIF r/w | MPC r | PPTX r | WOFF r
50
+ CUR r | HTML r | MPG r | PS r/w | WOFF2 r
51
+ CZI r | ICC r/w/c | MPO r/w | PSB r/w | WPG r
52
+ DCM r | ICO r | MQV r/w | PSD r/w | WTV r
53
+ DCP r/w | ICS r | MRC r | PSP r | WV r
54
+ DCR r | IDML r | MRW r/w | QTIF r/w | X3F r/w
55
+ DFONT r | IIQ r/w | MXF r | R3D r | XCF r
56
+ DIVX r | IND r/w | NEF r/w | RA r | XISF r
57
+ DJVU r | INSP r/w | NKA r | RAF r/w | XLS r
58
+ DLL r | INSV r | NKSC r/w | RAM r | XLSX r
59
+ DNG r/w | INX r | NRW r/w | RAR r | XMP r/w/c
60
+ DOC r | ISO r | NUMBERS r | RAW r/w | ZIP r
61
+ DOCX r | ITC r | NXD r | RIFF r |
62
+ DPX r | J2C r | O r | RSRC r |
63
63
 
64
64
  Meta Information
65
65
  ----------------------+----------------------+---------------------
@@ -111,8 +111,8 @@ your home directory, then you would type the following commands in a
111
111
  terminal window to extract and run ExifTool:
112
112
 
113
113
  cd ~/Desktop
114
- gzip -dc Image-ExifTool-13.53.tar.gz | tar -xf -
115
- cd Image-ExifTool-13.53
114
+ gzip -dc Image-ExifTool-13.57.tar.gz | tar -xf -
115
+ cd Image-ExifTool-13.57
116
116
  ./exiftool t/images/ExifTool.jpg
117
117
 
118
118
  Note: These commands extract meta information from one of the test images.
@@ -161,8 +161,8 @@ for calculating digest values and providing other features listed below:
161
161
  Win32::API (for proper handling of Windows file names/times)
162
162
  Win32::FindFile (for Windows Unicode directory support, app only)
163
163
  Win32API::File (for Windows Unicode file names and file times)
164
- Compress::Raw::Lzma (for reading encoded 7z files)
165
164
  File::StatX (for reading FileCreateDate on Linux systems)
165
+ Compress::Raw::Lzma (for reading encoded 7z files)
166
166
  IO::Compress::RawDeflate (for writing FLIF images)
167
167
  IO::Uncompress::RawInflate (for reading FLIF images)
168
168
  IO::Compress::Brotli (for writing compressed JXL metadata)
@@ -13,9 +13,18 @@
13
13
  #
14
14
  # Usage: exiftool -config local_time.config -localtime FILE
15
15
  #
16
- # Requires: ExifTool version 12.78 or later
16
+ # Options: The user parameter LocalTag may be set to the name of the
17
+ # date/time tag to use, case insensitive with optional group
18
+ # name(s). For example add this to the command to use
19
+ # SubSecDateTimeOriginal as the basis for LocalTime:
20
+ #
21
+ # -userparam localtag=subsecdatetimeoriginal
22
+ #
23
+ # Requires: ExifTool version 13.56 or later
17
24
  #
18
25
  # Revisions: 2025-10-19 - P. Harvey Created
26
+ # 2026-04-02 - PH Preserve decimal seconds up to 6 digits
27
+ # 2026-04-08 - PH Added LocalTag feature
19
28
  #------------------------------------------------------------------------------
20
29
 
21
30
  %Image::ExifTool::UserDefined = (
@@ -37,13 +46,28 @@
37
46
  require Image::ExifTool::Geolocation;
38
47
  my ($loc) = Image::ExifTool::Geolocation::Geolocate("$val[0],$val[1]");
39
48
  return undef unless $loc;
40
- my $time = $val[2] || $val[3] || $val[4] || $val[5] || $val[6];
49
+ my $pref = $self->Options(UserParam => 'LocalTag');
50
+ my $time;
51
+ if ($pref) {
52
+ my $num = { gpsdatetime => 2,
53
+ subsecdatetimeoriginal => 3,
54
+ subseccreatedate => 4,
55
+ datetimeoriginal => 5,
56
+ createdate => 6 }->{lc $pref};
57
+ if ($num) {
58
+ $time = $val[$num];
59
+ } else {
60
+ $time = $self->GetValue($pref);
61
+ }
62
+ } else {
63
+ $time = $val[2] || $val[3] || $val[4] || $val[5] || $val[6];
64
+ }
41
65
  return undef unless $time;
42
66
  my $secs = Image::ExifTool::GetUnixTime($time, 1);
43
67
  return undef unless $secs;
44
68
  my @info = Image::ExifTool::Geolocation::GetEntry($$loc[0]);
45
69
  $self->Options(TimeZone => $info[5]);
46
- my $localTime = Image::ExifTool::ConvertUnixTime($secs, 1);
70
+ my $localTime = Image::ExifTool::ConvertUnixTime($secs, 1, -6);
47
71
  $self->Options(TimeZone => undef);
48
72
  return $localTime;
49
73
  },