exiftool-vendored.exe 12.38.0 → 12.41.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/LICENSE +254 -247
- package/bin/exiftool_files/Changes +62 -0
- package/bin/exiftool_files/README +45 -45
- package/bin/exiftool_files/arg_files/exif2xmp.args +5 -0
- package/bin/exiftool_files/arg_files/xmp2exif.args +6 -0
- package/bin/exiftool_files/config_files/acdsee.config +6 -6
- package/bin/exiftool_files/config_files/photoshop_paths.config +30 -7
- package/bin/exiftool_files/config_files/picasa_faces.config +1 -1
- package/bin/exiftool_files/config_files/pix4d.config +2 -2
- package/bin/exiftool_files/config_files/tiff_version.config +2 -2
- package/bin/exiftool_files/exiftool.pl +97 -65
- package/bin/exiftool_files/lib/File/RandomAccess.pm +1 -1
- package/bin/exiftool_files/lib/File/RandomAccess.pod +2 -2
- package/bin/exiftool_files/lib/Image/ExifTool/AES.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/AFCP.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/AIFF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/APE.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/APP12.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/ASF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Apple.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Audible.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/BMP.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/BPG.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/BZZ.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/BigTIFF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/BuildTagLookup.pm +6 -4
- package/bin/exiftool_files/lib/Image/ExifTool/CBOR.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Canon.pm +79 -5
- package/bin/exiftool_files/lib/Image/ExifTool/CanonCustom.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/CanonRaw.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/CanonVRD.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/CaptureOne.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Casio.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Charset.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/DICOM.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/DJI.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/DNG.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/DPX.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/DV.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/DarwinCore.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/DjVu.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/EXE.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Exif.pm +53 -21
- package/bin/exiftool_files/lib/Image/ExifTool/FITS.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/FLAC.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/FLIF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/FLIR.pm +16 -4
- package/bin/exiftool_files/lib/Image/ExifTool/Fixup.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Flash.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/FlashPix.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Font.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/FotoStation.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/FujiFilm.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/GE.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/GIF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/GIMP.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/GPS.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/GeoTiff.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Geotag.pm +4 -3
- package/bin/exiftool_files/lib/Image/ExifTool/GoPro.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/H264.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/HP.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/HTML.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/HtmlDump.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/ICC_Profile.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/ID3.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/IPTC.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/ISO.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/ITC.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Import.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/InDesign.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/JPEG.pm +6 -2
- package/bin/exiftool_files/lib/Image/ExifTool/JPEGDigest.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/JSON.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/JVC.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Jpeg2000.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Kodak.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/KyoceraRaw.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/LIF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/LNK.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/cs.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/de.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/en_ca.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/en_gb.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/es.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/fi.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/fr.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/it.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/ja.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/ko.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/nl.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/pl.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/ru.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/sv.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/tr.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/zh_cn.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lang/zh_tw.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Leaf.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Lytro.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/M2TS.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MIE.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MIEUnits.pod +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MIFF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MNG.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MOI.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MPC.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MPEG.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MPF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MRC.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MWG.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MXF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MacOS.pm +10 -10
- package/bin/exiftool_files/lib/Image/ExifTool/MakerNotes.pm +13 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Matroska.pm +9 -5
- package/bin/exiftool_files/lib/Image/ExifTool/Microsoft.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Minolta.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/MinoltaRaw.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Motorola.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Nikon.pm +924 -184
- package/bin/exiftool_files/lib/Image/ExifTool/NikonCapture.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/NikonCustom.pm +519 -6
- package/bin/exiftool_files/lib/Image/ExifTool/NikonSettings.pm +17 -18
- package/bin/exiftool_files/lib/Image/ExifTool/Nintendo.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/OOXML.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Ogg.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Olympus.pm +8 -7
- package/bin/exiftool_files/lib/Image/ExifTool/OpenEXR.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Opus.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Other.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PCX.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PDF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PGF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PICT.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PLIST.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PLUS.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PNG.pm +28 -8
- package/bin/exiftool_files/lib/Image/ExifTool/PPM.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PSP.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Palm.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Panasonic.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PanasonicRaw.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Parrot.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Pentax.pm +3 -2
- package/bin/exiftool_files/lib/Image/ExifTool/PhaseOne.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PhotoCD.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PhotoMechanic.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Photoshop.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PostScript.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/PrintIM.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Qualcomm.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/QuickTime.pm +10 -6
- package/bin/exiftool_files/lib/Image/ExifTool/QuickTimeStream.pl +16 -5
- package/bin/exiftool_files/lib/Image/ExifTool/RIFF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/RSRC.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/RTF.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Radiance.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Rawzor.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Real.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Reconyx.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Red.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Ricoh.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Samsung.pm +6 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Sanyo.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Scalado.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Shift.pl +3 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Shortcuts.pm +3 -2
- package/bin/exiftool_files/lib/Image/ExifTool/Sigma.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/SigmaRaw.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Sony.pm +11 -5
- package/bin/exiftool_files/lib/Image/ExifTool/SonyIDC.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Stim.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/TagInfoXML.pm +2 -2
- package/bin/exiftool_files/lib/Image/ExifTool/TagLookup.pm +6382 -6290
- package/bin/exiftool_files/lib/Image/ExifTool/TagNames.pod +340 -21
- package/bin/exiftool_files/lib/Image/ExifTool/Text.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Theora.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Torrent.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Unknown.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/VCard.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Validate.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Vorbis.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/WTV.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/WriteCanonRaw.pl +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/WriteExif.pl +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/WriteIPTC.pl +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/WritePDF.pl +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/WritePNG.pl +30 -10
- package/bin/exiftool_files/lib/Image/ExifTool/WritePhotoshop.pl +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/WritePostScript.pl +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/WriteQuickTime.pl +9 -4
- package/bin/exiftool_files/lib/Image/ExifTool/WriteXMP.pl +3 -1
- package/bin/exiftool_files/lib/Image/ExifTool/Writer.pl +6 -5
- package/bin/exiftool_files/lib/Image/ExifTool/XMP.pm +49 -23
- package/bin/exiftool_files/lib/Image/ExifTool/XMP2.pl +3 -2
- package/bin/exiftool_files/lib/Image/ExifTool/XMPStruct.pl +22 -8
- package/bin/exiftool_files/lib/Image/ExifTool/ZIP.pm +10 -2
- package/bin/exiftool_files/lib/Image/ExifTool/ZISRAW.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool/iWork.pm +1 -1
- package/bin/exiftool_files/lib/Image/ExifTool.pm +21 -5
- package/bin/exiftool_files/lib/Image/ExifTool.pod +71 -69
- package/package.json +14 -3
|
@@ -192,7 +192,7 @@ from Lytro Light Field Picture (LFP) files.
|
|
|
192
192
|
|
|
193
193
|
=head1 AUTHOR
|
|
194
194
|
|
|
195
|
-
Copyright 2003-
|
|
195
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
196
196
|
|
|
197
197
|
This library is free software; you can redistribute it and/or modify it
|
|
198
198
|
under the same terms as Perl itself.
|
|
@@ -846,7 +846,7 @@ video.
|
|
|
846
846
|
|
|
847
847
|
=head1 AUTHOR
|
|
848
848
|
|
|
849
|
-
Copyright 2003-
|
|
849
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
850
850
|
|
|
851
851
|
This library is free software; you can redistribute it and/or modify it
|
|
852
852
|
under the same terms as Perl itself.
|
|
@@ -2545,7 +2545,7 @@ tag name. For example:
|
|
|
2545
2545
|
|
|
2546
2546
|
=head1 AUTHOR
|
|
2547
2547
|
|
|
2548
|
-
Copyright 2003-
|
|
2548
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
2549
2549
|
|
|
2550
2550
|
This library is free software; you can redistribute it and/or modify it
|
|
2551
2551
|
under the same terms as Perl itself. The MIE format itself is also
|
|
@@ -356,7 +356,7 @@ A few examples of combined units strings:
|
|
|
356
356
|
|
|
357
357
|
=head1 AUTHOR
|
|
358
358
|
|
|
359
|
-
Copyright 2003-
|
|
359
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
360
360
|
|
|
361
361
|
This library is free software; you can redistribute it and/or modify it
|
|
362
362
|
under the same terms as Perl itself.
|
|
@@ -255,7 +255,7 @@ This module contains routines required by Image::ExifTool to read MIFF
|
|
|
255
255
|
|
|
256
256
|
=head1 AUTHOR
|
|
257
257
|
|
|
258
|
-
Copyright 2003-
|
|
258
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
259
259
|
|
|
260
260
|
This library is free software; you can redistribute it and/or modify it
|
|
261
261
|
under the same terms as Perl itself.
|
|
@@ -661,7 +661,7 @@ This module contains definitions required by Image::ExifTool to read MNG
|
|
|
661
661
|
|
|
662
662
|
=head1 AUTHOR
|
|
663
663
|
|
|
664
|
-
Copyright 2003-
|
|
664
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
665
665
|
|
|
666
666
|
This library is free software; you can redistribute it and/or modify it
|
|
667
667
|
under the same terms as Perl itself.
|
|
@@ -137,7 +137,7 @@ information from MOI files.
|
|
|
137
137
|
|
|
138
138
|
=head1 AUTHOR
|
|
139
139
|
|
|
140
|
-
Copyright 2003-
|
|
140
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
141
141
|
|
|
142
142
|
This library is free software; you can redistribute it and/or modify it
|
|
143
143
|
under the same terms as Perl itself.
|
|
@@ -134,7 +134,7 @@ information from Musepack (MPC) audio files.
|
|
|
134
134
|
|
|
135
135
|
=head1 AUTHOR
|
|
136
136
|
|
|
137
|
-
Copyright 2003-
|
|
137
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
138
138
|
|
|
139
139
|
This library is free software; you can redistribute it and/or modify it
|
|
140
140
|
under the same terms as Perl itself.
|
|
@@ -704,7 +704,7 @@ based on unofficial sources which may be incomplete, inaccurate or outdated.
|
|
|
704
704
|
|
|
705
705
|
=head1 AUTHOR
|
|
706
706
|
|
|
707
|
-
Copyright 2003-
|
|
707
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
708
708
|
|
|
709
709
|
This library is free software; you can redistribute it and/or modify it
|
|
710
710
|
under the same terms as Perl itself.
|
|
@@ -266,7 +266,7 @@ Format (MPF) information from JPEG images.
|
|
|
266
266
|
|
|
267
267
|
=head1 AUTHOR
|
|
268
268
|
|
|
269
|
-
Copyright 2003-
|
|
269
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
270
270
|
|
|
271
271
|
This library is free software; you can redistribute it and/or modify it
|
|
272
272
|
under the same terms as Perl itself.
|
|
@@ -315,7 +315,7 @@ metadata from Medical Research Council (MRC) images.
|
|
|
315
315
|
|
|
316
316
|
=head1 AUTHOR
|
|
317
317
|
|
|
318
|
-
Copyright 2003-
|
|
318
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
319
319
|
|
|
320
320
|
This library is free software; you can redistribute it and/or modify it
|
|
321
321
|
under the same terms as Perl itself.
|
|
@@ -756,7 +756,7 @@ must be loaded explicitly as described above.
|
|
|
756
756
|
|
|
757
757
|
=head1 AUTHOR
|
|
758
758
|
|
|
759
|
-
Copyright 2003-
|
|
759
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
760
760
|
|
|
761
761
|
This library is free software; you can redistribute it and/or modify it
|
|
762
762
|
under the same terms as Perl itself.
|
|
@@ -2987,7 +2987,7 @@ information from MXF (Material Exchange Format) files.
|
|
|
2987
2987
|
|
|
2988
2988
|
=head1 AUTHOR
|
|
2989
2989
|
|
|
2990
|
-
Copyright 2003-
|
|
2990
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
2991
2991
|
|
|
2992
2992
|
This library is free software; you can redistribute it and/or modify it
|
|
2993
2993
|
under the same terms as Perl itself.
|
|
@@ -12,7 +12,7 @@ use strict;
|
|
|
12
12
|
use vars qw($VERSION);
|
|
13
13
|
use Image::ExifTool qw(:DataAccess :Utils);
|
|
14
14
|
|
|
15
|
-
$VERSION = '1.
|
|
15
|
+
$VERSION = '1.12';
|
|
16
16
|
|
|
17
17
|
sub MDItemLocalTime($);
|
|
18
18
|
sub ProcessATTR($$$);
|
|
@@ -381,7 +381,7 @@ sub SetMacOSTags($$$)
|
|
|
381
381
|
$val = Image::ExifTool::ConvertUnixTime($time, 1) if $time;
|
|
382
382
|
}
|
|
383
383
|
$val =~ s{(\d{4}):(\d{2}):(\d{2})}{$2/$3/$1}; # reformat for setfile
|
|
384
|
-
$cmd = "setfile -d '${val}' '${f}'";
|
|
384
|
+
$cmd = "/usr/bin/setfile -d '${val}' '${f}'";
|
|
385
385
|
} elsif ($tag eq 'MDItemUserTags') {
|
|
386
386
|
# (tested with "tag" version 0.9.0)
|
|
387
387
|
($f = $file) =~ s/'/'\\''/g;
|
|
@@ -391,7 +391,7 @@ sub SetMacOSTags($$$)
|
|
|
391
391
|
my @dels = @{$$nvHash{DelValue}};
|
|
392
392
|
s/'/'\\''/g foreach @dels;
|
|
393
393
|
my $del = join ',', @dels;
|
|
394
|
-
$err = system "tag -r '${del}' '${f}'>/dev/null 2>&1";
|
|
394
|
+
$err = system "/usr/local/bin/tag -r '${del}' '${f}'>/dev/null 2>&1";
|
|
395
395
|
unless ($err) {
|
|
396
396
|
$et->VerboseValue("- $tag", $del);
|
|
397
397
|
$result = 1;
|
|
@@ -403,13 +403,13 @@ sub SetMacOSTags($$$)
|
|
|
403
403
|
s/'/'\\''/g foreach @vals;
|
|
404
404
|
my $opt = $overwrite > 0 ? '-s' : '-a';
|
|
405
405
|
$val = @vals ? join(',', @vals) : '';
|
|
406
|
-
$cmd = "tag $opt '${val}' '${f}'";
|
|
406
|
+
$cmd = "/usr/local/bin/tag $opt '${val}' '${f}'";
|
|
407
407
|
$et->VPrint(1," - $tag = (all)\n") if $overwrite > 0;
|
|
408
408
|
undef $val if $val eq '';
|
|
409
409
|
}
|
|
410
410
|
} elsif ($tag eq 'XAttrQuarantine') {
|
|
411
411
|
($f = $file) =~ s/'/'\\''/g;
|
|
412
|
-
$cmd = "xattr -d com.apple.quarantine '${f}'";
|
|
412
|
+
$cmd = "/usr/bin/xattr -d com.apple.quarantine '${f}'";
|
|
413
413
|
$silentErr = 256; # (will get this error if attribute doesn't exist)
|
|
414
414
|
} else {
|
|
415
415
|
($f = $file) =~ s/(["\\])/\\$1/g; # escape necessary characters for script
|
|
@@ -426,7 +426,7 @@ sub SetMacOSTags($$$)
|
|
|
426
426
|
$v = $val ? 8 - $val : 0; # convert from label to label index (0 for no label)
|
|
427
427
|
$attr = 'label index';
|
|
428
428
|
}
|
|
429
|
-
$cmd = qq(osascript -e 'set fp to POSIX file "$f" as alias' -e \\
|
|
429
|
+
$cmd = qq(/usr/bin/osascript -e 'set fp to POSIX file "$f" as alias' -e \\
|
|
430
430
|
'tell application "Finder" to set $attr of file fp to "$v"');
|
|
431
431
|
}
|
|
432
432
|
if (defined $cmd) {
|
|
@@ -455,7 +455,7 @@ sub ExtractMDItemTags($$)
|
|
|
455
455
|
|
|
456
456
|
($fn = $file) =~ s/([`"\$\\])/\\$1/g; # escape necessary characters
|
|
457
457
|
$et->VPrint(0, '(running mdls)');
|
|
458
|
-
my @mdls =
|
|
458
|
+
my @mdls = `/usr/bin/mdls "$fn" 2> /dev/null`; # get MacOS metadata
|
|
459
459
|
if ($? or not @mdls) {
|
|
460
460
|
$et->Warn('Error running "mdls" to extract MDItem tags');
|
|
461
461
|
return;
|
|
@@ -565,7 +565,7 @@ sub ExtractXAttrTags($$)
|
|
|
565
565
|
|
|
566
566
|
($fn = $file) =~ s/([`"\$\\])/\\$1/g; # escape necessary characters
|
|
567
567
|
$et->VPrint(0, '(running xattr)');
|
|
568
|
-
my @xattr =
|
|
568
|
+
my @xattr = `/usr/bin/xattr -lx "$fn" 2> /dev/null`; # get MacOS extended attributes
|
|
569
569
|
if ($? or not @xattr) {
|
|
570
570
|
$? and $et->Warn('Error running "xattr" to extract XAttr tags');
|
|
571
571
|
return;
|
|
@@ -611,7 +611,7 @@ sub GetFileCreateDate($$)
|
|
|
611
611
|
|
|
612
612
|
($fn = $file) =~ s/([`"\$\\])/\\$1/g; # escape necessary characters
|
|
613
613
|
$et->VPrint(0, '(running stat)');
|
|
614
|
-
my $time =
|
|
614
|
+
my $time = `/usr/bin/stat -f '%SB' -t '%Y:%m:%d %H:%M:%S%z' "$fn" 2> /dev/null`;
|
|
615
615
|
if ($? or not $time or $time !~ s/([-+]\d{2})(\d{2})\s*$/$1:$2/) {
|
|
616
616
|
$et->Warn('Error running "stat" to extract FileCreateDate');
|
|
617
617
|
return;
|
|
@@ -721,7 +721,7 @@ Writable tags use "xattr", "setfile" or "osascript" for writing.
|
|
|
721
721
|
|
|
722
722
|
=head1 AUTHOR
|
|
723
723
|
|
|
724
|
-
Copyright 2003-
|
|
724
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
725
725
|
|
|
726
726
|
This library is free software; you can redistribute it and/or modify it
|
|
727
727
|
under the same terms as Perl itself.
|
|
@@ -21,7 +21,7 @@ sub ProcessKodakPatch($$$);
|
|
|
21
21
|
sub WriteUnknownOrPreview($$$);
|
|
22
22
|
sub FixLeicaBase($$;$);
|
|
23
23
|
|
|
24
|
-
$VERSION = '2.
|
|
24
|
+
$VERSION = '2.11';
|
|
25
25
|
|
|
26
26
|
my $debug; # set to 1 to enable debugging code
|
|
27
27
|
|
|
@@ -570,6 +570,17 @@ my $debug; # set to 1 to enable debugging code
|
|
|
570
570
|
ByteOrder => 'Unknown',
|
|
571
571
|
},
|
|
572
572
|
},
|
|
573
|
+
{
|
|
574
|
+
Name => 'MakerNoteOlympus3',
|
|
575
|
+
# new Olympus maker notes start with "OLYMPUS\0"
|
|
576
|
+
Condition => '$$valPt =~ /^OM SYSTEM\0/',
|
|
577
|
+
SubDirectory => {
|
|
578
|
+
TagTable => 'Image::ExifTool::Olympus::Main',
|
|
579
|
+
Start => '$valuePtr + 16',
|
|
580
|
+
Base => '$start - 16',
|
|
581
|
+
ByteOrder => 'Unknown',
|
|
582
|
+
},
|
|
583
|
+
},
|
|
573
584
|
{
|
|
574
585
|
Name => 'MakerNoteLeica',
|
|
575
586
|
# (starts with "LEICA\0\0\0")
|
|
@@ -1812,7 +1823,7 @@ maker notes in EXIF information.
|
|
|
1812
1823
|
|
|
1813
1824
|
=head1 AUTHOR
|
|
1814
1825
|
|
|
1815
|
-
Copyright 2003-
|
|
1826
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
1816
1827
|
|
|
1817
1828
|
This library is free software; you can redistribute it and/or modify it
|
|
1818
1829
|
under the same terms as Perl itself.
|
|
@@ -14,7 +14,7 @@ use strict;
|
|
|
14
14
|
use vars qw($VERSION);
|
|
15
15
|
use Image::ExifTool qw(:DataAccess :Utils);
|
|
16
16
|
|
|
17
|
-
$VERSION = '1.
|
|
17
|
+
$VERSION = '1.11';
|
|
18
18
|
|
|
19
19
|
my %noYes = ( 0 => 'No', 1 => 'Yes' );
|
|
20
20
|
|
|
@@ -664,6 +664,7 @@ my %noYes = ( 0 => 'No', 1 => 'Yes' );
|
|
|
664
664
|
3 => 'Mesh',
|
|
665
665
|
},
|
|
666
666
|
},
|
|
667
|
+
# ProjectionPrivate in the spec
|
|
667
668
|
0x7672 => [{
|
|
668
669
|
Name => 'EquirectangularProj',
|
|
669
670
|
Condition => '$$self{ProjectionType} == 1',
|
|
@@ -672,10 +673,13 @@ my %noYes = ( 0 => 'No', 1 => 'Yes' );
|
|
|
672
673
|
Name => 'CubemapProj',
|
|
673
674
|
Condition => '$$self{ProjectionType} == 2',
|
|
674
675
|
SubDirectory => { TagTable => 'Image::ExifTool::QuickTime::cbmp' },
|
|
676
|
+
},{ # (don't decode 3 because it is a PITA)
|
|
677
|
+
Name => 'ProjectionPrivate',
|
|
678
|
+
Binary => 1,
|
|
675
679
|
}],
|
|
676
|
-
0x7673 => { Name => '
|
|
677
|
-
0x7674 => { Name => '
|
|
678
|
-
0x7675 => { Name => '
|
|
680
|
+
0x7673 => { Name => 'ProjectionPoseYaw', Format => 'float' },
|
|
681
|
+
0x7674 => { Name => 'ProjectionPosePitch', Format => 'float' },
|
|
682
|
+
0x7675 => { Name => 'ProjectionPoseRoll', Format => 'float' },
|
|
679
683
|
);
|
|
680
684
|
|
|
681
685
|
#------------------------------------------------------------------------------
|
|
@@ -914,7 +918,7 @@ information from Matroska multimedia files (MKA, MKV, MKS and WEBM).
|
|
|
914
918
|
|
|
915
919
|
=head1 AUTHOR
|
|
916
920
|
|
|
917
|
-
Copyright 2003-
|
|
921
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
918
922
|
|
|
919
923
|
This library is free software; you can redistribute it and/or modify it
|
|
920
924
|
under the same terms as Perl itself.
|
|
@@ -1100,7 +1100,7 @@ Xtra tags in videos.
|
|
|
1100
1100
|
|
|
1101
1101
|
=head1 AUTHOR
|
|
1102
1102
|
|
|
1103
|
-
Copyright 2003-
|
|
1103
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
1104
1104
|
|
|
1105
1105
|
This library is free software; you can redistribute it and/or modify it
|
|
1106
1106
|
under the same terms as Perl itself.
|
|
@@ -2928,7 +2928,7 @@ and write Minolta RAW (MRW) images.
|
|
|
2928
2928
|
|
|
2929
2929
|
=head1 AUTHOR
|
|
2930
2930
|
|
|
2931
|
-
Copyright 2003-
|
|
2931
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
2932
2932
|
|
|
2933
2933
|
This library is free software; you can redistribute it and/or modify it
|
|
2934
2934
|
under the same terms as Perl itself.
|
|
@@ -512,7 +512,7 @@ write Konica-Minolta RAW (MRW) images.
|
|
|
512
512
|
|
|
513
513
|
=head1 AUTHOR
|
|
514
514
|
|
|
515
|
-
Copyright 2003-
|
|
515
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
516
516
|
|
|
517
517
|
This library is free software; you can redistribute it and/or modify it
|
|
518
518
|
under the same terms as Perl itself.
|
|
@@ -159,7 +159,7 @@ cell phone images.
|
|
|
159
159
|
|
|
160
160
|
=head1 AUTHOR
|
|
161
161
|
|
|
162
|
-
Copyright 2003-
|
|
162
|
+
Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)
|
|
163
163
|
|
|
164
164
|
This library is free software; you can redistribute it and/or modify it
|
|
165
165
|
under the same terms as Perl itself.
|