exiftool-vendored.pl 12.72.0 → 12.73.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.
- package/bin/Changes +17 -0
- package/bin/META.json +1 -1
- package/bin/META.yml +1 -1
- package/bin/README +3 -3
- package/bin/exiftool +28 -15
- package/bin/lib/File/RandomAccess.pm +1 -1
- package/bin/lib/File/RandomAccess.pod +2 -2
- package/bin/lib/Image/ExifTool/AAC.pm +8 -6
- package/bin/lib/Image/ExifTool/AES.pm +1 -1
- package/bin/lib/Image/ExifTool/AFCP.pm +1 -1
- package/bin/lib/Image/ExifTool/AIFF.pm +1 -1
- package/bin/lib/Image/ExifTool/APE.pm +1 -1
- package/bin/lib/Image/ExifTool/APP12.pm +1 -1
- package/bin/lib/Image/ExifTool/ASF.pm +1 -1
- package/bin/lib/Image/ExifTool/Apple.pm +1 -1
- package/bin/lib/Image/ExifTool/Audible.pm +1 -1
- package/bin/lib/Image/ExifTool/BMP.pm +1 -1
- package/bin/lib/Image/ExifTool/BPG.pm +1 -1
- package/bin/lib/Image/ExifTool/BZZ.pm +1 -1
- package/bin/lib/Image/ExifTool/BigTIFF.pm +1 -1
- package/bin/lib/Image/ExifTool/BuildTagLookup.pm +2 -2
- package/bin/lib/Image/ExifTool/CBOR.pm +1 -1
- package/bin/lib/Image/ExifTool/Canon.pm +1 -1
- package/bin/lib/Image/ExifTool/CanonCustom.pm +1 -1
- package/bin/lib/Image/ExifTool/CanonRaw.pm +1 -1
- package/bin/lib/Image/ExifTool/CanonVRD.pm +1 -1
- package/bin/lib/Image/ExifTool/CaptureOne.pm +1 -1
- package/bin/lib/Image/ExifTool/Casio.pm +1 -1
- package/bin/lib/Image/ExifTool/Charset.pm +1 -1
- package/bin/lib/Image/ExifTool/DICOM.pm +1 -1
- package/bin/lib/Image/ExifTool/DJI.pm +1 -1
- package/bin/lib/Image/ExifTool/DNG.pm +1 -1
- package/bin/lib/Image/ExifTool/DPX.pm +1 -1
- package/bin/lib/Image/ExifTool/DV.pm +1 -1
- package/bin/lib/Image/ExifTool/DarwinCore.pm +1 -1
- package/bin/lib/Image/ExifTool/DjVu.pm +1 -1
- package/bin/lib/Image/ExifTool/EXE.pm +1 -1
- package/bin/lib/Image/ExifTool/Exif.pm +1 -1
- package/bin/lib/Image/ExifTool/FITS.pm +1 -1
- package/bin/lib/Image/ExifTool/FLAC.pm +1 -1
- package/bin/lib/Image/ExifTool/FLIF.pm +1 -1
- package/bin/lib/Image/ExifTool/FLIR.pm +1 -1
- package/bin/lib/Image/ExifTool/Fixup.pm +1 -1
- package/bin/lib/Image/ExifTool/Flash.pm +1 -1
- package/bin/lib/Image/ExifTool/FlashPix.pm +60 -7
- package/bin/lib/Image/ExifTool/Font.pm +1 -1
- package/bin/lib/Image/ExifTool/FotoStation.pm +1 -1
- package/bin/lib/Image/ExifTool/FujiFilm.pm +1 -1
- package/bin/lib/Image/ExifTool/GE.pm +1 -1
- package/bin/lib/Image/ExifTool/GIF.pm +1 -1
- package/bin/lib/Image/ExifTool/GIMP.pm +1 -1
- package/bin/lib/Image/ExifTool/GPS.pm +1 -1
- package/bin/lib/Image/ExifTool/GeoTiff.pm +1 -1
- package/bin/lib/Image/ExifTool/Geotag.pm +1 -1
- package/bin/lib/Image/ExifTool/GoPro.pm +1 -1
- package/bin/lib/Image/ExifTool/H264.pm +1 -1
- package/bin/lib/Image/ExifTool/HP.pm +1 -1
- package/bin/lib/Image/ExifTool/HTML.pm +1 -1
- package/bin/lib/Image/ExifTool/HtmlDump.pm +1 -1
- package/bin/lib/Image/ExifTool/ICC_Profile.pm +1 -1
- package/bin/lib/Image/ExifTool/ICO.pm +1 -1
- package/bin/lib/Image/ExifTool/ID3.pm +1 -1
- package/bin/lib/Image/ExifTool/IPTC.pm +1 -1
- package/bin/lib/Image/ExifTool/ISO.pm +1 -1
- package/bin/lib/Image/ExifTool/ITC.pm +1 -1
- package/bin/lib/Image/ExifTool/Import.pm +1 -1
- package/bin/lib/Image/ExifTool/InDesign.pm +1 -1
- package/bin/lib/Image/ExifTool/InfiRay.pm +1 -1
- package/bin/lib/Image/ExifTool/JPEG.pm +5 -2
- package/bin/lib/Image/ExifTool/JPEGDigest.pm +1 -1
- package/bin/lib/Image/ExifTool/JSON.pm +1 -1
- package/bin/lib/Image/ExifTool/JVC.pm +3 -3
- package/bin/lib/Image/ExifTool/Jpeg2000.pm +17 -6
- package/bin/lib/Image/ExifTool/Kodak.pm +1 -1
- package/bin/lib/Image/ExifTool/KyoceraRaw.pm +1 -1
- package/bin/lib/Image/ExifTool/LIF.pm +1 -1
- package/bin/lib/Image/ExifTool/LNK.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/cs.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/de.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/en_ca.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/en_gb.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/es.pm +4 -4
- package/bin/lib/Image/ExifTool/Lang/fi.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/fr.pm +4 -5
- package/bin/lib/Image/ExifTool/Lang/it.pm +3 -3
- package/bin/lib/Image/ExifTool/Lang/ja.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/ko.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/nl.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/pl.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/ru.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/sk.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/sv.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/tr.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/zh_cn.pm +1 -1
- package/bin/lib/Image/ExifTool/Lang/zh_tw.pm +1 -1
- package/bin/lib/Image/ExifTool/Leaf.pm +3 -3
- package/bin/lib/Image/ExifTool/Lytro.pm +1 -1
- package/bin/lib/Image/ExifTool/M2TS.pm +1 -1
- package/bin/lib/Image/ExifTool/MIE.pm +3 -3
- package/bin/lib/Image/ExifTool/MIEUnits.pod +1 -1
- package/bin/lib/Image/ExifTool/MIFF.pm +1 -1
- package/bin/lib/Image/ExifTool/MISB.pm +1 -1
- package/bin/lib/Image/ExifTool/MNG.pm +1 -1
- package/bin/lib/Image/ExifTool/MOI.pm +1 -1
- package/bin/lib/Image/ExifTool/MPC.pm +1 -1
- package/bin/lib/Image/ExifTool/MPEG.pm +1 -1
- package/bin/lib/Image/ExifTool/MPF.pm +1 -1
- package/bin/lib/Image/ExifTool/MRC.pm +1 -1
- package/bin/lib/Image/ExifTool/MWG.pm +1 -1
- package/bin/lib/Image/ExifTool/MXF.pm +1 -1
- package/bin/lib/Image/ExifTool/MacOS.pm +1 -1
- package/bin/lib/Image/ExifTool/MakerNotes.pm +1 -1
- package/bin/lib/Image/ExifTool/Matroska.pm +1 -1
- package/bin/lib/Image/ExifTool/Microsoft.pm +1 -1
- package/bin/lib/Image/ExifTool/Minolta.pm +1 -1
- package/bin/lib/Image/ExifTool/MinoltaRaw.pm +1 -1
- package/bin/lib/Image/ExifTool/Motorola.pm +1 -1
- package/bin/lib/Image/ExifTool/Nikon.pm +9 -8
- package/bin/lib/Image/ExifTool/NikonCapture.pm +1 -1
- package/bin/lib/Image/ExifTool/NikonCustom.pm +1 -1
- package/bin/lib/Image/ExifTool/NikonSettings.pm +1 -1
- package/bin/lib/Image/ExifTool/Nintendo.pm +1 -1
- package/bin/lib/Image/ExifTool/OOXML.pm +1 -1
- package/bin/lib/Image/ExifTool/Ogg.pm +1 -1
- package/bin/lib/Image/ExifTool/Olympus.pm +1 -1
- package/bin/lib/Image/ExifTool/OpenEXR.pm +1 -1
- package/bin/lib/Image/ExifTool/Opus.pm +1 -1
- package/bin/lib/Image/ExifTool/Other.pm +1 -1
- package/bin/lib/Image/ExifTool/PCX.pm +1 -1
- package/bin/lib/Image/ExifTool/PDF.pm +1 -1
- package/bin/lib/Image/ExifTool/PGF.pm +1 -1
- package/bin/lib/Image/ExifTool/PICT.pm +1 -1
- package/bin/lib/Image/ExifTool/PLIST.pm +1 -1
- package/bin/lib/Image/ExifTool/PLUS.pm +1 -1
- package/bin/lib/Image/ExifTool/PNG.pm +24 -2
- package/bin/lib/Image/ExifTool/PPM.pm +1 -1
- package/bin/lib/Image/ExifTool/PSP.pm +1 -1
- package/bin/lib/Image/ExifTool/Palm.pm +1 -1
- package/bin/lib/Image/ExifTool/Panasonic.pm +27 -2
- package/bin/lib/Image/ExifTool/PanasonicRaw.pm +1 -1
- package/bin/lib/Image/ExifTool/Parrot.pm +1 -1
- package/bin/lib/Image/ExifTool/Pentax.pm +32 -11
- package/bin/lib/Image/ExifTool/PhaseOne.pm +4 -4
- package/bin/lib/Image/ExifTool/PhotoCD.pm +1 -1
- package/bin/lib/Image/ExifTool/PhotoMechanic.pm +1 -1
- package/bin/lib/Image/ExifTool/Photoshop.pm +1 -1
- package/bin/lib/Image/ExifTool/PostScript.pm +1 -1
- package/bin/lib/Image/ExifTool/PrintIM.pm +1 -1
- package/bin/lib/Image/ExifTool/Qualcomm.pm +1 -1
- package/bin/lib/Image/ExifTool/QuickTime.pm +21 -1
- package/bin/lib/Image/ExifTool/QuickTimeStream.pl +90 -2
- package/bin/lib/Image/ExifTool/RIFF.pm +1 -1
- package/bin/lib/Image/ExifTool/RSRC.pm +1 -1
- package/bin/lib/Image/ExifTool/RTF.pm +1 -1
- package/bin/lib/Image/ExifTool/Radiance.pm +1 -1
- package/bin/lib/Image/ExifTool/Rawzor.pm +1 -1
- package/bin/lib/Image/ExifTool/Real.pm +1 -1
- package/bin/lib/Image/ExifTool/Reconyx.pm +1 -1
- package/bin/lib/Image/ExifTool/Red.pm +1 -1
- package/bin/lib/Image/ExifTool/Ricoh.pm +3 -3
- package/bin/lib/Image/ExifTool/Samsung.pm +1 -1
- package/bin/lib/Image/ExifTool/Sanyo.pm +1 -1
- package/bin/lib/Image/ExifTool/Scalado.pm +1 -1
- package/bin/lib/Image/ExifTool/Shift.pl +1 -1
- package/bin/lib/Image/ExifTool/Shortcuts.pm +1 -1
- package/bin/lib/Image/ExifTool/Sigma.pm +1 -1
- package/bin/lib/Image/ExifTool/SigmaRaw.pm +1 -1
- package/bin/lib/Image/ExifTool/Sony.pm +3 -3
- package/bin/lib/Image/ExifTool/SonyIDC.pm +1 -1
- package/bin/lib/Image/ExifTool/Stim.pm +1 -1
- package/bin/lib/Image/ExifTool/TagInfoXML.pm +2 -2
- package/bin/lib/Image/ExifTool/TagLookup.pm +3872 -3858
- package/bin/lib/Image/ExifTool/TagNames.pod +11416 -11382
- package/bin/lib/Image/ExifTool/Text.pm +1 -1
- package/bin/lib/Image/ExifTool/Theora.pm +1 -1
- package/bin/lib/Image/ExifTool/Torrent.pm +1 -1
- package/bin/lib/Image/ExifTool/Unknown.pm +1 -1
- package/bin/lib/Image/ExifTool/VCard.pm +1 -1
- package/bin/lib/Image/ExifTool/Validate.pm +1 -1
- package/bin/lib/Image/ExifTool/Vorbis.pm +1 -1
- package/bin/lib/Image/ExifTool/WPG.pm +1 -1
- package/bin/lib/Image/ExifTool/WTV.pm +1 -1
- package/bin/lib/Image/ExifTool/WriteCanonRaw.pl +1 -1
- package/bin/lib/Image/ExifTool/WriteExif.pl +1 -1
- package/bin/lib/Image/ExifTool/WriteIPTC.pl +1 -1
- package/bin/lib/Image/ExifTool/WritePDF.pl +1 -1
- package/bin/lib/Image/ExifTool/WritePNG.pl +1 -1
- package/bin/lib/Image/ExifTool/WritePhotoshop.pl +1 -1
- package/bin/lib/Image/ExifTool/WritePostScript.pl +1 -1
- package/bin/lib/Image/ExifTool/WriteQuickTime.pl +4 -1
- package/bin/lib/Image/ExifTool/WriteRIFF.pl +1 -1
- package/bin/lib/Image/ExifTool/WriteXMP.pl +5 -3
- package/bin/lib/Image/ExifTool/Writer.pl +6 -1
- package/bin/lib/Image/ExifTool/XISF.pm +1 -1
- package/bin/lib/Image/ExifTool/XMP.pm +19 -3
- package/bin/lib/Image/ExifTool/XMP2.pl +1 -1
- package/bin/lib/Image/ExifTool/XMPStruct.pl +1 -1
- package/bin/lib/Image/ExifTool/ZIP.pm +1 -1
- package/bin/lib/Image/ExifTool/ZISRAW.pm +1 -1
- package/bin/lib/Image/ExifTool/iWork.pm +1 -1
- package/bin/lib/Image/ExifTool.pm +18 -3
- package/bin/lib/Image/ExifTool.pod +10 -2
- package/bin/perl-Image-ExifTool.spec +1 -1
- package/bin/pp_build_exe.args +5 -5
- package/package.json +3 -3
|
@@ -221,7 +221,7 @@ characteristics of TXT and CSV files.
|
|
|
221
221
|
|
|
222
222
|
=head1 AUTHOR
|
|
223
223
|
|
|
224
|
-
Copyright 2003-
|
|
224
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
225
225
|
|
|
226
226
|
This library is free software; you can redistribute it and/or modify it
|
|
227
227
|
under the same terms as Perl itself.
|
|
@@ -122,7 +122,7 @@ information from Theora video streams.
|
|
|
122
122
|
|
|
123
123
|
=head1 AUTHOR
|
|
124
124
|
|
|
125
|
-
Copyright 2003-
|
|
125
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
126
126
|
|
|
127
127
|
This library is free software; you can redistribute it and/or modify it
|
|
128
128
|
under the same terms as Perl itself.
|
|
@@ -309,7 +309,7 @@ bencoded information from BitTorrent files.
|
|
|
309
309
|
|
|
310
310
|
=head1 AUTHOR
|
|
311
311
|
|
|
312
|
-
Copyright 2003-
|
|
312
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
313
313
|
|
|
314
314
|
This library is free software; you can redistribute it and/or modify it
|
|
315
315
|
under the same terms as Perl itself.
|
|
@@ -53,7 +53,7 @@ unknown manufacturers.
|
|
|
53
53
|
|
|
54
54
|
=head1 AUTHOR
|
|
55
55
|
|
|
56
|
-
Copyright 2003-
|
|
56
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
57
57
|
|
|
58
58
|
This library is free software; you can redistribute it and/or modify it
|
|
59
59
|
under the same terms as Perl itself.
|
|
@@ -430,7 +430,7 @@ information from vCard VCF and iCalendar ICS files.
|
|
|
430
430
|
|
|
431
431
|
=head1 AUTHOR
|
|
432
432
|
|
|
433
|
-
Copyright 2003-
|
|
433
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
434
434
|
|
|
435
435
|
This library is free software; you can redistribute it and/or modify it
|
|
436
436
|
under the same terms as Perl itself.
|
|
@@ -678,7 +678,7 @@ ExifTool Validate option is enabled.
|
|
|
678
678
|
|
|
679
679
|
=head1 AUTHOR
|
|
680
680
|
|
|
681
|
-
Copyright 2003-
|
|
681
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
682
682
|
|
|
683
683
|
This library is free software; you can redistribute it and/or modify it
|
|
684
684
|
under the same terms as Perl itself.
|
|
@@ -228,7 +228,7 @@ information from Ogg Vorbis audio headers.
|
|
|
228
228
|
|
|
229
229
|
=head1 AUTHOR
|
|
230
230
|
|
|
231
|
-
Copyright 2003-
|
|
231
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
232
232
|
|
|
233
233
|
This library is free software; you can redistribute it and/or modify it
|
|
234
234
|
under the same terms as Perl itself.
|
|
@@ -271,7 +271,7 @@ This module contains definitions required by Image::ExifTool to read WPG
|
|
|
271
271
|
|
|
272
272
|
=head1 AUTHOR
|
|
273
273
|
|
|
274
|
-
Copyright 2003-
|
|
274
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
275
275
|
|
|
276
276
|
This library is free software; you can redistribute it and/or modify it
|
|
277
277
|
under the same terms as Perl itself.
|
|
@@ -297,7 +297,7 @@ This module contains definitions required by Image::ExifTool to read WTV
|
|
|
297
297
|
|
|
298
298
|
=head1 AUTHOR
|
|
299
299
|
|
|
300
|
-
Copyright 2003-
|
|
300
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
301
301
|
|
|
302
302
|
This library is free software; you can redistribute it and/or modify it
|
|
303
303
|
under the same terms as Perl itself.
|
|
@@ -630,7 +630,7 @@ JPEG files, and would lead to far fewer problems with corrupted metadata.
|
|
|
630
630
|
|
|
631
631
|
=head1 AUTHOR
|
|
632
632
|
|
|
633
|
-
Copyright 2003-
|
|
633
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
634
634
|
|
|
635
635
|
This library is free software; you can redistribute it and/or modify it
|
|
636
636
|
under the same terms as Perl itself.
|
|
@@ -2722,7 +2722,7 @@ This file contains routines to write EXIF metadata.
|
|
|
2722
2722
|
|
|
2723
2723
|
=head1 AUTHOR
|
|
2724
2724
|
|
|
2725
|
-
Copyright 2003-
|
|
2725
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
2726
2726
|
|
|
2727
2727
|
This library is free software; you can redistribute it and/or modify it
|
|
2728
2728
|
under the same terms as Perl itself.
|
|
@@ -711,7 +711,7 @@ seldom-used routines.
|
|
|
711
711
|
|
|
712
712
|
=head1 AUTHOR
|
|
713
713
|
|
|
714
|
-
Copyright 2003-
|
|
714
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
715
715
|
|
|
716
716
|
This library is free software; you can redistribute it and/or modify it
|
|
717
717
|
under the same terms as Perl itself.
|
|
@@ -753,7 +753,7 @@ C<PDF-update> pseudo group).
|
|
|
753
753
|
|
|
754
754
|
=head1 AUTHOR
|
|
755
755
|
|
|
756
|
-
Copyright 2003-
|
|
756
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
757
757
|
|
|
758
758
|
This library is free software; you can redistribute it and/or modify it
|
|
759
759
|
under the same terms as Perl itself.
|
|
@@ -401,7 +401,7 @@ strings).
|
|
|
401
401
|
|
|
402
402
|
=head1 AUTHOR
|
|
403
403
|
|
|
404
|
-
Copyright 2003-
|
|
404
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
405
405
|
|
|
406
406
|
This library is free software; you can redistribute it and/or modify it
|
|
407
407
|
under the same terms as Perl itself.
|
|
@@ -257,7 +257,7 @@ default resource name, and applied if no appended name is provided.
|
|
|
257
257
|
|
|
258
258
|
=head1 AUTHOR
|
|
259
259
|
|
|
260
|
-
Copyright 2003-
|
|
260
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
261
261
|
|
|
262
262
|
This library is free software; you can redistribute it and/or modify it
|
|
263
263
|
under the same terms as Perl itself.
|
|
@@ -687,7 +687,7 @@ Thanks to Tim Kordick for his help testing the EPS writer.
|
|
|
687
687
|
|
|
688
688
|
=head1 AUTHOR
|
|
689
689
|
|
|
690
|
-
Copyright 2003-
|
|
690
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
691
691
|
|
|
692
692
|
This library is free software; you can redistribute it and/or modify it
|
|
693
693
|
under the same terms as Perl itself.
|
|
@@ -169,8 +169,11 @@ sub ConvInvISO6709($)
|
|
|
169
169
|
# with more than 5 digits after the decimal place:
|
|
170
170
|
# https://exiftool.org/forum/index.php?topic=11055.msg67171#msg67171 )
|
|
171
171
|
my @fmt = ('%s%02d.%s%s','%s%03d.%s%s','%s%d.%s%s');
|
|
172
|
+
my @limit = (90,180);
|
|
172
173
|
foreach (@a) {
|
|
173
174
|
return undef unless Image::ExifTool::IsFloat($_);
|
|
175
|
+
my $lim = shift @limit;
|
|
176
|
+
warn((@limit ? 'Lat' : 'Long') . "itude out of range\n") if $lim and abs($_) > $lim;
|
|
174
177
|
$_ =~ s/^([-+]?)(\d+)\.?(\d*)/sprintf(shift(@fmt),$1||'+',$2,$3,length($3)<3 ? '0'x(3-length($3)) : '')/e;
|
|
175
178
|
}
|
|
176
179
|
return join '', @a, '/';
|
|
@@ -1958,7 +1961,7 @@ QuickTime-based file formats like MOV and MP4.
|
|
|
1958
1961
|
|
|
1959
1962
|
=head1 AUTHOR
|
|
1960
1963
|
|
|
1961
|
-
Copyright 2003-
|
|
1964
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
1962
1965
|
|
|
1963
1966
|
This library is free software; you can redistribute it and/or modify it
|
|
1964
1967
|
under the same terms as Perl itself.
|
|
@@ -363,7 +363,7 @@ Currently writes only WebP files.
|
|
|
363
363
|
|
|
364
364
|
=head1 AUTHOR
|
|
365
365
|
|
|
366
|
-
Copyright 2003-
|
|
366
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
367
367
|
|
|
368
368
|
This library is free software; you can redistribute it and/or modify it
|
|
369
369
|
under the same terms as Perl itself.
|
|
@@ -137,13 +137,15 @@ sub ValidateProperty($$;$)
|
|
|
137
137
|
|
|
138
138
|
#------------------------------------------------------------------------------
|
|
139
139
|
# Check XMP date values for validity and format accordingly
|
|
140
|
-
# Inputs: 1) EXIF-format date string
|
|
140
|
+
# Inputs: 1) EXIF-format date string (XMP-format also accepted)
|
|
141
141
|
# Returns: XMP date/time string (or undef on error)
|
|
142
142
|
sub FormatXMPDate($)
|
|
143
143
|
{
|
|
144
144
|
my $val = shift;
|
|
145
145
|
my ($y, $m, $d, $t, $tz);
|
|
146
|
-
if ($val =~ /(\d{4}):(\d{2}):(\d{2}) (\d{2}:\d{2}(?::\d{2}(?:\.\d*)?)?)(.*)/
|
|
146
|
+
if ($val =~ /(\d{4}):(\d{2}):(\d{2}) (\d{2}:\d{2}(?::\d{2}(?:\.\d*)?)?)(.*)/ or
|
|
147
|
+
$val =~ /(\d{4})-(\d{2})-(\d{2})T(\d{2}:\d{2}(?::\d{2}(?:\.\d*)?)?)(.*)/)
|
|
148
|
+
{
|
|
147
149
|
($y, $m, $d, $t, $tz) = ($1, $2, $3, $4, $5);
|
|
148
150
|
$val = "$y-$m-${d}T$t";
|
|
149
151
|
} elsif ($val =~ /^\s*\d{4}(:\d{2}){0,2}\s*$/) {
|
|
@@ -1635,7 +1637,7 @@ This file contains routines to write XMP metadata.
|
|
|
1635
1637
|
|
|
1636
1638
|
=head1 AUTHOR
|
|
1637
1639
|
|
|
1638
|
-
Copyright 2003-
|
|
1640
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
1639
1641
|
|
|
1640
1642
|
This library is free software; you can redistribute it and/or modify it
|
|
1641
1643
|
under the same terms as Perl itself.
|
|
@@ -1302,6 +1302,7 @@ sub SetNewValuesFromFile($$;@)
|
|
|
1302
1302
|
ImageHashType => $$options{ImageHashType},
|
|
1303
1303
|
Lang => $$options{Lang},
|
|
1304
1304
|
LargeFileSupport=> $$options{LargeFileSupport},
|
|
1305
|
+
LimitLongValues => 10000000, # (10 MB)
|
|
1305
1306
|
List => 1,
|
|
1306
1307
|
ListItem => $$options{ListItem},
|
|
1307
1308
|
ListSep => $$options{ListSep},
|
|
@@ -4506,6 +4507,7 @@ sub HexDump($;$%)
|
|
|
4506
4507
|
# Count => number of values
|
|
4507
4508
|
# Extra => Extra Verbose=2 information to put after tag number
|
|
4508
4509
|
# Table => Reference to tag table
|
|
4510
|
+
# Name => Name to use for unknown tag
|
|
4509
4511
|
# --> plus any of these HexDump() options: Start, Addr, Width
|
|
4510
4512
|
sub VerboseInfo($$$%)
|
|
4511
4513
|
{
|
|
@@ -4523,6 +4525,9 @@ sub VerboseInfo($$$%)
|
|
|
4523
4525
|
# get tag name
|
|
4524
4526
|
if ($tagInfo and $$tagInfo{Name}) {
|
|
4525
4527
|
$tag = $$tagInfo{Name};
|
|
4528
|
+
} elsif ($parms{Name}) { # (used for PNG Plus FPX tags)
|
|
4529
|
+
$tag = $parms{Name};
|
|
4530
|
+
undef $hexID;
|
|
4526
4531
|
} else {
|
|
4527
4532
|
my $prefix;
|
|
4528
4533
|
$prefix = $parms{Table}{TAG_PREFIX} if $parms{Table};
|
|
@@ -7304,7 +7309,7 @@ used routines.
|
|
|
7304
7309
|
|
|
7305
7310
|
=head1 AUTHOR
|
|
7306
7311
|
|
|
7307
|
-
Copyright 2003-
|
|
7312
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
7308
7313
|
|
|
7309
7314
|
This library is free software; you can redistribute it and/or modify it
|
|
7310
7315
|
under the same terms as Perl itself.
|
|
@@ -163,7 +163,7 @@ information from XISF (Extensible Image Serialization Format) images.
|
|
|
163
163
|
|
|
164
164
|
=head1 AUTHOR
|
|
165
165
|
|
|
166
|
-
Copyright 2003-
|
|
166
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
167
167
|
|
|
168
168
|
This library is free software; you can redistribute it and/or modify it
|
|
169
169
|
under the same terms as Perl itself.
|
|
@@ -50,7 +50,7 @@ use Image::ExifTool::Exif;
|
|
|
50
50
|
use Image::ExifTool::GPS;
|
|
51
51
|
require Exporter;
|
|
52
52
|
|
|
53
|
-
$VERSION = '3.
|
|
53
|
+
$VERSION = '3.62';
|
|
54
54
|
@ISA = qw(Exporter);
|
|
55
55
|
@EXPORT_OK = qw(EscapeXML UnescapeXML);
|
|
56
56
|
|
|
@@ -201,6 +201,7 @@ my %xmpNS = (
|
|
|
201
201
|
nine => 'http://ns.nikon.com/nine/1.0/',
|
|
202
202
|
hdr_metadata => 'http://ns.adobe.com/hdr-metadata/1.0/',
|
|
203
203
|
hdrgm => 'http://ns.adobe.com/hdr-gain-map/1.0/',
|
|
204
|
+
xmpDSA => 'http://leica-camera.com/digital-shift-assistant/1.0/',
|
|
204
205
|
# Note: Not included due to namespace prefix conflict with Device:Container
|
|
205
206
|
# Container => 'http://ns.google.com/photos/1.0/container/',
|
|
206
207
|
);
|
|
@@ -921,6 +922,10 @@ my %sRangeMask = (
|
|
|
921
922
|
Name => 'hdrgm',
|
|
922
923
|
SubDirectory => { TagTable => 'Image::ExifTool::XMP::hdrgm' },
|
|
923
924
|
},
|
|
925
|
+
xmpDSA => {
|
|
926
|
+
Name => 'xmpDSA',
|
|
927
|
+
SubDirectory => { TagTable => 'Image::ExifTool::Panasonic::DSA' },
|
|
928
|
+
},
|
|
924
929
|
# Note: Note included due to namespace prefix conflict with Device:Container
|
|
925
930
|
# Container => {
|
|
926
931
|
# Name => 'Container',
|
|
@@ -4158,7 +4163,18 @@ sub ProcessXMP($$;$)
|
|
|
4158
4163
|
$dataLen = $$dirInfo{DataLen} || length($$dataPt);
|
|
4159
4164
|
# check leading BOM (may indicate double-encoded UTF)
|
|
4160
4165
|
pos($$dataPt) = $dirStart;
|
|
4161
|
-
|
|
4166
|
+
if ($$dataPt =~ /\G((\0\0)?\xfe\xff|\xff\xfe(\0\0)?|\xef\xbb\xbf)\0*<\0*\?\0*x\0*p\0*a\0*c\0*k\0*e\0*t/g) {
|
|
4167
|
+
$double = $1
|
|
4168
|
+
} else {
|
|
4169
|
+
# handle UTF-16/32 XML
|
|
4170
|
+
pos($$dataPt) = $dirStart;
|
|
4171
|
+
if ($$dataPt =~ /\G((\0\0)?\xfe\xff|\xff\xfe(\0\0)?|\xef\xbb\xbf)\0*<\0*\?\0*x\0*m\0*l\0* /g) {
|
|
4172
|
+
my $tmp = $1;
|
|
4173
|
+
$fmt = $tmp =~ /\xfe\xff/ ? 'n' : 'v';
|
|
4174
|
+
$fmt = uc($fmt) if $tmp =~ /\0\0/;
|
|
4175
|
+
$isXML = 1;
|
|
4176
|
+
}
|
|
4177
|
+
}
|
|
4162
4178
|
} else {
|
|
4163
4179
|
my ($type, $mime, $buf2, $buf3);
|
|
4164
4180
|
# read information from XMP file
|
|
@@ -4516,7 +4532,7 @@ information.
|
|
|
4516
4532
|
|
|
4517
4533
|
=head1 AUTHOR
|
|
4518
4534
|
|
|
4519
|
-
Copyright 2003-
|
|
4535
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
4520
4536
|
|
|
4521
4537
|
This library is free software; you can redistribute it and/or modify it
|
|
4522
4538
|
under the same terms as Perl itself.
|
|
@@ -2228,7 +2228,7 @@ This file contains definitions for less common XMP namespaces.
|
|
|
2228
2228
|
|
|
2229
2229
|
=head1 AUTHOR
|
|
2230
2230
|
|
|
2231
|
-
Copyright 2003-
|
|
2231
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
2232
2232
|
|
|
2233
2233
|
This library is free software; you can redistribute it and/or modify it
|
|
2234
2234
|
under the same terms as Perl itself.
|
|
@@ -937,7 +937,7 @@ information.
|
|
|
937
937
|
|
|
938
938
|
=head1 AUTHOR
|
|
939
939
|
|
|
940
|
-
Copyright 2003-
|
|
940
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
941
941
|
|
|
942
942
|
This library is free software; you can redistribute it and/or modify it
|
|
943
943
|
under the same terms as Perl itself.
|
|
@@ -836,7 +836,7 @@ Electronic Publication (EPUB), and Sketch design files (SKETCH).
|
|
|
836
836
|
|
|
837
837
|
=head1 AUTHOR
|
|
838
838
|
|
|
839
|
-
Copyright 2003-
|
|
839
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
840
840
|
|
|
841
841
|
This library is free software; you can redistribute it and/or modify it
|
|
842
842
|
under the same terms as Perl itself.
|
|
@@ -220,7 +220,7 @@ metadata from Zeiss Integrated Software RAW (ZISRAW) CZI files.
|
|
|
220
220
|
|
|
221
221
|
=head1 AUTHOR
|
|
222
222
|
|
|
223
|
-
Copyright 2003-
|
|
223
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
224
224
|
|
|
225
225
|
This library is free software; you can redistribute it and/or modify it
|
|
226
226
|
under the same terms as Perl itself.
|
|
@@ -215,7 +215,7 @@ information from Apple iWork '09 XML+ZIP files.
|
|
|
215
215
|
|
|
216
216
|
=head1 AUTHOR
|
|
217
217
|
|
|
218
|
-
Copyright 2003-
|
|
218
|
+
Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
219
219
|
|
|
220
220
|
This library is free software; you can redistribute it and/or modify it
|
|
221
221
|
under the same terms as Perl itself.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
# Revisions: Nov. 12/2003 - P. Harvey Created
|
|
9
9
|
# (See html/history.html for revision history)
|
|
10
10
|
#
|
|
11
|
-
# Legal: Copyright (c) 2003-
|
|
11
|
+
# Legal: Copyright (c) 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
12
12
|
# This library is free software; you can redistribute it and/or
|
|
13
13
|
# modify it under the same terms as Perl itself.
|
|
14
14
|
#------------------------------------------------------------------------------
|
|
@@ -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.
|
|
32
|
+
$VERSION = '12.73';
|
|
33
33
|
$RELEASE = '';
|
|
34
34
|
@ISA = qw(Exporter);
|
|
35
35
|
%EXPORT_TAGS = (
|
|
@@ -1111,6 +1111,7 @@ my @availableOptions = (
|
|
|
1111
1111
|
[ 'ImageHashType', 'MD5', 'image hash algorithm' ],
|
|
1112
1112
|
[ 'Lang', $defaultLang, 'localized language for descriptions etc' ],
|
|
1113
1113
|
[ 'LargeFileSupport', undef, 'flag indicating support of 64-bit file offsets' ],
|
|
1114
|
+
[ 'LimitLongValues', 60, 'length limit for long values' ],
|
|
1114
1115
|
[ 'List', undef, '[deprecated, use ListSplit and ListJoin instead]' ],
|
|
1115
1116
|
[ 'ListItem', undef, 'used to return a specific item from lists' ],
|
|
1116
1117
|
[ 'ListJoin', ', ', 'join lists together with this separator' ],
|
|
@@ -6317,6 +6318,20 @@ sub InverseFileName($$)
|
|
|
6317
6318
|
return $val;
|
|
6318
6319
|
}
|
|
6319
6320
|
|
|
6321
|
+
#------------------------------------------------------------------------------
|
|
6322
|
+
# Limit length of long values (to be used in PrintConv)
|
|
6323
|
+
# Inputs: 0) string value, 1) ExifTool ref
|
|
6324
|
+
# Returns: length-limited value
|
|
6325
|
+
sub LimitLongValues($$)
|
|
6326
|
+
{
|
|
6327
|
+
my ($str, $self) = @_;
|
|
6328
|
+
my $lim = $$self{OPTIONS}{LimitLongValues};
|
|
6329
|
+
if (length($str) > $lim and $lim >= 5) {
|
|
6330
|
+
$str = substr($str,0,$lim-5) . "[...]";
|
|
6331
|
+
}
|
|
6332
|
+
return $str;
|
|
6333
|
+
}
|
|
6334
|
+
|
|
6320
6335
|
#------------------------------------------------------------------------------
|
|
6321
6336
|
# Save information for HTML dump
|
|
6322
6337
|
# Inputs: 0) ExifTool hash ref, 1) start offset, 2) data size
|
|
@@ -8428,7 +8443,7 @@ sub GetTagInfo($$$;$$$)
|
|
|
8428
8443
|
$printConv = $$tagTablePtr{PRINT_CONV};
|
|
8429
8444
|
} else {
|
|
8430
8445
|
# limit length of printout (can be very long)
|
|
8431
|
-
$printConv =
|
|
8446
|
+
$printConv = \&LimitLongValues;
|
|
8432
8447
|
}
|
|
8433
8448
|
my $hex = sprintf("0x%.4x", $tagID);
|
|
8434
8449
|
my $prefix = $$tagTablePtr{TAG_PREFIX};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
#
|
|
6
6
|
# URL: https://exiftool.org/
|
|
7
7
|
#
|
|
8
|
-
# Legal: Copyright (c) 2003-
|
|
8
|
+
# Legal: Copyright (c) 2003-2024, Phil Harvey (philharvey66 at gmail.com)
|
|
9
9
|
# This library is free software; you can redistribute it and/or
|
|
10
10
|
# modify it under the same terms as Perl itself.
|
|
11
11
|
#------------------------------------------------------------------------------
|
|
@@ -822,6 +822,14 @@ set to undef to select the built-in default language. Default is 'en'.
|
|
|
822
822
|
Flag to indicate that 64-bit file offsets are supported on this system.
|
|
823
823
|
Default is undef.
|
|
824
824
|
|
|
825
|
+
=item LimitLongValues
|
|
826
|
+
|
|
827
|
+
When extracting some values that may be very long, the PrintConv values are
|
|
828
|
+
length-limited and the value is truncated with an elipsis ("[...]") if it
|
|
829
|
+
exceeds a specified length. This option specifies the length limit for
|
|
830
|
+
these tags. A setting of 4 or less disables the limit (because the elipsis
|
|
831
|
+
string is longer than this). Default is 60.
|
|
832
|
+
|
|
825
833
|
=item ListItem
|
|
826
834
|
|
|
827
835
|
Return only a specific item from list-type values. A value of 0 returns the
|
|
@@ -2881,7 +2889,7 @@ specified by the L</Charset> option.
|
|
|
2881
2889
|
|
|
2882
2890
|
=head1 AUTHOR
|
|
2883
2891
|
|
|
2884
|
-
Copyright 2003-
|
|
2892
|
+
Copyright 2003-2024, Phil Harvey
|
|
2885
2893
|
|
|
2886
2894
|
This library is free software; you can redistribute it and/or modify it
|
|
2887
2895
|
under the same terms as Perl itself.
|
package/bin/pp_build_exe.args
CHANGED
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
# 10) Copy zip archive to web servers.
|
|
22
22
|
# 11) Update zip file version in link and text of html/index.html.
|
|
23
23
|
#------------------------------------------------------------------------------
|
|
24
|
-
-T exiftool-12.
|
|
25
|
-
#--info=FileVersion=12.7.
|
|
26
|
-
#--info=ProductVersion=12.7.
|
|
27
|
-
##"--info=Build Date=
|
|
24
|
+
-T exiftool-12.73
|
|
25
|
+
#--info=FileVersion=12.7.3.0
|
|
26
|
+
#--info=ProductVersion=12.7.3.0
|
|
27
|
+
##"--info=Build Date=2024:01:10 13:53:16-05:00"
|
|
28
28
|
##"--info=Bundled Perl Version=ActivePerl 5.24.0"
|
|
29
|
-
##"--info=LegalCopyright=Copyright (c) 2003-
|
|
29
|
+
##"--info=LegalCopyright=Copyright (c) 2003-2024, Phil Harvey"
|
|
30
30
|
##"--info=ProductName=ExifTool"
|
|
31
31
|
##"--info=Comments=ExifTool EXE for Windows"
|
|
32
32
|
##"--info=Home Page=https://exiftool.org/"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exiftool-vendored.pl",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.73.0",
|
|
4
4
|
"description": "Vendored perl ExifTool for Node.js",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"homepage": "https://github.com/mceachen/exiftool-vendored.pl#readme",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"prettier": "prettier --write test/*.js",
|
|
29
29
|
"test": "mocha",
|
|
30
|
-
"update": "ncu
|
|
30
|
+
"update": "ncu --upgrade --install always && bash -c ./update.sh"
|
|
31
31
|
},
|
|
32
32
|
"release-it": {
|
|
33
33
|
"hooks": {
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"mocha": "^10.2.0",
|
|
45
45
|
"npm-check-updates": "^16.14.12",
|
|
46
|
-
"prettier": "^3.
|
|
46
|
+
"prettier": "^3.2.3"
|
|
47
47
|
}
|
|
48
48
|
}
|