exiftool_vendored 9.78.0 → 9.99.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of exiftool_vendored might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/bin/Image-ExifTool-9.99/Changes +7164 -0
- data/bin/Image-ExifTool-9.99/MANIFEST +937 -0
- data/bin/Image-ExifTool-9.99/META.yml +27 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/Makefile.PL +0 -0
- data/bin/Image-ExifTool-9.99/README +233 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/exif2iptc.args +0 -0
- data/bin/Image-ExifTool-9.99/arg_files/exif2xmp.args +45 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/gps2xmp.args +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/iptc2exif.args +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/iptc2xmp.args +0 -0
- data/bin/Image-ExifTool-9.99/arg_files/iptcCore.args +224 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/pdf2xmp.args +0 -0
- data/bin/Image-ExifTool-9.99/arg_files/xmp2exif.args +46 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/xmp2gps.args +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/xmp2iptc.args +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/xmp2pdf.args +0 -0
- data/bin/Image-ExifTool-9.99/config_files/convert_regions.config +81 -0
- data/bin/Image-ExifTool-9.99/config_files/example.config +343 -0
- data/bin/Image-ExifTool-9.99/config_files/photoshop_paths.config +54 -0
- data/bin/Image-ExifTool-9.99/config_files/picasa_faces.config +369 -0
- data/bin/Image-ExifTool-9.99/exiftool +6245 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/fmt_files/gpx.fmt +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/fmt_files/gpx_wpt.fmt +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/fmt_files/kml.fmt +0 -0
- data/bin/Image-ExifTool-9.99/html/ExifTool.html +2067 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/MIE1.1-20070121.pdf +0 -0
- data/bin/Image-ExifTool-9.99/html/Shift.html +173 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/AFCP.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/AIFF.html +146 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/APE.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/APP12.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/ASF.html +1066 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Apple.html +74 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Audible.html +177 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/BMP.html +110 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Canon.html +9318 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/CanonCustom.html +2081 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/CanonRaw.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/CanonVRD.html +1958 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Casio.html +1606 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Composite.html +704 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/DICOM.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/DNG.html +289 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/DPX.html +224 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/DV.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/DarwinCore.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/DjVu.html +313 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/EXE.html +697 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/EXIF.html +3381 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Extra.html +437 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/FLAC.html +183 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/FLIR.html +1340 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Flash.html +419 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/FlashPix.html +1465 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Font.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/FotoStation.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/FujiFilm.html +813 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/GE.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/GIF.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/GIMP.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/GPS.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/GeoTiff.html +2298 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/H264.html +393 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/HP.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/HTML.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/ICC_Profile.html +711 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/ID3.html +1593 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/IPTC.html +903 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/ITC.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/JFIF.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/JPEG.html +602 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/JVC.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Jpeg2000.html +464 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Kodak.html +1891 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/KyoceraRaw.html +92 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/LNK.html +478 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Leaf.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Lytro.html +122 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/M2TS.html +133 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MIE.html +1026 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/MIFF.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MNG.html +847 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MOI.html +60 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MPC.html +97 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MPEG.html +249 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MPF.html +199 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MWG.html +577 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MXF.html +6673 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Matroska.html +1069 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Microsoft.html +2073 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Minolta.html +2612 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/MinoltaRaw.html +326 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Nikon.html +4814 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/NikonCapture.html +799 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/NikonCustom.html +5633 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Nintendo.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/OOXML.html +280 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Ogg.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Olympus.html +3531 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/OpenEXR.html +222 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/PDF.html +745 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/PGF.html +80 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PICT.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PLIST.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PNG.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PSP.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Palm.html +388 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Panasonic.html +1690 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/PanasonicRaw.html +451 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Pentax.html +4655 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/PhaseOne.html +253 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/PhotoCD.html +402 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/PhotoMechanic.html +196 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Photoshop.html +570 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PostScript.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PrintIM.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Qualcomm.html +4778 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/QuickTime.html +6036 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/RIFF.html +1314 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/RSRC.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/RTF.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Radiance.html +87 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Rawzor.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Real.html +780 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Reconyx.html +132 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Ricoh.html +800 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Samsung.html +604 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Sanyo.html +366 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Scalado.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Shortcuts.html +276 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Sigma.html +469 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/SigmaRaw.html +438 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/Sony.html +8640 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/SonyIDC.html +267 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Stim.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Theora.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Torrent.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Unknown.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/VCard.html +433 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Vorbis.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/XMP.html +9175 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/ZIP.html +205 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/iWork.html +0 -0
- data/bin/Image-ExifTool-9.99/html/TagNames/index.html +211 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/style.css +0 -0
- data/bin/Image-ExifTool-9.99/html/ancient_history.html +7608 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/canon_raw.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/commentary.html +0 -0
- data/bin/Image-ExifTool-9.99/html/config.html +355 -0
- data/bin/Image-ExifTool-9.99/html/data_members.html +279 -0
- data/bin/Image-ExifTool-9.99/html/exiftool_pod.html +2503 -0
- data/bin/Image-ExifTool-9.99/html/faq.html +1530 -0
- data/bin/Image-ExifTool-9.99/html/filename.html +352 -0
- data/bin/Image-ExifTool-9.99/html/geotag.html +654 -0
- data/bin/Image-ExifTool-9.99/html/history.html +488 -0
- data/bin/Image-ExifTool-9.99/html/htmldump.html +738 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/idiosyncracies.html +0 -0
- data/bin/Image-ExifTool-9.99/html/index.html +1330 -0
- data/bin/Image-ExifTool-9.99/html/install.html +251 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/metafiles.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/overview.png +0 -0
- data/bin/Image-ExifTool-9.99/html/standards.html +286 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/struct.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/style.css +0 -0
- data/bin/Image-ExifTool-9.99/html/under.html +128 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/verbose.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/writing.html +0 -0
- data/bin/Image-ExifTool-9.99/lib/File/RandomAccess.pm +378 -0
- data/bin/Image-ExifTool-9.99/lib/File/RandomAccess.pod +231 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool.pm +7498 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool.pod +2494 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/AES.pm +501 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/AFCP.pm +286 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/AIFF.pm +289 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/APE.pm +264 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/APP12.pm +322 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ASF.pm +885 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Apple.pm +126 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Audible.pm +317 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/BMP.pm +179 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/BZZ.pm +472 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/BigTIFF.pm +282 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/BuildTagLookup.pm +2508 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Canon.pm +8457 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/CanonCustom.pm +2582 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/CanonRaw.pm +910 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/CanonVRD.pm +2228 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/CaptureOne.pm +235 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Casio.pm +2058 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Charset.pm +396 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Arabic.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Baltic.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Cyrillic.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Greek.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Hebrew.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/JIS.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Latin.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Latin2.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacArabic.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacChineseCN.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacChineseTW.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacCroatian.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacCyrillic.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacGreek.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacHebrew.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacIceland.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacJapanese.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacKorean.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacLatin2.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacRSymbol.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacRoman.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacRomanian.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacThai.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacTurkish.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/PDFDoc.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/ShiftJIS.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Symbol.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Thai.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Turkish.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Vietnam.pm +0 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DICOM.pm +3874 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DNG.pm +835 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DPX.pm +181 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DV.pm +319 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DarwinCore.pm +322 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DjVu.pm +376 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/EXE.pm +1250 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Exif.pm +4672 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FLAC.pm +297 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FLIR.pm +1533 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Fixup.pm +354 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Flash.pm +755 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FlashPix.pm +1935 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Font.pm +647 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FotoStation.pm +261 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FujiFilm.pm +1195 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GE.pm +81 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GIF.pm +542 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GIMP.pm +258 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GPS.pm +558 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GeoTiff.pm +2263 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Geotag.pm +1219 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/H264.pm +1112 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/HP.pm +263 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/HTML.pm +576 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/HtmlDump.pm +895 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ICC_Profile.pm +1000 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ID3.pm +1569 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/IPTC.pm +1264 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ITC.pm +215 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Import.pm +329 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/InDesign.pm +277 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/JPEG.pm +605 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/JPEGDigest.pm +2511 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/JVC.pm +130 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Jpeg2000.pm +873 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Kodak.pm +2096 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/KyoceraRaw.pm +173 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/LNK.pm +723 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/cs.pm +1588 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/de.pm +8692 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/en_ca.pm +848 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/en_gb.pm +863 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/es.pm +4019 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/fi.pm +2854 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/fr.pm +4758 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/it.pm +7918 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/ja.pm +5835 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/ko.pm +2330 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/nl.pm +3222 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/pl.pm +1276 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/ru.pm +768 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/sv.pm +638 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/tr.pm +544 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/zh_cn.pm +1330 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/zh_tw.pm +801 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Leaf.pm +516 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lytro.pm +217 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/M2TS.pm +725 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MIE.pm +2564 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MIEUnits.pod +377 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MIFF.pm +279 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MNG.pm +684 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MOI.pm +158 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MPC.pm +156 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MPEG.pm +736 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MPF.pm +292 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MWG.pm +753 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MXF.pm +3032 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MakerNotes.pm +1713 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Matroska.pm +892 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Microsoft.pm +893 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Minolta.pm +2950 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MinoltaRaw.pm +534 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Nikon.pm +6728 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/NikonCapture.pm +940 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/NikonCustom.pm +6331 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Nintendo.pm +128 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/OOXML.pm +409 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Ogg.pm +237 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Olympus.pm +3796 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/OpenEXR.pm +324 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PDF.pm +2328 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PGF.pm +143 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PICT.pm +1260 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PLIST.pm +453 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PNG.pm +1190 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PPM.pm +169 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PSP.pm +306 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Palm.pm +403 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Panasonic.pm +2366 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PanasonicRaw.pm +639 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Pentax.pm +5941 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PhaseOne.pm +551 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PhotoCD.pm +507 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PhotoMechanic.pm +256 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Photoshop.pm +650 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PostScript.pm +696 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PrintIM.pm +125 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Qualcomm.pm +1344 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/QuickTime.pm +6572 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/README +981 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/RIFF.pm +1478 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/RSRC.pm +241 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/RTF.pm +383 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Radiance.pm +144 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Rawzor.pm +189 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Real.pm +739 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Reconyx.pm +190 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Ricoh.pm +1121 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Samsung.pm +1168 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Sanyo.pm +440 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Scalado.pm +141 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Shift.pl +596 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Shortcuts.pm +335 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Sigma.pm +684 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/SigmaRaw.pm +668 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Sony.pm +9086 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/SonyIDC.pm +331 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Stim.pm +196 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/TagInfoXML.pm +826 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/TagLookup.pm +8931 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/TagNames.pod +29124 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Theora.pm +145 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Torrent.pm +317 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Unknown.pm +66 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/VCard.pm +405 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Vorbis.pm +238 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteCanonRaw.pl +637 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteExif.pl +3743 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteIPTC.pl +702 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WritePDF.pl +768 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WritePNG.pl +390 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WritePhotoshop.pl +266 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WritePostScript.pl +772 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteQuickTime.pl +358 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteXMP.pl +1367 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Writer.pl +6164 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/XMP.pm +4034 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/XMP2.pl +1579 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/XMPStruct.pl +826 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ZIP.pm +667 -0
- data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/iWork.pm +223 -0
- data/bin/Image-ExifTool-9.99/perl-Image-ExifTool.spec +112 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/AFCP.t +0 -0
- data/bin/Image-ExifTool-9.99/t/AFCP_2.out +39 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/AFCP_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/AIFF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/AIFF_2.out +33 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/APE.t +0 -0
- data/bin/Image-ExifTool-9.99/t/APE_2.out +29 -0
- data/bin/Image-ExifTool-9.99/t/APE_3.out +58 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ASF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/ASF_2.out +56 -0
- data/bin/Image-ExifTool-9.99/t/Audible.t +28 -0
- data/bin/Image-ExifTool-9.99/t/Audible_2.out +40 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/BMP.t +0 -0
- data/bin/Image-ExifTool-9.99/t/BMP_2.out +23 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/BigTIFF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/BigTIFF_2.out +21 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Canon.t +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonRaw.t +0 -0
- data/bin/Image-ExifTool-9.99/t/CanonRaw_2.out +169 -0
- data/bin/Image-ExifTool-9.99/t/CanonRaw_4.out +220 -0
- data/bin/Image-ExifTool-9.99/t/CanonRaw_5.out +209 -0
- data/bin/Image-ExifTool-9.99/t/CanonRaw_6.out +233 -0
- data/bin/Image-ExifTool-9.99/t/CanonRaw_7.out +250 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD.t +220 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_11.out +121 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_12.out +13 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_13.out +102 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_14.out +101 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_15.out +5 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_16.out +5 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_17.out +5 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_18.out +5 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_19.out +5 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_2.out +119 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_20.out +5 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_21.out +1 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_3.out +119 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_4.out +0 -0
- data/bin/Image-ExifTool-9.99/t/CanonVRD_5.out +2 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_6.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_7.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_8.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_9.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Canon_2.out +356 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Canon_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Casio.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Casio_2.out +72 -0
- data/bin/Image-ExifTool-9.99/t/Casio_3.out +102 -0
- data/bin/Image-ExifTool-9.99/t/Casio_4.out +28 -0
- data/bin/Image-ExifTool-9.99/t/Casio_5.out +80 -0
- data/bin/Image-ExifTool-9.99/t/Casio_6.out +117 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DICOM.t +0 -0
- data/bin/Image-ExifTool-9.99/t/DICOM_2.out +109 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DNG.t +0 -0
- data/bin/Image-ExifTool-9.99/t/DNG_2.out +328 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DNG_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DPX.t +0 -0
- data/bin/Image-ExifTool-9.99/t/DPX_2.out +39 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DV.t +0 -0
- data/bin/Image-ExifTool-9.99/t/DV_2.out +26 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DjVu.t +0 -0
- data/bin/Image-ExifTool-9.99/t/DjVu_2.out +46 -0
- data/bin/Image-ExifTool-9.99/t/EXE.t +31 -0
- data/bin/Image-ExifTool-9.99/t/EXE_2.out +41 -0
- data/bin/Image-ExifTool-9.99/t/EXE_3.out +16 -0
- data/bin/Image-ExifTool-9.99/t/EXE_4.out +15 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool.t +0 -0
- data/bin/Image-ExifTool-9.99/t/ExifTool_16.out +184 -0
- data/bin/Image-ExifTool-9.99/t/ExifTool_17.out +598 -0
- data/bin/Image-ExifTool-9.99/t/ExifTool_2.out +418 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_20.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_21.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_22.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_23.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_24.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_25.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_26.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_27.out +0 -0
- data/bin/Image-ExifTool-9.99/t/ExifTool_28.out +11 -0
- data/bin/Image-ExifTool-9.99/t/ExifTool_3.out +89 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_4.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_5.out +0 -0
- data/bin/Image-ExifTool-9.99/t/ExifTool_6.out +71 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_7.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_8.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_9.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FLAC.t +0 -0
- data/bin/Image-ExifTool-9.99/t/FLAC_2.out +26 -0
- data/bin/Image-ExifTool-9.99/t/FLAC_3.out +20 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FLIR.t +0 -0
- data/bin/Image-ExifTool-9.99/t/FLIR_2.out +112 -0
- data/bin/Image-ExifTool-9.99/t/FLIR_3.out +49 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Flash.t +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FlashPix.t +0 -0
- data/bin/Image-ExifTool-9.99/t/FlashPix_2.out +49 -0
- data/bin/Image-ExifTool-9.99/t/Flash_2.out +22 -0
- data/bin/Image-ExifTool-9.99/t/Flash_3.out +55 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Font.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Font_2.out +24 -0
- data/bin/Image-ExifTool-9.99/t/Font_3.out +36 -0
- data/bin/Image-ExifTool-9.99/t/Font_4.out +27 -0
- data/bin/Image-ExifTool-9.99/t/Font_5.out +27 -0
- data/bin/Image-ExifTool-9.99/t/Font_6.out +37 -0
- data/bin/Image-ExifTool-9.99/t/Font_7.out +37 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FotoStation.t +0 -0
- data/bin/Image-ExifTool-9.99/t/FotoStation_2.out +41 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FotoStation_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FujiFilm.t +0 -0
- data/bin/Image-ExifTool-9.99/t/FujiFilm_2.out +89 -0
- data/bin/Image-ExifTool-9.99/t/FujiFilm_3.out +90 -0
- data/bin/Image-ExifTool-9.99/t/FujiFilm_4.out +141 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FujiFilm_5.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GE.t +0 -0
- data/bin/Image-ExifTool-9.99/t/GE_2.out +86 -0
- data/bin/Image-ExifTool-9.99/t/GE_3.out +86 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GIF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/GIF_2.out +42 -0
- data/bin/Image-ExifTool-9.99/t/GIF_3.out +43 -0
- data/bin/Image-ExifTool-9.99/t/GIF_4.out +18 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GIMP.t +0 -0
- data/bin/Image-ExifTool-9.99/t/GIMP_2.out +65 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GPS.t +0 -0
- data/bin/Image-ExifTool-9.99/t/GPS_2.out +96 -0
- data/bin/Image-ExifTool-9.99/t/GPS_3.out +98 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GeoTiff.t +0 -0
- data/bin/Image-ExifTool-9.99/t/GeoTiff_2.out +38 -0
- data/bin/Image-ExifTool-9.99/t/GeoTiff_3.out +38 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GeoTiff_4.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Geotag.t +172 -0
- data/bin/Image-ExifTool-9.99/t/Geotag_10.out +15 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_2.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_5.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_6.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_7.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_8.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_9.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/HTML.t +0 -0
- data/bin/Image-ExifTool-9.99/t/HTML_2.out +69 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC.t +0 -0
- data/bin/Image-ExifTool-9.99/t/IPTC_2.out +60 -0
- data/bin/Image-ExifTool-9.99/t/IPTC_4.out +58 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC_5.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC_6.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC_7.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC_8.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ITC.t +0 -0
- data/bin/Image-ExifTool-9.99/t/ITC_2.out +21 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/InDesign.t +0 -0
- data/bin/Image-ExifTool-9.99/t/InDesign_2.out +20 -0
- data/bin/Image-ExifTool-9.99/t/InDesign_3.out +22 -0
- data/bin/Image-ExifTool-9.99/t/InDesign_4.out +12 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/JVC.t +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/JVC_2.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/JVC_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Jpeg2000.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Jpeg2000_2.out +65 -0
- data/bin/Image-ExifTool-9.99/t/Jpeg2000_3.out +53 -0
- data/bin/Image-ExifTool-9.99/t/Jpeg2000_4.out +17 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Kodak.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Kodak_2.out +111 -0
- data/bin/Image-ExifTool-9.99/t/Kodak_3.out +121 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/KyoceraRaw.t +0 -0
- data/bin/Image-ExifTool-9.99/t/KyoceraRaw_2.out +28 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/LNK.t +0 -0
- data/bin/Image-ExifTool-9.99/t/LNK_2.out +46 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang.t +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_1.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_10.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_11.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_12.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_13.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_14.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_15.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_16.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_17.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_18.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_2.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_4.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_5.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_6.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_7.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_8.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_9.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lytro.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Lytro_2.out +109 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/M2TS.t +0 -0
- data/bin/Image-ExifTool-9.99/t/M2TS_2.out +29 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MIE.t +0 -0
- data/bin/Image-ExifTool-9.99/t/MIE_2.out +69 -0
- data/bin/Image-ExifTool-9.99/t/MIE_3.out +136 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MIE_5.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MIE_6.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MIFF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/MIFF_2.out +110 -0
- data/bin/Image-ExifTool-9.99/t/MOI.t +27 -0
- data/bin/Image-ExifTool-9.99/t/MOI_2.out +11 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MP3.t +0 -0
- data/bin/Image-ExifTool-9.99/t/MP3_2.out +46 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG.t +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_2.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_4.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_5.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_6.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MXF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/MXF_2.out +79 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Matroska.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Matroska_2.out +66 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Minolta.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Minolta_2.out +135 -0
- data/bin/Image-ExifTool-9.99/t/Minolta_3.out +148 -0
- data/bin/Image-ExifTool-9.99/t/Minolta_4.out +150 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Nikon.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Nikon_2.out +84 -0
- data/bin/Image-ExifTool-9.99/t/Nikon_3.out +100 -0
- data/bin/Image-ExifTool-9.99/t/Nikon_4.out +176 -0
- data/bin/Image-ExifTool-9.99/t/Nikon_5.out +169 -0
- data/bin/Image-ExifTool-9.99/t/Nikon_7.out +261 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Nikon_8.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Olympus.t +94 -0
- data/bin/Image-ExifTool-9.99/t/Olympus_2.out +81 -0
- data/bin/Image-ExifTool-9.99/t/Olympus_3.out +83 -0
- data/bin/Image-ExifTool-9.99/t/Olympus_4.out +194 -0
- data/bin/Image-ExifTool-9.99/t/Olympus_5.out +266 -0
- data/bin/Image-ExifTool-9.99/t/Olympus_6.out +153 -0
- data/bin/Image-ExifTool-9.99/t/Olympus_7.out +483 -0
- data/bin/Image-ExifTool-9.99/t/Olympus_8.out +15 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/OpenEXR.t +0 -0
- data/bin/Image-ExifTool-9.99/t/OpenEXR_2.out +25 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF.t +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_10.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_11.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_12.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_14.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_15.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_16.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_17.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_18.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_19.out +0 -0
- data/bin/Image-ExifTool-9.99/t/PDF_2.out +118 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_20.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_22.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_4.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_5.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_6.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_7.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_8.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_9.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PGF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PGF_2.out +34 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PICT.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PICT_2.out +17 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PLIST.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PLIST_2.out +21 -0
- data/bin/Image-ExifTool-9.99/t/PLIST_3.out +21 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PNG.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PNG_2.out +24 -0
- data/bin/Image-ExifTool-9.99/t/PNG_3.out +123 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PNG_4.out +0 -0
- data/bin/Image-ExifTool-9.99/t/PNG_5.out +18 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PPM.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PPM_2.out +17 -0
- data/bin/Image-ExifTool-9.99/t/PPM_3.out +11 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PSP.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PSP_2.out +34 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Palm.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Palm_2.out +32 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Panasonic.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Panasonic_2.out +101 -0
- data/bin/Image-ExifTool-9.99/t/Panasonic_3.out +121 -0
- data/bin/Image-ExifTool-9.99/t/Panasonic_4.out +206 -0
- data/bin/Image-ExifTool-9.99/t/Panasonic_5.out +244 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Pentax.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Pentax_2.out +225 -0
- data/bin/Image-ExifTool-9.99/t/Pentax_3.out +266 -0
- data/bin/Image-ExifTool-9.99/t/Pentax_4.out +131 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PhotoCD.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PhotoCD_2.out +37 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PhotoMechanic.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PhotoMechanic_2.out +83 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PhotoMechanic_3.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Photoshop.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Photoshop_2.out +98 -0
- data/bin/Image-ExifTool-9.99/t/Photoshop_3.out +110 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PostScript.t +0 -0
- data/bin/Image-ExifTool-9.99/t/PostScript_2.out +66 -0
- data/bin/Image-ExifTool-9.99/t/PostScript_3.out +134 -0
- data/bin/Image-ExifTool-9.99/t/QuickTime.t +54 -0
- data/bin/Image-ExifTool-9.99/t/QuickTime_2.out +133 -0
- data/bin/Image-ExifTool-9.99/t/QuickTime_3.out +73 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/QuickTime_4.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/QuickTime_5.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/RIFF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/RIFF_2.out +25 -0
- data/bin/Image-ExifTool-9.99/t/RIFF_3.out +54 -0
- data/bin/Image-ExifTool-9.99/t/RIFF_4.out +18 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/RTF.t +0 -0
- data/bin/Image-ExifTool-9.99/t/RTF_2.out +21 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Radiance.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Radiance_2.out +24 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Real.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Real_2.out +69 -0
- data/bin/Image-ExifTool-9.99/t/Real_3.out +19 -0
- data/bin/Image-ExifTool-9.99/t/Real_4.out +12 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Ricoh.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Ricoh_2.out +72 -0
- data/bin/Image-ExifTool-9.99/t/Ricoh_3.out +100 -0
- data/bin/Image-ExifTool-9.99/t/Ricoh_4.out +114 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Sanyo.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Sanyo_2.out +103 -0
- data/bin/Image-ExifTool-9.99/t/Sanyo_3.out +113 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Sigma.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Sigma_2.out +93 -0
- data/bin/Image-ExifTool-9.99/t/Sigma_3.out +96 -0
- data/bin/Image-ExifTool-9.99/t/Sigma_4.out +65 -0
- data/bin/Image-ExifTool-9.99/t/Sigma_5.out +194 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Sony.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Sony_2.out +86 -0
- data/bin/Image-ExifTool-9.99/t/Sony_3.out +87 -0
- data/bin/Image-ExifTool-9.99/t/Sony_5.out +34 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/TestLib.pm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Torrent.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Torrent_2.out +32 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Unknown.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Unknown_2.out +92 -0
- data/bin/Image-ExifTool-9.99/t/Unknown_3.out +92 -0
- data/bin/Image-ExifTool-9.99/t/VCard.t +31 -0
- data/bin/Image-ExifTool-9.99/t/VCard_2.out +54 -0
- data/bin/Image-ExifTool-9.99/t/VCard_3.out +88 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Vorbis.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Vorbis_2.out +29 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer.t +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_10.out +246 -0
- data/bin/Image-ExifTool-9.99/t/Writer_11.out +39 -0
- data/bin/Image-ExifTool-9.99/t/Writer_13.out +165 -0
- data/bin/Image-ExifTool-9.99/t/Writer_14.out +69 -0
- data/bin/Image-ExifTool-9.99/t/Writer_15.out +175 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_16.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_17.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_18.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_19.out +36 -0
- data/bin/Image-ExifTool-9.99/t/Writer_2.out +172 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_22.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_24.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_25.out +40 -0
- data/bin/Image-ExifTool-9.99/t/Writer_26.out +34 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_27.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_28.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_29.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_30.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_31.out +99 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_32.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_33.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_34.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_35.out +188 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_36.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_37.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_38.out +63 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_39.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_4.out +87 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_40.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_41.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_42.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_43.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_44.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_45.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_46.out +105 -0
- data/bin/Image-ExifTool-9.99/t/Writer_47.out +57 -0
- data/bin/Image-ExifTool-9.99/t/Writer_48.out +31 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_50.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_51.out +405 -0
- data/bin/Image-ExifTool-9.99/t/Writer_52.out +23 -0
- data/bin/Image-ExifTool-9.99/t/Writer_53.out +35 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_54.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_55.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_56.out +0 -0
- data/bin/Image-ExifTool-9.99/t/Writer_6.out +186 -0
- data/bin/Image-ExifTool-9.99/t/Writer_7.out +151 -0
- data/bin/Image-ExifTool-9.99/t/Writer_9.out +242 -0
- data/bin/Image-ExifTool-9.99/t/XMP.t +557 -0
- data/bin/Image-ExifTool-9.99/t/XMP_10.out +37 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_11.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_12.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_13.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_14.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_15.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_16.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_17.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_18.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_19.out +0 -0
- data/bin/Image-ExifTool-9.99/t/XMP_2.out +140 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_20.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_21.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_22.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_23.out +0 -0
- data/bin/Image-ExifTool-9.99/t/XMP_24.out +32 -0
- data/bin/Image-ExifTool-9.99/t/XMP_25.out +28 -0
- data/bin/Image-ExifTool-9.99/t/XMP_26.out +51 -0
- data/bin/Image-ExifTool-9.99/t/XMP_27.out +95 -0
- data/bin/Image-ExifTool-9.99/t/XMP_28.out +46 -0
- data/bin/Image-ExifTool-9.99/t/XMP_29.out +26 -0
- data/bin/Image-ExifTool-9.99/t/XMP_3.out +138 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_30.out +0 -0
- data/bin/Image-ExifTool-9.99/t/XMP_31.out +20 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_32.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_34.out +0 -0
- data/bin/Image-ExifTool-9.99/t/XMP_36.out +19 -0
- data/bin/Image-ExifTool-9.99/t/XMP_37.out +36 -0
- data/bin/Image-ExifTool-9.99/t/XMP_39.out +45 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_40.out +0 -0
- data/bin/Image-ExifTool-9.99/t/XMP_41.out +181 -0
- data/bin/Image-ExifTool-9.99/t/XMP_42.out +8 -0
- data/bin/Image-ExifTool-9.99/t/XMP_43.out +6 -0
- data/bin/Image-ExifTool-9.99/t/XMP_44.out +35 -0
- data/bin/Image-ExifTool-9.99/t/XMP_5.out +30 -0
- data/bin/Image-ExifTool-9.99/t/XMP_6.out +89 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_7.out +0 -0
- data/bin/Image-ExifTool-9.99/t/XMP_8.out +19 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_9.out +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ZIP.t +0 -0
- data/bin/Image-ExifTool-9.99/t/ZIP_2.out +19 -0
- data/bin/Image-ExifTool-9.99/t/ZIP_3.out +18 -0
- data/bin/Image-ExifTool-9.99/t/ZIP_4.out +214 -0
- data/bin/Image-ExifTool-9.99/t/ZIP_5.out +136 -0
- data/bin/Image-ExifTool-9.99/t/ZIP_6.out +50 -0
- data/bin/Image-ExifTool-9.99/t/ZIP_7.out +29 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/AFCP.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/AIFF.aif +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/APE.ape +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/APE.mpc +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ASF.wmv +0 -0
- data/bin/Image-ExifTool-9.99/t/images/Audible.aa +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/BMP.bmp +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/BigTIFF.btf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Canon.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Canon1DmkIII.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CanonRaw.cr2 +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CanonRaw.crw +0 -0
- data/bin/Image-ExifTool-9.99/t/images/CanonVRD.dr4 +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CanonVRD.vrd +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CaptureOne.eip +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Casio.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Casio2.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CasioQVCI.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DICOM.dcm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DNG.dng +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DPX.dpx +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DV.dv +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DjVu.djvu +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/EXE.elf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/EXE.exe +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/EXE.macho +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ExifTool.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ExifTool.tif +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ExtendedXMP.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FLAC.flac +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FLAC.ogg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FLIR.fpf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FLIR.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Flash.flv +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Flash.swf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FlashPix.ppt +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.afm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.dfont +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.pfa +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.pfb +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.pfm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.ttf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FotoStation.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FujiFilm.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FujiFilm.raf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GE.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GIF.gif +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GIMP.xcf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GPS.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GeoTiff.tif +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.gpx +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.igc +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.kml +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.log +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.xml +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag2.log +0 -0
- data/bin/Image-ExifTool-9.99/t/images/Geotag3.log +7 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/HTML.html +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/IPTC.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ITC.itc +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/InDesign.indd +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/JVC.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/JVC2.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Jpeg2000.j2c +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Jpeg2000.jp2 +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Kodak.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/KyoceraRaw.raw +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/LNK.lnk +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Lytro.lfp +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/M2TS.mts +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MIE.mie +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MIFF.miff +0 -0
- data/bin/Image-ExifTool-9.99/t/images/MOI.moi +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MP3.mp3 +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MWG.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MXF.mxf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Matroska.mkv +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Minolta.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Minolta.mrw +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Nikon.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Nikon.nef +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/NikonD2Hs.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/NikonD70.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/OOXML.docx +0 -0
- data/bin/Image-ExifTool-9.99/t/images/Olympus.dss +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Olympus.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Olympus2.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/OlympusE1.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/OpenDoc.ods +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/OpenEXR.exr +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PDF.pdf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PDF2.pdf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PGF.pgf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PICT.pict +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PLIST-bin.plist +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PLIST-xml.plist +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PNG.png +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PPM.ppm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PSP.psp +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Palm.mobi +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Panasonic.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Panasonic.rw2 +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Pentax.avi +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Pentax.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PhotoCD.pcd +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PhotoMechanic.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Photoshop.psd +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PostScript.eps +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/QuickTime.m4a +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/QuickTime.mov +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/RIFF.avi +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/RIFF.wav +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/RIFF.webp +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/RTF.rtf +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Radiance.hdr +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Real.ra +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Real.ram +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Real.rm +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Ricoh.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Ricoh2.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sanyo.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sigma.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sigma.x3f +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/SigmaDP2.x3f +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sony.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sony.pmp +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Torrent.torrent +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Unknown.jpg +0 -0
- data/bin/Image-ExifTool-9.99/t/images/VCard.ics +94 -0
- data/bin/Image-ExifTool-9.99/t/images/VCard.vcf +45 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Vorbis.ogg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Writer.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.inx +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.jpg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.svg +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.xml +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.xmp +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP2.xmp +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP3.xmp +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP4.xmp +0 -0
- data/bin/Image-ExifTool-9.99/t/images/XMP5.xmp +157 -0
- data/bin/Image-ExifTool-9.99/t/images/XMP6.xmp +48 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ZIP.gz +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ZIP.zip +0 -0
- data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/iWork.numbers +0 -0
- data/lib/exiftool_vendored/version.rb +1 -1
- metadata +941 -904
- data/bin/Image-ExifTool-9.78/Changes +0 -6884
- data/bin/Image-ExifTool-9.78/MANIFEST +0 -900
- data/bin/Image-ExifTool-9.78/META.yml +0 -27
- data/bin/Image-ExifTool-9.78/README +0 -227
- data/bin/Image-ExifTool-9.78/arg_files/exif2xmp.args +0 -42
- data/bin/Image-ExifTool-9.78/arg_files/iptcCore.args +0 -172
- data/bin/Image-ExifTool-9.78/arg_files/xmp2exif.args +0 -43
- data/bin/Image-ExifTool-9.78/config_files/ExifTool_config +0 -341
- data/bin/Image-ExifTool-9.78/config_files/convert_regions.config +0 -81
- data/bin/Image-ExifTool-9.78/exiftool +0 -5969
- data/bin/Image-ExifTool-9.78/html/ExifTool.html +0 -2018
- data/bin/Image-ExifTool-9.78/html/Shift.html +0 -173
- data/bin/Image-ExifTool-9.78/html/TagNames/AIFF.html +0 -146
- data/bin/Image-ExifTool-9.78/html/TagNames/ASF.html +0 -1066
- data/bin/Image-ExifTool-9.78/html/TagNames/Apple.html +0 -69
- data/bin/Image-ExifTool-9.78/html/TagNames/BMP.html +0 -110
- data/bin/Image-ExifTool-9.78/html/TagNames/Canon.html +0 -8414
- data/bin/Image-ExifTool-9.78/html/TagNames/CanonCustom.html +0 -2081
- data/bin/Image-ExifTool-9.78/html/TagNames/CanonVRD.html +0 -1222
- data/bin/Image-ExifTool-9.78/html/TagNames/Casio.html +0 -1606
- data/bin/Image-ExifTool-9.78/html/TagNames/Composite.html +0 -696
- data/bin/Image-ExifTool-9.78/html/TagNames/DNG.html +0 -285
- data/bin/Image-ExifTool-9.78/html/TagNames/DPX.html +0 -190
- data/bin/Image-ExifTool-9.78/html/TagNames/DjVu.html +0 -313
- data/bin/Image-ExifTool-9.78/html/TagNames/EXE.html +0 -697
- data/bin/Image-ExifTool-9.78/html/TagNames/EXIF.html +0 -3365
- data/bin/Image-ExifTool-9.78/html/TagNames/Extra.html +0 -341
- data/bin/Image-ExifTool-9.78/html/TagNames/FLAC.html +0 -183
- data/bin/Image-ExifTool-9.78/html/TagNames/FLIR.html +0 -1340
- data/bin/Image-ExifTool-9.78/html/TagNames/Flash.html +0 -419
- data/bin/Image-ExifTool-9.78/html/TagNames/FlashPix.html +0 -1465
- data/bin/Image-ExifTool-9.78/html/TagNames/FujiFilm.html +0 -789
- data/bin/Image-ExifTool-9.78/html/TagNames/GeoTiff.html +0 -2184
- data/bin/Image-ExifTool-9.78/html/TagNames/H264.html +0 -393
- data/bin/Image-ExifTool-9.78/html/TagNames/ICC_Profile.html +0 -711
- data/bin/Image-ExifTool-9.78/html/TagNames/ID3.html +0 -1471
- data/bin/Image-ExifTool-9.78/html/TagNames/IPTC.html +0 -902
- data/bin/Image-ExifTool-9.78/html/TagNames/JPEG.html +0 -602
- data/bin/Image-ExifTool-9.78/html/TagNames/Jpeg2000.html +0 -464
- data/bin/Image-ExifTool-9.78/html/TagNames/Kodak.html +0 -1881
- data/bin/Image-ExifTool-9.78/html/TagNames/KyoceraRaw.html +0 -92
- data/bin/Image-ExifTool-9.78/html/TagNames/LNK.html +0 -478
- data/bin/Image-ExifTool-9.78/html/TagNames/Lytro.html +0 -122
- data/bin/Image-ExifTool-9.78/html/TagNames/M2TS.html +0 -133
- data/bin/Image-ExifTool-9.78/html/TagNames/MIE.html +0 -1026
- data/bin/Image-ExifTool-9.78/html/TagNames/MNG.html +0 -847
- data/bin/Image-ExifTool-9.78/html/TagNames/MPC.html +0 -97
- data/bin/Image-ExifTool-9.78/html/TagNames/MPEG.html +0 -249
- data/bin/Image-ExifTool-9.78/html/TagNames/MPF.html +0 -199
- data/bin/Image-ExifTool-9.78/html/TagNames/MWG.html +0 -567
- data/bin/Image-ExifTool-9.78/html/TagNames/MXF.html +0 -6673
- data/bin/Image-ExifTool-9.78/html/TagNames/Matroska.html +0 -1069
- data/bin/Image-ExifTool-9.78/html/TagNames/Microsoft.html +0 -2069
- data/bin/Image-ExifTool-9.78/html/TagNames/Minolta.html +0 -2585
- data/bin/Image-ExifTool-9.78/html/TagNames/MinoltaRaw.html +0 -326
- data/bin/Image-ExifTool-9.78/html/TagNames/Nikon.html +0 -4734
- data/bin/Image-ExifTool-9.78/html/TagNames/NikonCapture.html +0 -799
- data/bin/Image-ExifTool-9.78/html/TagNames/NikonCustom.html +0 -4794
- data/bin/Image-ExifTool-9.78/html/TagNames/OOXML.html +0 -280
- data/bin/Image-ExifTool-9.78/html/TagNames/Olympus.html +0 -3447
- data/bin/Image-ExifTool-9.78/html/TagNames/OpenEXR.html +0 -222
- data/bin/Image-ExifTool-9.78/html/TagNames/PDF.html +0 -745
- data/bin/Image-ExifTool-9.78/html/TagNames/PGF.html +0 -80
- data/bin/Image-ExifTool-9.78/html/TagNames/Palm.html +0 -388
- data/bin/Image-ExifTool-9.78/html/TagNames/Panasonic.html +0 -1686
- data/bin/Image-ExifTool-9.78/html/TagNames/PanasonicRaw.html +0 -451
- data/bin/Image-ExifTool-9.78/html/TagNames/Pentax.html +0 -4601
- data/bin/Image-ExifTool-9.78/html/TagNames/PhaseOne.html +0 -258
- data/bin/Image-ExifTool-9.78/html/TagNames/PhotoCD.html +0 -402
- data/bin/Image-ExifTool-9.78/html/TagNames/PhotoMechanic.html +0 -196
- data/bin/Image-ExifTool-9.78/html/TagNames/Photoshop.html +0 -570
- data/bin/Image-ExifTool-9.78/html/TagNames/Qualcomm.html +0 -4778
- data/bin/Image-ExifTool-9.78/html/TagNames/QuickTime.html +0 -5729
- data/bin/Image-ExifTool-9.78/html/TagNames/RIFF.html +0 -1314
- data/bin/Image-ExifTool-9.78/html/TagNames/Radiance.html +0 -87
- data/bin/Image-ExifTool-9.78/html/TagNames/Real.html +0 -780
- data/bin/Image-ExifTool-9.78/html/TagNames/Reconyx.html +0 -132
- data/bin/Image-ExifTool-9.78/html/TagNames/Ricoh.html +0 -794
- data/bin/Image-ExifTool-9.78/html/TagNames/Samsung.html +0 -603
- data/bin/Image-ExifTool-9.78/html/TagNames/Sanyo.html +0 -366
- data/bin/Image-ExifTool-9.78/html/TagNames/Shortcuts.html +0 -274
- data/bin/Image-ExifTool-9.78/html/TagNames/Sigma.html +0 -377
- data/bin/Image-ExifTool-9.78/html/TagNames/SigmaRaw.html +0 -438
- data/bin/Image-ExifTool-9.78/html/TagNames/Sony.html +0 -7481
- data/bin/Image-ExifTool-9.78/html/TagNames/SonyIDC.html +0 -267
- data/bin/Image-ExifTool-9.78/html/TagNames/XMP.html +0 -7971
- data/bin/Image-ExifTool-9.78/html/TagNames/ZIP.html +0 -205
- data/bin/Image-ExifTool-9.78/html/TagNames/index.html +0 -207
- data/bin/Image-ExifTool-9.78/html/ancient_history.html +0 -7356
- data/bin/Image-ExifTool-9.78/html/config.html +0 -354
- data/bin/Image-ExifTool-9.78/html/data_members.html +0 -277
- data/bin/Image-ExifTool-9.78/html/exiftool_pod.html +0 -2414
- data/bin/Image-ExifTool-9.78/html/faq.html +0 -1499
- data/bin/Image-ExifTool-9.78/html/filename.html +0 -331
- data/bin/Image-ExifTool-9.78/html/geotag.html +0 -652
- data/bin/Image-ExifTool-9.78/html/history.html +0 -431
- data/bin/Image-ExifTool-9.78/html/htmldump.html +0 -734
- data/bin/Image-ExifTool-9.78/html/index.html +0 -1298
- data/bin/Image-ExifTool-9.78/html/install.html +0 -251
- data/bin/Image-ExifTool-9.78/html/standards.html +0 -286
- data/bin/Image-ExifTool-9.78/html/under.html +0 -127
- data/bin/Image-ExifTool-9.78/lib/File/RandomAccess.pm +0 -378
- data/bin/Image-ExifTool-9.78/lib/File/RandomAccess.pod +0 -231
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool.pm +0 -7070
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool.pod +0 -2437
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/AES.pm +0 -501
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/AFCP.pm +0 -284
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/AIFF.pm +0 -286
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/APE.pm +0 -262
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/APP12.pm +0 -322
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ASF.pm +0 -884
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Apple.pm +0 -115
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/BMP.pm +0 -179
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/BZZ.pm +0 -472
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/BigTIFF.pm +0 -282
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/BuildTagLookup.pm +0 -2445
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Canon.pm +0 -8184
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/CanonCustom.pm +0 -2582
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/CanonRaw.pm +0 -908
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/CanonVRD.pm +0 -1519
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/CaptureOne.pm +0 -235
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Casio.pm +0 -2057
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Charset.pm +0 -396
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DICOM.pm +0 -3874
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DNG.pm +0 -835
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DPX.pm +0 -151
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DV.pm +0 -319
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DarwinCore.pm +0 -322
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DjVu.pm +0 -376
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/EXE.pm +0 -1228
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Exif.pm +0 -4652
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FLAC.pm +0 -296
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FLIR.pm +0 -1531
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Fixup.pm +0 -354
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Flash.pm +0 -755
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FlashPix.pm +0 -1929
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Font.pm +0 -643
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FotoStation.pm +0 -259
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FujiFilm.pm +0 -1162
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GE.pm +0 -81
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GIF.pm +0 -542
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GIMP.pm +0 -258
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GPS.pm +0 -546
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GeoTiff.pm +0 -2202
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Geotag.pm +0 -1201
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/H264.pm +0 -1112
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/HP.pm +0 -262
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/HTML.pm +0 -576
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/HtmlDump.pm +0 -895
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ICC_Profile.pm +0 -1000
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ID3.pm +0 -1532
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/IPTC.pm +0 -1264
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ITC.pm +0 -215
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Import.pm +0 -313
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/InDesign.pm +0 -277
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/JPEG.pm +0 -601
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/JPEGDigest.pm +0 -2511
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/JVC.pm +0 -130
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Jpeg2000.pm +0 -873
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Kodak.pm +0 -2080
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/KyoceraRaw.pm +0 -173
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/LNK.pm +0 -723
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/cs.pm +0 -1588
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/de.pm +0 -8683
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/en_ca.pm +0 -848
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/en_gb.pm +0 -863
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/es.pm +0 -4020
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/fi.pm +0 -2854
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/fr.pm +0 -4748
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/it.pm +0 -7920
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/ja.pm +0 -5827
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/ko.pm +0 -2331
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/nl.pm +0 -3222
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/pl.pm +0 -1168
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/ru.pm +0 -768
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/sv.pm +0 -638
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/tr.pm +0 -544
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/zh_cn.pm +0 -1330
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/zh_tw.pm +0 -801
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Leaf.pm +0 -515
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lytro.pm +0 -217
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/M2TS.pm +0 -725
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MIE.pm +0 -2561
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MIEUnits.pod +0 -377
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MIFF.pm +0 -279
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MNG.pm +0 -684
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MPC.pm +0 -156
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MPEG.pm +0 -736
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MPF.pm +0 -292
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MWG.pm +0 -748
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MXF.pm +0 -3032
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MakerNotes.pm +0 -1686
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Matroska.pm +0 -891
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Microsoft.pm +0 -884
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Minolta.pm +0 -2901
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MinoltaRaw.pm +0 -534
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Nikon.pm +0 -6578
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/NikonCapture.pm +0 -940
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/NikonCustom.pm +0 -5445
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Nintendo.pm +0 -128
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/OOXML.pm +0 -409
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Ogg.pm +0 -237
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Olympus.pm +0 -3696
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/OpenEXR.pm +0 -324
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PDF.pm +0 -2327
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PGF.pm +0 -143
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PICT.pm +0 -1260
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PLIST.pm +0 -453
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PNG.pm +0 -1190
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PPM.pm +0 -169
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PSP.pm +0 -305
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Palm.pm +0 -403
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Panasonic.pm +0 -2355
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PanasonicRaw.pm +0 -638
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Pentax.pm +0 -5877
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PhaseOne.pm +0 -557
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PhotoCD.pm +0 -507
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PhotoMechanic.pm +0 -256
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Photoshop.pm +0 -648
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PostScript.pm +0 -694
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PrintIM.pm +0 -125
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Qualcomm.pm +0 -1344
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/QuickTime.pm +0 -6305
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/README +0 -967
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/RIFF.pm +0 -1478
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/RSRC.pm +0 -241
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/RTF.pm +0 -383
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Radiance.pm +0 -144
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Rawzor.pm +0 -190
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Real.pm +0 -736
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Reconyx.pm +0 -190
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Ricoh.pm +0 -1114
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Samsung.pm +0 -1158
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Sanyo.pm +0 -439
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Scalado.pm +0 -141
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Shift.pl +0 -596
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Shortcuts.pm +0 -333
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Sigma.pm +0 -589
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/SigmaRaw.pm +0 -665
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Sony.pm +0 -8366
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/SonyIDC.pm +0 -330
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Stim.pm +0 -196
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/TagInfoXML.pm +0 -806
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/TagLookup.pm +0 -8745
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/TagNames.pod +0 -27987
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Theora.pm +0 -145
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Torrent.pm +0 -317
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Unknown.pm +0 -66
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Vorbis.pm +0 -237
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteCanonRaw.pl +0 -637
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteExif.pl +0 -3743
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteIPTC.pl +0 -702
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WritePDF.pl +0 -768
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WritePNG.pl +0 -390
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WritePhotoshop.pl +0 -266
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WritePostScript.pl +0 -777
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteQuickTime.pl +0 -358
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteXMP.pl +0 -1358
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Writer.pl +0 -5972
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/XMP.pm +0 -3840
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/XMP2.pl +0 -1305
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/XMPStruct.pl +0 -826
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ZIP.pm +0 -667
- data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/iWork.pm +0 -223
- data/bin/Image-ExifTool-9.78/perl-Image-ExifTool.spec +0 -110
- data/bin/Image-ExifTool-9.78/t/AFCP_2.out +0 -37
- data/bin/Image-ExifTool-9.78/t/AIFF_2.out +0 -32
- data/bin/Image-ExifTool-9.78/t/APE_2.out +0 -28
- data/bin/Image-ExifTool-9.78/t/APE_3.out +0 -57
- data/bin/Image-ExifTool-9.78/t/ASF_2.out +0 -54
- data/bin/Image-ExifTool-9.78/t/BMP_2.out +0 -21
- data/bin/Image-ExifTool-9.78/t/BigTIFF_2.out +0 -19
- data/bin/Image-ExifTool-9.78/t/CanonRaw_2.out +0 -166
- data/bin/Image-ExifTool-9.78/t/CanonRaw_4.out +0 -216
- data/bin/Image-ExifTool-9.78/t/CanonRaw_5.out +0 -208
- data/bin/Image-ExifTool-9.78/t/CanonRaw_6.out +0 -231
- data/bin/Image-ExifTool-9.78/t/CanonRaw_7.out +0 -247
- data/bin/Image-ExifTool-9.78/t/CanonVRD.t +0 -129
- data/bin/Image-ExifTool-9.78/t/CanonVRD_11.out +0 -118
- data/bin/Image-ExifTool-9.78/t/CanonVRD_12.out +0 -12
- data/bin/Image-ExifTool-9.78/t/CanonVRD_2.out +0 -116
- data/bin/Image-ExifTool-9.78/t/CanonVRD_3.out +0 -116
- data/bin/Image-ExifTool-9.78/t/CanonVRD_5.out +0 -3
- data/bin/Image-ExifTool-9.78/t/Canon_2.out +0 -353
- data/bin/Image-ExifTool-9.78/t/Casio_2.out +0 -70
- data/bin/Image-ExifTool-9.78/t/Casio_3.out +0 -100
- data/bin/Image-ExifTool-9.78/t/Casio_4.out +0 -26
- data/bin/Image-ExifTool-9.78/t/Casio_5.out +0 -78
- data/bin/Image-ExifTool-9.78/t/Casio_6.out +0 -115
- data/bin/Image-ExifTool-9.78/t/DICOM_2.out +0 -108
- data/bin/Image-ExifTool-9.78/t/DNG_2.out +0 -326
- data/bin/Image-ExifTool-9.78/t/DPX_2.out +0 -35
- data/bin/Image-ExifTool-9.78/t/DV_2.out +0 -24
- data/bin/Image-ExifTool-9.78/t/DjVu_2.out +0 -44
- data/bin/Image-ExifTool-9.78/t/EXE.t +0 -31
- data/bin/Image-ExifTool-9.78/t/EXE_2.out +0 -40
- data/bin/Image-ExifTool-9.78/t/EXE_3.out +0 -15
- data/bin/Image-ExifTool-9.78/t/EXE_4.out +0 -14
- data/bin/Image-ExifTool-9.78/t/ExifTool_16.out +0 -181
- data/bin/Image-ExifTool-9.78/t/ExifTool_17.out +0 -597
- data/bin/Image-ExifTool-9.78/t/ExifTool_2.out +0 -416
- data/bin/Image-ExifTool-9.78/t/ExifTool_28.out +0 -10
- data/bin/Image-ExifTool-9.78/t/ExifTool_3.out +0 -87
- data/bin/Image-ExifTool-9.78/t/ExifTool_6.out +0 -68
- data/bin/Image-ExifTool-9.78/t/FLAC_2.out +0 -25
- data/bin/Image-ExifTool-9.78/t/FLAC_3.out +0 -19
- data/bin/Image-ExifTool-9.78/t/FLIR_2.out +0 -110
- data/bin/Image-ExifTool-9.78/t/FLIR_3.out +0 -47
- data/bin/Image-ExifTool-9.78/t/FlashPix_2.out +0 -48
- data/bin/Image-ExifTool-9.78/t/Flash_2.out +0 -20
- data/bin/Image-ExifTool-9.78/t/Flash_3.out +0 -53
- data/bin/Image-ExifTool-9.78/t/Font_2.out +0 -23
- data/bin/Image-ExifTool-9.78/t/Font_3.out +0 -35
- data/bin/Image-ExifTool-9.78/t/Font_4.out +0 -26
- data/bin/Image-ExifTool-9.78/t/Font_5.out +0 -26
- data/bin/Image-ExifTool-9.78/t/Font_6.out +0 -36
- data/bin/Image-ExifTool-9.78/t/Font_7.out +0 -36
- data/bin/Image-ExifTool-9.78/t/FotoStation_2.out +0 -39
- data/bin/Image-ExifTool-9.78/t/FujiFilm_2.out +0 -87
- data/bin/Image-ExifTool-9.78/t/FujiFilm_3.out +0 -88
- data/bin/Image-ExifTool-9.78/t/FujiFilm_4.out +0 -137
- data/bin/Image-ExifTool-9.78/t/GE_2.out +0 -84
- data/bin/Image-ExifTool-9.78/t/GE_3.out +0 -84
- data/bin/Image-ExifTool-9.78/t/GIF_2.out +0 -40
- data/bin/Image-ExifTool-9.78/t/GIF_3.out +0 -41
- data/bin/Image-ExifTool-9.78/t/GIF_4.out +0 -16
- data/bin/Image-ExifTool-9.78/t/GIMP_2.out +0 -63
- data/bin/Image-ExifTool-9.78/t/GPS_2.out +0 -94
- data/bin/Image-ExifTool-9.78/t/GPS_3.out +0 -96
- data/bin/Image-ExifTool-9.78/t/GeoTiff_2.out +0 -36
- data/bin/Image-ExifTool-9.78/t/GeoTiff_3.out +0 -36
- data/bin/Image-ExifTool-9.78/t/Geotag.t +0 -181
- data/bin/Image-ExifTool-9.78/t/HTML_2.out +0 -68
- data/bin/Image-ExifTool-9.78/t/IPTC_2.out +0 -58
- data/bin/Image-ExifTool-9.78/t/IPTC_4.out +0 -56
- data/bin/Image-ExifTool-9.78/t/ITC_2.out +0 -19
- data/bin/Image-ExifTool-9.78/t/InDesign_2.out +0 -19
- data/bin/Image-ExifTool-9.78/t/InDesign_3.out +0 -21
- data/bin/Image-ExifTool-9.78/t/InDesign_4.out +0 -11
- data/bin/Image-ExifTool-9.78/t/Jpeg2000_2.out +0 -63
- data/bin/Image-ExifTool-9.78/t/Jpeg2000_3.out +0 -51
- data/bin/Image-ExifTool-9.78/t/Jpeg2000_4.out +0 -15
- data/bin/Image-ExifTool-9.78/t/Kodak_2.out +0 -109
- data/bin/Image-ExifTool-9.78/t/Kodak_3.out +0 -119
- data/bin/Image-ExifTool-9.78/t/KyoceraRaw_2.out +0 -27
- data/bin/Image-ExifTool-9.78/t/LNK_2.out +0 -45
- data/bin/Image-ExifTool-9.78/t/Lytro_2.out +0 -107
- data/bin/Image-ExifTool-9.78/t/M2TS_2.out +0 -27
- data/bin/Image-ExifTool-9.78/t/MIE_2.out +0 -67
- data/bin/Image-ExifTool-9.78/t/MIE_3.out +0 -134
- data/bin/Image-ExifTool-9.78/t/MIFF_2.out +0 -108
- data/bin/Image-ExifTool-9.78/t/MP3_2.out +0 -45
- data/bin/Image-ExifTool-9.78/t/MXF_2.out +0 -78
- data/bin/Image-ExifTool-9.78/t/Matroska_2.out +0 -64
- data/bin/Image-ExifTool-9.78/t/Minolta_2.out +0 -133
- data/bin/Image-ExifTool-9.78/t/Minolta_3.out +0 -146
- data/bin/Image-ExifTool-9.78/t/Minolta_4.out +0 -148
- data/bin/Image-ExifTool-9.78/t/Nikon_2.out +0 -82
- data/bin/Image-ExifTool-9.78/t/Nikon_3.out +0 -98
- data/bin/Image-ExifTool-9.78/t/Nikon_4.out +0 -174
- data/bin/Image-ExifTool-9.78/t/Nikon_5.out +0 -167
- data/bin/Image-ExifTool-9.78/t/Nikon_7.out +0 -259
- data/bin/Image-ExifTool-9.78/t/Olympus.t +0 -85
- data/bin/Image-ExifTool-9.78/t/Olympus_2.out +0 -79
- data/bin/Image-ExifTool-9.78/t/Olympus_3.out +0 -81
- data/bin/Image-ExifTool-9.78/t/Olympus_4.out +0 -192
- data/bin/Image-ExifTool-9.78/t/Olympus_5.out +0 -264
- data/bin/Image-ExifTool-9.78/t/Olympus_6.out +0 -151
- data/bin/Image-ExifTool-9.78/t/Olympus_7.out +0 -482
- data/bin/Image-ExifTool-9.78/t/OpenEXR_2.out +0 -23
- data/bin/Image-ExifTool-9.78/t/PDF_2.out +0 -117
- data/bin/Image-ExifTool-9.78/t/PGF_2.out +0 -32
- data/bin/Image-ExifTool-9.78/t/PICT_2.out +0 -15
- data/bin/Image-ExifTool-9.78/t/PLIST_2.out +0 -20
- data/bin/Image-ExifTool-9.78/t/PLIST_3.out +0 -20
- data/bin/Image-ExifTool-9.78/t/PNG_2.out +0 -22
- data/bin/Image-ExifTool-9.78/t/PNG_3.out +0 -121
- data/bin/Image-ExifTool-9.78/t/PNG_5.out +0 -17
- data/bin/Image-ExifTool-9.78/t/PPM_2.out +0 -15
- data/bin/Image-ExifTool-9.78/t/PPM_3.out +0 -9
- data/bin/Image-ExifTool-9.78/t/PSP_2.out +0 -32
- data/bin/Image-ExifTool-9.78/t/Palm_2.out +0 -31
- data/bin/Image-ExifTool-9.78/t/Panasonic_2.out +0 -99
- data/bin/Image-ExifTool-9.78/t/Panasonic_3.out +0 -119
- data/bin/Image-ExifTool-9.78/t/Panasonic_4.out +0 -204
- data/bin/Image-ExifTool-9.78/t/Panasonic_5.out +0 -242
- data/bin/Image-ExifTool-9.78/t/Pentax_2.out +0 -221
- data/bin/Image-ExifTool-9.78/t/Pentax_3.out +0 -263
- data/bin/Image-ExifTool-9.78/t/Pentax_4.out +0 -127
- data/bin/Image-ExifTool-9.78/t/PhotoCD_2.out +0 -35
- data/bin/Image-ExifTool-9.78/t/PhotoMechanic_2.out +0 -81
- data/bin/Image-ExifTool-9.78/t/Photoshop_2.out +0 -96
- data/bin/Image-ExifTool-9.78/t/Photoshop_3.out +0 -108
- data/bin/Image-ExifTool-9.78/t/PostScript_2.out +0 -64
- data/bin/Image-ExifTool-9.78/t/PostScript_3.out +0 -132
- data/bin/Image-ExifTool-9.78/t/QuickTime.t +0 -54
- data/bin/Image-ExifTool-9.78/t/QuickTime_2.out +0 -131
- data/bin/Image-ExifTool-9.78/t/QuickTime_3.out +0 -72
- data/bin/Image-ExifTool-9.78/t/RIFF_2.out +0 -24
- data/bin/Image-ExifTool-9.78/t/RIFF_3.out +0 -52
- data/bin/Image-ExifTool-9.78/t/RIFF_4.out +0 -16
- data/bin/Image-ExifTool-9.78/t/RTF_2.out +0 -20
- data/bin/Image-ExifTool-9.78/t/Radiance_2.out +0 -22
- data/bin/Image-ExifTool-9.78/t/Real_2.out +0 -68
- data/bin/Image-ExifTool-9.78/t/Real_3.out +0 -18
- data/bin/Image-ExifTool-9.78/t/Real_4.out +0 -11
- data/bin/Image-ExifTool-9.78/t/Ricoh_2.out +0 -70
- data/bin/Image-ExifTool-9.78/t/Ricoh_3.out +0 -98
- data/bin/Image-ExifTool-9.78/t/Ricoh_4.out +0 -112
- data/bin/Image-ExifTool-9.78/t/Sanyo_2.out +0 -101
- data/bin/Image-ExifTool-9.78/t/Sanyo_3.out +0 -111
- data/bin/Image-ExifTool-9.78/t/Sigma_2.out +0 -91
- data/bin/Image-ExifTool-9.78/t/Sigma_3.out +0 -94
- data/bin/Image-ExifTool-9.78/t/Sigma_4.out +0 -63
- data/bin/Image-ExifTool-9.78/t/Sigma_5.out +0 -192
- data/bin/Image-ExifTool-9.78/t/Sony_2.out +0 -84
- data/bin/Image-ExifTool-9.78/t/Sony_3.out +0 -85
- data/bin/Image-ExifTool-9.78/t/Sony_5.out +0 -32
- data/bin/Image-ExifTool-9.78/t/Torrent_2.out +0 -31
- data/bin/Image-ExifTool-9.78/t/Unknown_2.out +0 -90
- data/bin/Image-ExifTool-9.78/t/Unknown_3.out +0 -90
- data/bin/Image-ExifTool-9.78/t/Vorbis_2.out +0 -28
- data/bin/Image-ExifTool-9.78/t/Writer_10.out +0 -242
- data/bin/Image-ExifTool-9.78/t/Writer_11.out +0 -37
- data/bin/Image-ExifTool-9.78/t/Writer_13.out +0 -161
- data/bin/Image-ExifTool-9.78/t/Writer_14.out +0 -67
- data/bin/Image-ExifTool-9.78/t/Writer_15.out +0 -172
- data/bin/Image-ExifTool-9.78/t/Writer_19.out +0 -34
- data/bin/Image-ExifTool-9.78/t/Writer_2.out +0 -169
- data/bin/Image-ExifTool-9.78/t/Writer_25.out +0 -38
- data/bin/Image-ExifTool-9.78/t/Writer_26.out +0 -32
- data/bin/Image-ExifTool-9.78/t/Writer_31.out +0 -97
- data/bin/Image-ExifTool-9.78/t/Writer_35.out +0 -187
- data/bin/Image-ExifTool-9.78/t/Writer_38.out +0 -62
- data/bin/Image-ExifTool-9.78/t/Writer_4.out +0 -85
- data/bin/Image-ExifTool-9.78/t/Writer_46.out +0 -79
- data/bin/Image-ExifTool-9.78/t/Writer_47.out +0 -56
- data/bin/Image-ExifTool-9.78/t/Writer_48.out +0 -29
- data/bin/Image-ExifTool-9.78/t/Writer_51.out +0 -403
- data/bin/Image-ExifTool-9.78/t/Writer_52.out +0 -22
- data/bin/Image-ExifTool-9.78/t/Writer_53.out +0 -33
- data/bin/Image-ExifTool-9.78/t/Writer_6.out +0 -183
- data/bin/Image-ExifTool-9.78/t/Writer_7.out +0 -150
- data/bin/Image-ExifTool-9.78/t/Writer_9.out +0 -238
- data/bin/Image-ExifTool-9.78/t/XMP.t +0 -525
- data/bin/Image-ExifTool-9.78/t/XMP_10.out +0 -36
- data/bin/Image-ExifTool-9.78/t/XMP_2.out +0 -138
- data/bin/Image-ExifTool-9.78/t/XMP_24.out +0 -31
- data/bin/Image-ExifTool-9.78/t/XMP_25.out +0 -28
- data/bin/Image-ExifTool-9.78/t/XMP_26.out +0 -52
- data/bin/Image-ExifTool-9.78/t/XMP_27.out +0 -93
- data/bin/Image-ExifTool-9.78/t/XMP_28.out +0 -44
- data/bin/Image-ExifTool-9.78/t/XMP_29.out +0 -24
- data/bin/Image-ExifTool-9.78/t/XMP_3.out +0 -136
- data/bin/Image-ExifTool-9.78/t/XMP_31.out +0 -19
- data/bin/Image-ExifTool-9.78/t/XMP_36.out +0 -18
- data/bin/Image-ExifTool-9.78/t/XMP_37.out +0 -35
- data/bin/Image-ExifTool-9.78/t/XMP_39.out +0 -44
- data/bin/Image-ExifTool-9.78/t/XMP_41.out +0 -180
- data/bin/Image-ExifTool-9.78/t/XMP_5.out +0 -29
- data/bin/Image-ExifTool-9.78/t/XMP_6.out +0 -87
- data/bin/Image-ExifTool-9.78/t/XMP_8.out +0 -17
- data/bin/Image-ExifTool-9.78/t/ZIP_2.out +0 -18
- data/bin/Image-ExifTool-9.78/t/ZIP_3.out +0 -17
- data/bin/Image-ExifTool-9.78/t/ZIP_4.out +0 -213
- data/bin/Image-ExifTool-9.78/t/ZIP_5.out +0 -134
- data/bin/Image-ExifTool-9.78/t/ZIP_6.out +0 -49
- data/bin/Image-ExifTool-9.78/t/ZIP_7.out +0 -28
- data/bin/Image-ExifTool-9.78/t/images/XMP5.xmp +0 -158
@@ -1,358 +0,0 @@
|
|
1
|
-
#------------------------------------------------------------------------------
|
2
|
-
# File: WriteQuickTime.pl
|
3
|
-
#
|
4
|
-
# Description: Write XMP to QuickTime (MOV and MP4) files
|
5
|
-
#
|
6
|
-
# Revisions: 2013-10-29 - P. Harvey Created
|
7
|
-
#------------------------------------------------------------------------------
|
8
|
-
package Image::ExifTool::QuickTime;
|
9
|
-
|
10
|
-
use strict;
|
11
|
-
|
12
|
-
# map for adding directories to QuickTime-format files
|
13
|
-
my %movMap = (
|
14
|
-
# MOV (no 'ftyp', or 'ftyp'='qt ') -> 'moov'-'udta'-'XMP_'
|
15
|
-
XMP => 'UserData',
|
16
|
-
UserData => 'Movie',
|
17
|
-
Movie => 'MOV',
|
18
|
-
);
|
19
|
-
my %mp4Map = (
|
20
|
-
# MP4 ('ftyp' compatible brand 'mp41', 'mp42' or 'f4v ') -> top level 'uuid'
|
21
|
-
XMP => 'MOV',
|
22
|
-
);
|
23
|
-
my %dirMap = (
|
24
|
-
MOV => \%movMap,
|
25
|
-
MP4 => \%mp4Map,
|
26
|
-
);
|
27
|
-
|
28
|
-
#------------------------------------------------------------------------------
|
29
|
-
# Check to see if path is current
|
30
|
-
# Inputs: 0) ExifTool object ref, 1) directory name
|
31
|
-
# Returns: true if current path is the root of the specified directory
|
32
|
-
sub IsCurPath($$)
|
33
|
-
{
|
34
|
-
local $_;
|
35
|
-
my ($et, $dir) = @_;
|
36
|
-
$dir = $$et{DirMap}{$dir} and $dir eq $_ or last foreach reverse @{$$et{PATH}};
|
37
|
-
return($dir and $dir eq 'MOV');
|
38
|
-
}
|
39
|
-
|
40
|
-
#------------------------------------------------------------------------------
|
41
|
-
# Write a series of QuickTime atoms from file or in memory
|
42
|
-
# Inputs: 0) ExifTool ref, 1) dirInfo ref, 2) tag table ref
|
43
|
-
# Returns: A) if dirInfo contains DataPt: new directory data
|
44
|
-
# B) otherwise: true on success, 0 if a write error occurred
|
45
|
-
# (true but sets an Error on a file format error)
|
46
|
-
sub WriteQuickTime($$$)
|
47
|
-
{
|
48
|
-
my ($et, $dirInfo, $tagTablePtr) = @_;
|
49
|
-
my ($foundMDAT, @hold, $track);
|
50
|
-
my $outfile = $$dirInfo{OutFile} or return 0;
|
51
|
-
my $raf = $$dirInfo{RAF};
|
52
|
-
my $dataPt = $$dirInfo{DataPt};
|
53
|
-
my $dirName = $$dirInfo{DirName};
|
54
|
-
my $parent = $$dirInfo{Parent};
|
55
|
-
my $addDirs = $$et{ADD_DIRS};
|
56
|
-
my $rtnVal = 1;
|
57
|
-
|
58
|
-
if ($dataPt) {
|
59
|
-
$raf = new File::RandomAccess($dataPt);
|
60
|
-
my $outBuff = '';
|
61
|
-
$outfile = \$outBuff;
|
62
|
-
} else {
|
63
|
-
return 0 unless $raf;
|
64
|
-
}
|
65
|
-
for (;;) {
|
66
|
-
my ($hdr, $buff);
|
67
|
-
my $n = $raf->Read($hdr, 8);
|
68
|
-
unless ($n == 8) {
|
69
|
-
if ($n == 4 and $hdr eq "\0\0\0\0") {
|
70
|
-
# "for historical reasons" the udta is optionally terminated by 4 zeros (ref 1)
|
71
|
-
# --> hold this terminator to the end
|
72
|
-
push @hold, $hdr;
|
73
|
-
} elsif ($n != 0) {
|
74
|
-
$et->Error('File format error');
|
75
|
-
}
|
76
|
-
last;
|
77
|
-
}
|
78
|
-
my ($size, $tag) = unpack('Na4', $hdr);
|
79
|
-
if ($size >= 8) {
|
80
|
-
$size -= 8;
|
81
|
-
} elsif ($size == 1) {
|
82
|
-
# read the extended size
|
83
|
-
$raf->Read($buff, 8) == 8 or $et->Error('Truncated extended atom'), last;
|
84
|
-
$hdr .= $buff;
|
85
|
-
my ($hi, $lo) = unpack('NN', $buff);
|
86
|
-
$size = $hi * 4294967296 + $lo - 16;
|
87
|
-
$size < 0 and $et->Error('Invalid extended atom size'), last;
|
88
|
-
} elsif (not $size and not $dataPt) {
|
89
|
-
# size of zero is only valid for top-level atom, and
|
90
|
-
# indicates the atom extends to the end of file
|
91
|
-
if (not $raf->{FILE_PT}) {
|
92
|
-
# get file size from image in memory
|
93
|
-
$size = length ${$$raf{BUFF_PT}};
|
94
|
-
} else {
|
95
|
-
$size = -s $$raf{FILE_PT};
|
96
|
-
}
|
97
|
-
if ($size and ($size -= $raf->Tell()) >= 0 and $size <= 0x7fffffff) {
|
98
|
-
Set32u($size + 8, \$hdr, 0);
|
99
|
-
} elsif (@hold) {
|
100
|
-
$et->Error("Sorry, can't yet add tags to this type of QuickTime file");
|
101
|
-
return $rtnVal;
|
102
|
-
} else {
|
103
|
-
# blindly copy the rest of the file
|
104
|
-
Write($outfile, $hdr) or $rtnVal = 0;
|
105
|
-
while ($raf->Read($buff, 65536)) {
|
106
|
-
Write($outfile, $buff) or $rtnVal = 0, last;
|
107
|
-
}
|
108
|
-
return $rtnVal;
|
109
|
-
}
|
110
|
-
} else {
|
111
|
-
$et->Error('Invalid atom size');
|
112
|
-
last;
|
113
|
-
}
|
114
|
-
|
115
|
-
# set flag if we have passed the 'mdat' atom
|
116
|
-
$foundMDAT = 1 if $tag eq 'mdat';
|
117
|
-
|
118
|
-
# rewrite this atom
|
119
|
-
my $tagInfo = $et->GetTagInfo($tagTablePtr, $tag);
|
120
|
-
if (defined $tagInfo and not $tagInfo) {
|
121
|
-
my $n = $size < 256 ? $size : 256;
|
122
|
-
unless ($raf->Read($buff, $n) == $n and $raf->Seek(-$n, 1)) {
|
123
|
-
$et->Error("Read/seek error in $tag atom");
|
124
|
-
last;
|
125
|
-
}
|
126
|
-
$tagInfo = $et->GetTagInfo($tagTablePtr, $tag, \$buff);
|
127
|
-
}
|
128
|
-
if ($tagInfo) {
|
129
|
-
if ($$tagInfo{Unknown}) {
|
130
|
-
undef $tagInfo;
|
131
|
-
} elsif ($size > 100000000) {
|
132
|
-
# limit maximum size of atom that we load into memory
|
133
|
-
my $mb = $size / 0x100000;
|
134
|
-
$et->Warn("Not editing metadata in $tag atom. $mb MB is too big");
|
135
|
-
undef $tagInfo;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
if ($tagInfo) {
|
139
|
-
# read the atom data
|
140
|
-
$raf->Read($buff, $size) == $size or $et->Error("Error reading $tag data"), last;
|
141
|
-
my $subdir = $$tagInfo{SubDirectory};
|
142
|
-
my $newData;
|
143
|
-
if ($subdir) {
|
144
|
-
my $subName = $$subdir{DirName} || $$tagInfo{Name};
|
145
|
-
my $start = $$subdir{Start} || 0;
|
146
|
-
my $base = ($$dirInfo{Base} || 0) + $raf->Tell() - $size;
|
147
|
-
my $dPos = 0;
|
148
|
-
my $hdrLen = $start;
|
149
|
-
if ($$subdir{Base}) {
|
150
|
-
my $localBase = eval $$subdir{Base};
|
151
|
-
$dPos -= $localBase;
|
152
|
-
$base -= $dPos;
|
153
|
-
# get length of header before base offset
|
154
|
-
$hdrLen -= $localBase if $localBase <= $hdrLen;
|
155
|
-
}
|
156
|
-
my %subdirInfo = (
|
157
|
-
Parent => $dirName,
|
158
|
-
DirName => $subName,
|
159
|
-
DataPt => \$buff,
|
160
|
-
DataLen => $size,
|
161
|
-
DataPos => $dPos,
|
162
|
-
DirStart => $start,
|
163
|
-
DirLen => $size - $start,
|
164
|
-
Base => $base,
|
165
|
-
HasData => $$subdir{HasData}, # necessary?
|
166
|
-
Multi => $$subdir{Multi}, # necessary?
|
167
|
-
OutFile => $outfile,
|
168
|
-
);
|
169
|
-
# pass the header pointer if necessary (for EXIF IFD's
|
170
|
-
# where the Base offset is at the end of the header)
|
171
|
-
if ($hdrLen and $hdrLen < $size) {
|
172
|
-
my $header = substr($buff,0,$hdrLen);
|
173
|
-
$subdirInfo{HeaderPtr} = \$header;
|
174
|
-
}
|
175
|
-
SetByteOrder('II') if $$subdir{ByteOrder} and $$subdir{ByteOrder} =~ /^Little/;
|
176
|
-
my $oldWriteGroup = $$et{CUR_WRITE_GROUP};
|
177
|
-
if ($subName eq 'Track') {
|
178
|
-
$track or $track = 0;
|
179
|
-
$$et{CUR_WRITE_GROUP} = 'Track' . (++$track);
|
180
|
-
}
|
181
|
-
my $subTable = GetTagTable($$subdir{TagTable});
|
182
|
-
# demote non-QuickTime errors to warnings
|
183
|
-
$$et{DemoteErrors} = 1 unless $$subTable{GROUPS}{0} eq 'QuickTime';
|
184
|
-
my $oldChanged = $$et{CHANGED};
|
185
|
-
$newData = $et->WriteDirectory(\%subdirInfo, $subTable);
|
186
|
-
if ($$et{DemoteErrors}) {
|
187
|
-
# just copy existing subdirectory a non-quicktime error occurred
|
188
|
-
$$et{CHANGED} = $oldChanged if $$et{DemoteErrors} > 1;
|
189
|
-
delete $$et{DemoteErrors};
|
190
|
-
}
|
191
|
-
undef $newData if $$et{CHANGED} == $oldChanged; # don't change unless necessary
|
192
|
-
$$et{CUR_WRITE_GROUP} = $oldWriteGroup;
|
193
|
-
SetByteOrder('MM');
|
194
|
-
# add back header if necessary
|
195
|
-
if ($start and defined $newData and length $newData) {
|
196
|
-
$newData = substr($buff,0,$start) . $newData;
|
197
|
-
}
|
198
|
-
# the directory exists, so we don't need to add it
|
199
|
-
delete $$addDirs{$subName} if IsCurPath($et, $subName);
|
200
|
-
} else {
|
201
|
-
# --> this is where individual QuickTime tags would be edited,
|
202
|
-
# (this is such a can of worms, so don't implement this for now)
|
203
|
-
}
|
204
|
-
if (defined $newData) {
|
205
|
-
my $len = length $newData;
|
206
|
-
$len > 0x7ffffff7 and $et->Error("$tag to large to write"), last;
|
207
|
-
if ($len == $size or $dataPt or $foundMDAT) {
|
208
|
-
# write the updated directory now
|
209
|
-
Write($outfile, Set32u($len+8), $tag, $newData) or $rtnVal = 0, last;
|
210
|
-
next;
|
211
|
-
} else {
|
212
|
-
# bad things happen if 'mdat' atom is moved (eg. Adobe Bridge crashes --
|
213
|
-
# there must be some absolute offsets somewhere that point into mdat),
|
214
|
-
# so hold this atom and write it out later
|
215
|
-
if ($len) {
|
216
|
-
push @hold, Set32u($len+8), $tag, $newData;
|
217
|
-
$et->VPrint(0," Moving '$tag' atom to after 'mdat'");
|
218
|
-
} else {
|
219
|
-
$et->VPrint(0," Freeing '$tag' atom (and zeroing data)");
|
220
|
-
}
|
221
|
-
# write a 'free' atom here to keep 'mdat' at the same offset
|
222
|
-
substr($hdr, 4, 4) = 'free';
|
223
|
-
$buff = "\0" x length($buff); # zero out old data
|
224
|
-
}
|
225
|
-
}
|
226
|
-
# write out the existing atom (or 'free' padding)
|
227
|
-
Write($outfile, $hdr, $buff) or $rtnVal = 0, last;
|
228
|
-
} else {
|
229
|
-
# write the unknown/large atom header
|
230
|
-
Write($outfile, $hdr) or $rtnVal = 0, last;
|
231
|
-
next unless $size;
|
232
|
-
# copy the atom data
|
233
|
-
my $result = Image::ExifTool::CopyBlock($raf, $outfile, $size);
|
234
|
-
defined $result or $rtnVal = 0, last;
|
235
|
-
$result or $et->Error("Truncated $tag atom"), last;
|
236
|
-
}
|
237
|
-
}
|
238
|
-
# add new directories at this level if necessary
|
239
|
-
if (exists $$et{EDIT_DIRS}{$dirName}) {
|
240
|
-
# get a hash of tagInfo references to add to this directory
|
241
|
-
my $dirs = $et->GetAddDirHash($tagTablePtr, $dirName);
|
242
|
-
# make sorted list of new tags to be added
|
243
|
-
my @addTags = sort keys(%$dirs);
|
244
|
-
my $tag;
|
245
|
-
foreach $tag (@addTags) {
|
246
|
-
my $tagInfo = $$dirs{$tag};
|
247
|
-
my $subdir = $$tagInfo{SubDirectory} or next;
|
248
|
-
my $subName = $$subdir{DirName} || $$tagInfo{Name};
|
249
|
-
# QuickTime hierarchy is complex, so check full directory path before adding
|
250
|
-
next unless IsCurPath($et, $subName);
|
251
|
-
delete $$addDirs{$subName}; # add only once
|
252
|
-
my $buff = ''; # write from scratch
|
253
|
-
my %subdirInfo = (
|
254
|
-
Parent => $dirName,
|
255
|
-
DirName => $subName,
|
256
|
-
DataPt => \$buff,
|
257
|
-
DirStart => 0,
|
258
|
-
OutFile => $outfile,
|
259
|
-
);
|
260
|
-
my $subTable = GetTagTable($$subdir{TagTable});
|
261
|
-
my $newData = $et->WriteDirectory(\%subdirInfo, $subTable);
|
262
|
-
if ($newData and length($newData) <= 0x7ffffff7) {
|
263
|
-
my $uuid = '';
|
264
|
-
# add atom ID if necessary (obtain from Condition expression)
|
265
|
-
if ($$subdir{Start}) {
|
266
|
-
my $cond = $$tagInfo{Condition};
|
267
|
-
$uuid = eval qq("$1") if $cond and $cond =~ m{=~\s*\/\^(.*)/};
|
268
|
-
length($uuid) == $$subdir{Start} or $et->Error('Internal UUID error');
|
269
|
-
}
|
270
|
-
my $newHdr = Set32u(8+length($newData)+length($uuid)) . $tag . $uuid;
|
271
|
-
Write($outfile, $newHdr, $newData) or $rtnVal = 0;
|
272
|
-
}
|
273
|
-
}
|
274
|
-
}
|
275
|
-
# write out any atoms that we are holding until the end
|
276
|
-
Write($outfile, @hold) or $rtnVal = 0 if @hold;
|
277
|
-
|
278
|
-
# issue minor error if we didn't find an 'mdat' atom
|
279
|
-
# (we could duplicate atoms indefinitely through repeated editing if we
|
280
|
-
# held back some atoms here, so in this case it isn't a minor error)
|
281
|
-
$dataPt or $foundMDAT or $et->Error('No mdat atom found', @hold ? 0 : 1);
|
282
|
-
|
283
|
-
return $dataPt ? ($rtnVal ? $$outfile : undef) : $rtnVal;
|
284
|
-
}
|
285
|
-
|
286
|
-
#------------------------------------------------------------------------------
|
287
|
-
# Write QuickTime-format MOV/MP4 file
|
288
|
-
# Inputs: 0) ExifTool ref, 1) dirInfo ref
|
289
|
-
# Returns: 1 on success, 0 if this wasn't a valid QuickTime file,
|
290
|
-
# or -1 if a write error occurred
|
291
|
-
sub WriteMOV($$)
|
292
|
-
{
|
293
|
-
my ($et, $dirInfo) = @_;
|
294
|
-
$et or return 1;
|
295
|
-
my $raf = $$dirInfo{RAF} or return 0;
|
296
|
-
my ($buff, $ftype);
|
297
|
-
|
298
|
-
# read the first atom header
|
299
|
-
return 0 unless $raf->Read($buff, 8) == 8;
|
300
|
-
my ($size, $tag) = unpack('Na4', $buff);
|
301
|
-
return 0 if $size < 8 and $size != 1;
|
302
|
-
|
303
|
-
# validate the file format
|
304
|
-
my $tagTablePtr = GetTagTable('Image::ExifTool::QuickTime::Main');
|
305
|
-
return 0 unless $$tagTablePtr{$tag};
|
306
|
-
|
307
|
-
# determine the file type
|
308
|
-
if ($tag eq 'ftyp' and $size >= 12 and $size < 100000 and
|
309
|
-
$raf->Read($buff, $size-8) == $size-8 and
|
310
|
-
$buff !~ /^(....)+(qt )/s)
|
311
|
-
{
|
312
|
-
# file is MP4 format if 'ftyp' exists without 'qt ' as a compatible brand
|
313
|
-
$ftype = 'MP4';
|
314
|
-
} else {
|
315
|
-
$ftype = 'MOV';
|
316
|
-
}
|
317
|
-
$et->SetFileType($ftype); # need to set "FileType" tag for a Condition
|
318
|
-
$et->InitWriteDirs($dirMap{$ftype}, 'XMP');
|
319
|
-
$$et{DirMap} = $dirMap{$ftype}; # need access to directory map when writing
|
320
|
-
SetByteOrder('MM');
|
321
|
-
$raf->Seek(0,0);
|
322
|
-
|
323
|
-
# write the file
|
324
|
-
$$dirInfo{Parent} = '';
|
325
|
-
$$dirInfo{DirName} = 'MOV';
|
326
|
-
return WriteQuickTime($et, $dirInfo, $tagTablePtr) ? 1 : -1;
|
327
|
-
}
|
328
|
-
|
329
|
-
1; # end
|
330
|
-
|
331
|
-
__END__
|
332
|
-
|
333
|
-
=head1 NAME
|
334
|
-
|
335
|
-
Image::ExifTool::WriteQuickTime.pl - Write XMP to QuickTime (MOV and MP4) files
|
336
|
-
|
337
|
-
=head1 SYNOPSIS
|
338
|
-
|
339
|
-
These routines are autoloaded by Image::ExifTool::QuickTime.
|
340
|
-
|
341
|
-
=head1 DESCRIPTION
|
342
|
-
|
343
|
-
This file contains routines used by ExifTool to write XMP metadata to
|
344
|
-
QuickTime-based file formats like MOV and MP4.
|
345
|
-
|
346
|
-
=head1 AUTHOR
|
347
|
-
|
348
|
-
Copyright 2003-2014, Phil Harvey (phil at owl.phy.queensu.ca)
|
349
|
-
|
350
|
-
This library is free software; you can redistribute it and/or modify it
|
351
|
-
under the same terms as Perl itself.
|
352
|
-
|
353
|
-
=head1 SEE ALSO
|
354
|
-
|
355
|
-
L<Image::ExifTool::QuickTime(3pm)|Image::ExifTool::QuickTime>,
|
356
|
-
L<Image::ExifTool(3pm)|Image::ExifTool>
|
357
|
-
|
358
|
-
=cut
|
@@ -1,1358 +0,0 @@
|
|
1
|
-
#------------------------------------------------------------------------------
|
2
|
-
# File: WriteXMP.pl
|
3
|
-
#
|
4
|
-
# Description: Write XMP meta information
|
5
|
-
#
|
6
|
-
# Revisions: 12/19/2004 - P. Harvey Created
|
7
|
-
#------------------------------------------------------------------------------
|
8
|
-
package Image::ExifTool::XMP;
|
9
|
-
|
10
|
-
use strict;
|
11
|
-
use vars qw(%specialStruct %dateTimeInfo $xlatNamespace);
|
12
|
-
|
13
|
-
use Image::ExifTool qw(:DataAccess :Utils);
|
14
|
-
|
15
|
-
sub CheckXMP($$$);
|
16
|
-
sub CaptureXMP($$$;$);
|
17
|
-
sub SetPropertyPath($$;$$$$);
|
18
|
-
|
19
|
-
my $debug = 0;
|
20
|
-
my $numPadLines = 24; # number of blank padding lines
|
21
|
-
|
22
|
-
# when writing extended XMP, resources bigger than this get placed in their own
|
23
|
-
# rdf:Description so they can be moved to the extended segments if necessary
|
24
|
-
my $newDescThresh = 10240; # 10 kB
|
25
|
-
|
26
|
-
# individual resources and namespaces to place last in separate rdf:Description's
|
27
|
-
# so they can be moved to extended XMP segments if required (see Oct. 2008 XMP spec)
|
28
|
-
my %extendedRes = (
|
29
|
-
'photoshop:History' => 1,
|
30
|
-
'xap:Thumbnails' => 1,
|
31
|
-
'xmp:Thumbnails' => 1,
|
32
|
-
'crs' => 1,
|
33
|
-
'crss' => 1,
|
34
|
-
);
|
35
|
-
|
36
|
-
my $rdfDesc = 'rdf:Description';
|
37
|
-
#
|
38
|
-
# packet/xmp/rdf headers and trailers
|
39
|
-
#
|
40
|
-
my $pktOpen = "<?xpacket begin='\xef\xbb\xbf' id='W5M0MpCehiHzreSzNTczkc9d'?>\n";
|
41
|
-
my $xmlOpen = "<?xml version='1.0' encoding='UTF-8'?>\n";
|
42
|
-
my $xmpOpenPrefix = "<x:xmpmeta xmlns:x='$nsURI{x}'";
|
43
|
-
my $rdfOpen = "<rdf:RDF xmlns:rdf='$nsURI{rdf}'>\n";
|
44
|
-
my $rdfClose = "</rdf:RDF>\n";
|
45
|
-
my $xmpClose = "</x:xmpmeta>\n";
|
46
|
-
my $pktCloseW = "<?xpacket end='w'?>"; # writable by default
|
47
|
-
my $pktCloseR = "<?xpacket end='r'?>";
|
48
|
-
|
49
|
-
#------------------------------------------------------------------------------
|
50
|
-
# Get XMP opening tag (and set x:xmptk appropriately)
|
51
|
-
# Inputs: 0) ExifTool object ref
|
52
|
-
# Returns: x:xmpmeta opening tag
|
53
|
-
sub XMPOpen($)
|
54
|
-
{
|
55
|
-
my $et = shift;
|
56
|
-
my $nv = $$et{NEW_VALUE}{$Image::ExifTool::XMP::x{xmptk}};
|
57
|
-
my $tk;
|
58
|
-
if (defined $nv) {
|
59
|
-
$tk = $et->GetNewValues($nv);
|
60
|
-
$et->VerboseValue(($tk ? '+' : '-') . ' XMP-x:XMPToolkit', $tk);
|
61
|
-
++$$et{CHANGED};
|
62
|
-
} else {
|
63
|
-
$tk = "Image::ExifTool $Image::ExifTool::VERSION";
|
64
|
-
}
|
65
|
-
my $str = $tk ? (" x:xmptk='" . EscapeXML($tk) . "'") : '';
|
66
|
-
return "$xmpOpenPrefix$str>\n";
|
67
|
-
}
|
68
|
-
|
69
|
-
#------------------------------------------------------------------------------
|
70
|
-
# Validate XMP packet and set read or read/write mode
|
71
|
-
# Inputs: 0) XMP data reference, 1) 'r' = read only, 'w' or undef = read/write
|
72
|
-
# Returns: true if XMP is good (and adds packet header/trailer if necessary)
|
73
|
-
sub ValidateXMP($;$)
|
74
|
-
{
|
75
|
-
my ($xmpPt, $mode) = @_;
|
76
|
-
$$xmpPt =~ s/^\s*<!--.*?-->\s*//s; # remove leading comment if it exists
|
77
|
-
unless ($$xmpPt =~ /^\0*<\0*\?\0*x\0*p\0*a\0*c\0*k\0*e\0*t/) {
|
78
|
-
return '' unless $$xmpPt =~ /^<x(mp)?:x[ma]pmeta/;
|
79
|
-
# add required xpacket header/trailer
|
80
|
-
$$xmpPt = $pktOpen . $$xmpPt . $pktCloseW;
|
81
|
-
}
|
82
|
-
$mode = 'w' unless $mode;
|
83
|
-
my $end = substr($$xmpPt, -32, 32);
|
84
|
-
# check for proper xpacket trailer and set r/w mode if necessary
|
85
|
-
return '' unless $end =~ s/(e\0*n\0*d\0*=\0*['"]\0*)([rw])(\0*['"]\0*\?\0*>)/$1$mode$3/;
|
86
|
-
substr($$xmpPt, -32, 32) = $end if $2 ne $mode;
|
87
|
-
return 1;
|
88
|
-
}
|
89
|
-
|
90
|
-
#------------------------------------------------------------------------------
|
91
|
-
# Check XMP date values for validity and format accordingly
|
92
|
-
# Inputs: 1) date string
|
93
|
-
# Returns: XMP date/time string (or undef on error)
|
94
|
-
sub FormatXMPDate($)
|
95
|
-
{
|
96
|
-
my $val = shift;
|
97
|
-
my ($y, $m, $d, $t, $tz);
|
98
|
-
if ($val =~ /(\d{4}):(\d{2}):(\d{2}) (\d{2}:\d{2}(?::\d{2}(?:\.\d*)?)?)(.*)/) {
|
99
|
-
($y, $m, $d, $t, $tz) = ($1, $2, $3, $4, $5);
|
100
|
-
$val = "$y-$m-${d}T$t";
|
101
|
-
} elsif ($val =~ /^\s*\d{4}(:\d{2}){0,2}\s*$/) {
|
102
|
-
# this is just a date (YYYY, YYYY-mm or YYYY-mm-dd)
|
103
|
-
$val =~ tr/:/-/;
|
104
|
-
} elsif ($val =~ /^\s*(\d{2}:\d{2}(?::\d{2}(?:\.\d*)?)?)(.*)\s*$/) {
|
105
|
-
# this is just a time
|
106
|
-
($t, $tz) = ($1, $2);
|
107
|
-
$val = $t;
|
108
|
-
} else {
|
109
|
-
return undef;
|
110
|
-
}
|
111
|
-
if ($tz) {
|
112
|
-
$tz =~ /^(Z|[+-]\d{2}:\d{2})$/ or return undef;
|
113
|
-
$val .= $tz;
|
114
|
-
}
|
115
|
-
return $val;
|
116
|
-
}
|
117
|
-
|
118
|
-
#------------------------------------------------------------------------------
|
119
|
-
# Check XMP values for validity and format accordingly
|
120
|
-
# Inputs: 0) ExifTool object ref, 1) tagInfo hash ref, 2) raw value ref
|
121
|
-
# Returns: error string or undef (and may change value) on success
|
122
|
-
# Note: copies structured information to avoid conflicts with calling code
|
123
|
-
sub CheckXMP($$$)
|
124
|
-
{
|
125
|
-
my ($et, $tagInfo, $valPtr) = @_;
|
126
|
-
|
127
|
-
if ($$tagInfo{Struct}) {
|
128
|
-
require 'Image/ExifTool/XMPStruct.pl';
|
129
|
-
my ($item, $err, $w, $warn);
|
130
|
-
unless (ref $$valPtr) {
|
131
|
-
($$valPtr, $warn) = InflateStruct($valPtr);
|
132
|
-
# expect a structure HASH ref or ARRAY of structures
|
133
|
-
ref $$valPtr or return 'Improperly formed structure';
|
134
|
-
}
|
135
|
-
if (ref $$valPtr eq 'ARRAY') {
|
136
|
-
return 'Not a list tag' unless $$tagInfo{List};
|
137
|
-
my @copy = ( @{$$valPtr} ); # copy the list for ExifTool to use
|
138
|
-
$$valPtr = \@copy; # return the copy
|
139
|
-
foreach $item (@copy) {
|
140
|
-
unless (ref $item eq 'HASH') {
|
141
|
-
($item, $w) = InflateStruct(\$item); # deserialize structure
|
142
|
-
$w and $warn = $w;
|
143
|
-
next if ref $item eq 'HASH';
|
144
|
-
$err = 'Improperly formed structure';
|
145
|
-
last;
|
146
|
-
}
|
147
|
-
($item, $err) = CheckStruct($et, $item, $$tagInfo{Struct});
|
148
|
-
last if $err;
|
149
|
-
}
|
150
|
-
} else {
|
151
|
-
($$valPtr, $err) = CheckStruct($et, $$valPtr, $$tagInfo{Struct});
|
152
|
-
}
|
153
|
-
$warn and $$et{CHECK_WARN} = $warn;
|
154
|
-
return $err;
|
155
|
-
}
|
156
|
-
my $format = $$tagInfo{Writable};
|
157
|
-
# (if no format specified, value is a simple string)
|
158
|
-
if (not $format or $format eq 'string' or $format eq 'lang-alt') {
|
159
|
-
# convert value to UTF8 if necessary
|
160
|
-
if ($$et{OPTIONS}{Charset} ne 'UTF8') {
|
161
|
-
if ($$valPtr =~ /[\x80-\xff]/) {
|
162
|
-
# convert from Charset to UTF-8
|
163
|
-
$$valPtr = $et->Encode($$valPtr,'UTF8');
|
164
|
-
}
|
165
|
-
} else {
|
166
|
-
# translate invalid XML characters to "."
|
167
|
-
$$valPtr =~ tr/\0-\x08\x0b\x0c\x0e-\x1f/./;
|
168
|
-
# fix any malformed UTF-8 characters
|
169
|
-
if (FixUTF8($valPtr) and not $$et{WarnBadUTF8}) {
|
170
|
-
$et->Warn('Malformed UTF-8 character(s)');
|
171
|
-
$$et{WarnBadUTF8} = 1;
|
172
|
-
}
|
173
|
-
}
|
174
|
-
return undef; # success
|
175
|
-
}
|
176
|
-
if ($format eq 'rational' or $format eq 'real') {
|
177
|
-
# make sure the value is a valid floating point number
|
178
|
-
unless (Image::ExifTool::IsFloat($$valPtr) or
|
179
|
-
# allow 'inf' and 'undef' rational values
|
180
|
-
($format eq 'rational' and ($$valPtr eq 'inf' or
|
181
|
-
$$valPtr eq 'undef' or Image::ExifTool::IsRational($$valPtr))))
|
182
|
-
{
|
183
|
-
return 'Not a floating point number'
|
184
|
-
}
|
185
|
-
if ($format eq 'rational') {
|
186
|
-
$$valPtr = join('/', Image::ExifTool::Rationalize($$valPtr));
|
187
|
-
}
|
188
|
-
} elsif ($format eq 'integer') {
|
189
|
-
# make sure the value is integer
|
190
|
-
if (Image::ExifTool::IsInt($$valPtr)) {
|
191
|
-
# no conversion required (converting to 'int' would remove leading '+')
|
192
|
-
} elsif (Image::ExifTool::IsHex($$valPtr)) {
|
193
|
-
$$valPtr = hex($$valPtr);
|
194
|
-
} else {
|
195
|
-
return 'Not an integer';
|
196
|
-
}
|
197
|
-
} elsif ($format eq 'date') {
|
198
|
-
my $newDate = FormatXMPDate($$valPtr);
|
199
|
-
return "Invalid date/time (use YYYY:mm:dd HH:MM:SS[.ss][+/-HH:MM|Z])" unless $newDate;
|
200
|
-
$$valPtr = $newDate;
|
201
|
-
} elsif ($format eq 'boolean') {
|
202
|
-
if (not $$valPtr or $$valPtr =~ /false/i or $$valPtr =~ /^no$/i) {
|
203
|
-
$$valPtr = 'False';
|
204
|
-
} else {
|
205
|
-
$$valPtr = 'True';
|
206
|
-
}
|
207
|
-
} elsif ($format eq '1') {
|
208
|
-
# this is the entire XMP data block
|
209
|
-
return 'Invalid XMP data' unless ValidateXMP($valPtr);
|
210
|
-
} else {
|
211
|
-
return "Unknown XMP format: $format";
|
212
|
-
}
|
213
|
-
return undef; # success!
|
214
|
-
}
|
215
|
-
|
216
|
-
#------------------------------------------------------------------------------
|
217
|
-
# Get PropertyPath for specified tagInfo
|
218
|
-
# Inputs: 0) tagInfo reference
|
219
|
-
# Returns: PropertyPath string
|
220
|
-
sub GetPropertyPath($)
|
221
|
-
{
|
222
|
-
my $tagInfo = shift;
|
223
|
-
SetPropertyPath($$tagInfo{Table}, $$tagInfo{TagID}) unless $$tagInfo{PropertyPath};
|
224
|
-
return $$tagInfo{PropertyPath};
|
225
|
-
}
|
226
|
-
|
227
|
-
#------------------------------------------------------------------------------
|
228
|
-
# Set PropertyPath for specified tag (also for associated flattened tags and structure elements)
|
229
|
-
# Inputs: 0) tagTable reference, 1) tagID, 2) tagID of parent structure,
|
230
|
-
# 3) structure definition ref (or undef), 4) property list up to this point (or undef),
|
231
|
-
# 5) flag set if any containing structure has a TYPE
|
232
|
-
# Notes: also generates flattened tags if they don't already exist
|
233
|
-
sub SetPropertyPath($$;$$$$)
|
234
|
-
{
|
235
|
-
my ($tagTablePtr, $tagID, $parentID, $structPtr, $propList, $isType) = @_;
|
236
|
-
my $table = $structPtr || $tagTablePtr;
|
237
|
-
my $tagInfo = $$table{$tagID};
|
238
|
-
|
239
|
-
return if ref($tagInfo) ne 'HASH' or $$tagInfo{PropertyPath};
|
240
|
-
|
241
|
-
# don't override existing main table entry if already set by a Struct
|
242
|
-
if ($structPtr) {
|
243
|
-
$isType = 1 if $$structPtr{TYPE};
|
244
|
-
} else {
|
245
|
-
# use property path from original tagInfo if this is an alternate-language tag
|
246
|
-
my $srcInfo = $$tagInfo{SrcTagInfo};
|
247
|
-
$$tagInfo{PropertyPath} = GetPropertyPath($srcInfo) if $srcInfo;
|
248
|
-
return if $$tagInfo{PropertyPath};
|
249
|
-
# set property path for all flattened tags in structure if necessary
|
250
|
-
if ($$tagInfo{RootTagInfo}) {
|
251
|
-
SetPropertyPath($tagTablePtr, $$tagInfo{RootTagInfo}{TagID});
|
252
|
-
return if $$tagInfo{PropertyPath};
|
253
|
-
warn "Internal Error: Didn't set path from root for $tagID\n";
|
254
|
-
}
|
255
|
-
}
|
256
|
-
my $ns = $$tagInfo{Namespace} || $$table{NAMESPACE};
|
257
|
-
$ns or warn("No namespace for $tagID\n"), return;
|
258
|
-
my (@propList, $listType);
|
259
|
-
$propList and @propList = @$propList;
|
260
|
-
push @propList, "$ns:$tagID";
|
261
|
-
# lang-alt lists are handled specially, signified by Writable='lang-alt'
|
262
|
-
if ($$tagInfo{Writable} and $$tagInfo{Writable} eq 'lang-alt') {
|
263
|
-
$listType = 'Alt';
|
264
|
-
# remove language code from property path if it exists
|
265
|
-
$propList[-1] =~ s/-$$tagInfo{LangCode}$// if $$tagInfo{LangCode};
|
266
|
-
# handle lists of lang-alt lists (eg. XMP-plus:Custom tags)
|
267
|
-
if ($$tagInfo{List} and $$tagInfo{List} ne '1') {
|
268
|
-
push @propList, "rdf:$$tagInfo{List}", 'rdf:li 10';
|
269
|
-
}
|
270
|
-
} else {
|
271
|
-
$listType = $$tagInfo{List};
|
272
|
-
}
|
273
|
-
# add required properties if this is a list
|
274
|
-
push @propList, "rdf:$listType", 'rdf:li 10' if $listType and $listType ne '1';
|
275
|
-
# set PropertyPath for all flattened tags of this structure if necessary
|
276
|
-
# (note: don't do this for variable-namespace structures (undef NAMESPACE))
|
277
|
-
my $strTable = $$tagInfo{Struct};
|
278
|
-
if ($strTable and $$strTable{NAMESPACE} and not ($parentID and
|
279
|
-
# must test NoSubStruct flag to avoid infinite recursion
|
280
|
-
(($$tagTablePtr{$parentID} and $$tagTablePtr{$parentID}{NoSubStruct}) or
|
281
|
-
length $parentID > 500))) # avoid deep recursion
|
282
|
-
{
|
283
|
-
# make sure the structure namespace has been registered
|
284
|
-
# (user-defined namespaces may not have been)
|
285
|
-
RegisterNamespace($strTable) if ref $$strTable{NAMESPACE};
|
286
|
-
my $tag;
|
287
|
-
foreach $tag (keys %$strTable) {
|
288
|
-
# ignore special fields and any lang-alt fields we may have added
|
289
|
-
next if $specialStruct{$tag} or $$strTable{$tag}{LangCode};
|
290
|
-
my $fullID = $parentID ? $parentID . ucfirst($tagID) : $tagID;
|
291
|
-
SetPropertyPath($tagTablePtr, $tag, $fullID, $strTable, \@propList, $isType);
|
292
|
-
}
|
293
|
-
}
|
294
|
-
# if this was a structure field and not a normal tag,
|
295
|
-
# we set PropertyPath in the corresponding flattened tag
|
296
|
-
if ($structPtr) {
|
297
|
-
my $flatID = $parentID . ucfirst($tagID);
|
298
|
-
$tagInfo = $$tagTablePtr{$flatID};
|
299
|
-
# create flattened tag now if necessary
|
300
|
-
# (could happen if we were just writing a structure)
|
301
|
-
unless ($tagInfo) {
|
302
|
-
$tagInfo = { Name => ucfirst($flatID), Flat => 1 };
|
303
|
-
AddTagToTable($tagTablePtr, $flatID, $tagInfo);
|
304
|
-
}
|
305
|
-
# set StructType flag if any containing structure has a TYPE
|
306
|
-
$$tagInfo{StructType} = 1 if $isType;
|
307
|
-
}
|
308
|
-
# set property path for tagInfo in main table
|
309
|
-
$$tagInfo{PropertyPath} = join '/', @propList;
|
310
|
-
}
|
311
|
-
|
312
|
-
#------------------------------------------------------------------------------
|
313
|
-
# Save XMP property name/value for rewriting
|
314
|
-
# Inputs: 0) ExifTool object reference
|
315
|
-
# 1) reference to array of XMP property path (last is current property)
|
316
|
-
# 2) property value, 3) optional reference to hash of property attributes
|
317
|
-
sub CaptureXMP($$$;$)
|
318
|
-
{
|
319
|
-
my ($et, $propList, $val, $attrs) = @_;
|
320
|
-
return unless defined $val and @$propList > 2;
|
321
|
-
if ($$propList[0] =~ /^x:x[ma]pmeta$/ and
|
322
|
-
$$propList[1] eq 'rdf:RDF' and
|
323
|
-
$$propList[2] =~ /$rdfDesc( |$)/)
|
324
|
-
{
|
325
|
-
# no properties to save yet if this is just the description
|
326
|
-
return unless @$propList > 3;
|
327
|
-
# ignore empty list properties
|
328
|
-
if ($$propList[-1] =~ /^rdf:(Bag|Seq|Alt)$/) {
|
329
|
-
$et->Warn("Ignored empty $$propList[-1] list for $$propList[-2]", 1);
|
330
|
-
return;
|
331
|
-
}
|
332
|
-
# save information about this property
|
333
|
-
my $capture = $$et{XMP_CAPTURE};
|
334
|
-
my $path = join('/', @$propList[3..$#$propList]);
|
335
|
-
if (defined $$capture{$path}) {
|
336
|
-
$$et{XMP_ERROR} = "Duplicate XMP property: $path";
|
337
|
-
} else {
|
338
|
-
$$capture{$path} = [$val, $attrs || { }];
|
339
|
-
}
|
340
|
-
} elsif ($$propList[0] eq 'rdf:RDF' and
|
341
|
-
$$propList[1] =~ /$rdfDesc( |$)/)
|
342
|
-
{
|
343
|
-
# set flag so we don't write x:xmpmeta element
|
344
|
-
$$et{XMP_NO_XMPMETA} = 1;
|
345
|
-
# add missing x:xmpmeta element and try again
|
346
|
-
unshift @$propList, 'x:xmpmeta';
|
347
|
-
CaptureXMP($et, $propList, $val, $attrs);
|
348
|
-
} else {
|
349
|
-
$$et{XMP_ERROR} = 'Improperly enclosed XMP property: ' . join('/',@$propList);
|
350
|
-
}
|
351
|
-
}
|
352
|
-
|
353
|
-
#------------------------------------------------------------------------------
|
354
|
-
# Save information about resource containing blank node with nodeID
|
355
|
-
# Inputs: 0) reference to blank node information hash
|
356
|
-
# 1) reference to property list
|
357
|
-
# 2) property value
|
358
|
-
# 3) [optional] reference to attribute hash
|
359
|
-
# Notes: This routine and ProcessBlankInfo() are also used for reading information, but
|
360
|
-
# are uncommon so are put in this file to reduce compile time for the common case
|
361
|
-
sub SaveBlankInfo($$$;$)
|
362
|
-
{
|
363
|
-
my ($blankInfo, $propListPt, $val, $attrs) = @_;
|
364
|
-
|
365
|
-
my $propPath = join '/', @$propListPt;
|
366
|
-
my @ids = ($propPath =~ m{ #([^ /]*)}g);
|
367
|
-
my $id;
|
368
|
-
# split the property path at each nodeID
|
369
|
-
foreach $id (@ids) {
|
370
|
-
my ($pre, $prop, $post) = ($propPath =~ m{^(.*?)/([^/]*) #$id((/.*)?)$});
|
371
|
-
defined $pre or warn("internal error parsing nodeID's"), next;
|
372
|
-
# the element with the nodeID should be in the path prefix for subject
|
373
|
-
# nodes and the path suffix for object nodes
|
374
|
-
unless ($prop eq $rdfDesc) {
|
375
|
-
if ($post) {
|
376
|
-
$post = "/$prop$post";
|
377
|
-
} else {
|
378
|
-
$pre = "$pre/$prop";
|
379
|
-
}
|
380
|
-
}
|
381
|
-
$$blankInfo{Prop}{$id}{Pre}{$pre} = 1;
|
382
|
-
if ((defined $post and length $post) or (defined $val and length $val)) {
|
383
|
-
# save the property value and attributes for each unique path suffix
|
384
|
-
$$blankInfo{Prop}{$id}{Post}{$post} = [ $val, $attrs, $propPath ];
|
385
|
-
}
|
386
|
-
}
|
387
|
-
}
|
388
|
-
|
389
|
-
#------------------------------------------------------------------------------
|
390
|
-
# Process blank-node information
|
391
|
-
# Inputs: 0) ExifTool object ref, 1) tag table ref,
|
392
|
-
# 2) blank node information hash ref, 3) flag set for writing
|
393
|
-
sub ProcessBlankInfo($$$;$)
|
394
|
-
{
|
395
|
-
my ($et, $tagTablePtr, $blankInfo, $isWriting) = @_;
|
396
|
-
$et->VPrint(1, " [Elements with nodeID set:]\n") unless $isWriting;
|
397
|
-
my ($id, $pre, $post);
|
398
|
-
# handle each nodeID separately
|
399
|
-
foreach $id (sort keys %{$$blankInfo{Prop}}) {
|
400
|
-
my $path = $$blankInfo{Prop}{$id};
|
401
|
-
# flag all resource names so we can warn later if some are unused
|
402
|
-
my %unused;
|
403
|
-
foreach $post (keys %{$$path{Post}}) {
|
404
|
-
$unused{$post} = 1;
|
405
|
-
}
|
406
|
-
# combine property paths for all possible paths through this node
|
407
|
-
foreach $pre (sort keys %{$$path{Pre}}) {
|
408
|
-
# there will be no description for the object of a blank node
|
409
|
-
next unless $pre =~ m{/$rdfDesc/};
|
410
|
-
foreach $post (sort keys %{$$path{Post}}) {
|
411
|
-
my @propList = split m{/}, "$pre$post";
|
412
|
-
my ($val, $attrs) = @{$$path{Post}{$post}};
|
413
|
-
if ($isWriting) {
|
414
|
-
CaptureXMP($et, \@propList, $val, $attrs);
|
415
|
-
} else {
|
416
|
-
FoundXMP($et, $tagTablePtr, \@propList, $val);
|
417
|
-
}
|
418
|
-
delete $unused{$post};
|
419
|
-
}
|
420
|
-
}
|
421
|
-
# save information from unused properties (if RDF is malformed like f-spot output)
|
422
|
-
if (%unused) {
|
423
|
-
$et->Options('Verbose') and $et->Warn('An XMP resource is about nothing');
|
424
|
-
foreach $post (sort keys %unused) {
|
425
|
-
my ($val, $attrs, $propPath) = @{$$path{Post}{$post}};
|
426
|
-
my @propList = split m{/}, $propPath;
|
427
|
-
if ($isWriting) {
|
428
|
-
CaptureXMP($et, \@propList, $val, $attrs);
|
429
|
-
} else {
|
430
|
-
FoundXMP($et, $tagTablePtr, \@propList, $val);
|
431
|
-
}
|
432
|
-
}
|
433
|
-
}
|
434
|
-
}
|
435
|
-
}
|
436
|
-
|
437
|
-
#------------------------------------------------------------------------------
|
438
|
-
# Convert path to namespace used in file (this is a pain, but the XMP
|
439
|
-
# spec only suggests 'preferred' namespace prefixes...)
|
440
|
-
# Inputs: 0) ExifTool object reference, 1) property path
|
441
|
-
# Returns: conforming property path
|
442
|
-
sub ConformPathToNamespace($$)
|
443
|
-
{
|
444
|
-
my ($et, $path) = @_;
|
445
|
-
my @propList = split('/',$path);
|
446
|
-
my $nsUsed = $$et{XMP_NS};
|
447
|
-
my $prop;
|
448
|
-
foreach $prop (@propList) {
|
449
|
-
my ($ns, $tag) = $prop =~ /(.+?):(.*)/;
|
450
|
-
next if $$nsUsed{$ns};
|
451
|
-
my $uri = $nsURI{$ns};
|
452
|
-
unless ($uri) {
|
453
|
-
warn "No URI for namepace prefix $ns!\n";
|
454
|
-
next;
|
455
|
-
}
|
456
|
-
my $ns2;
|
457
|
-
foreach $ns2 (keys %$nsUsed) {
|
458
|
-
next unless $$nsUsed{$ns2} eq $uri;
|
459
|
-
# use the existing namespace prefix instead of ours
|
460
|
-
$prop = "$ns2:$tag";
|
461
|
-
last;
|
462
|
-
}
|
463
|
-
}
|
464
|
-
return join('/',@propList);
|
465
|
-
}
|
466
|
-
|
467
|
-
#------------------------------------------------------------------------------
|
468
|
-
# Add necessary rdf:type element when writing structure
|
469
|
-
# Inputs: 0) ExifTool ref, 1) tag table ref, 2) capture hash ref, 3) path string
|
470
|
-
# 4) optional base path (already conformed to namespace) for elements in
|
471
|
-
# variable-namespace structures
|
472
|
-
sub AddStructType($$$$;$)
|
473
|
-
{
|
474
|
-
my ($et, $tagTablePtr, $capture, $path, $basePath) = @_;
|
475
|
-
my @props = split '/', $path;
|
476
|
-
my %doneID;
|
477
|
-
for (;;) {
|
478
|
-
pop @props;
|
479
|
-
last unless @props;
|
480
|
-
my $tagID = GetXMPTagID(\@props);
|
481
|
-
next if $doneID{$tagID};
|
482
|
-
$doneID{$tagID} = 1;
|
483
|
-
my $tagInfo = $$tagTablePtr{$tagID};
|
484
|
-
last unless ref $tagInfo eq 'HASH';
|
485
|
-
if ($$tagInfo{Struct}) {
|
486
|
-
my $type = $$tagInfo{Struct}{TYPE};
|
487
|
-
if ($type) {
|
488
|
-
my $pat = $$tagInfo{PropertyPath};
|
489
|
-
$pat or warn("Missing PropertyPath in AddStructType\n"), last;
|
490
|
-
$pat = ConformPathToNamespace($et, $pat);
|
491
|
-
$pat =~ s/ \d+/ \\d\+/g;
|
492
|
-
$path =~ /^($pat)/ or warn("Wrong path in AddStructType\n"), last;
|
493
|
-
my $p = $1 . '/rdf:type';
|
494
|
-
$p = "$basePath/$p" if $basePath;
|
495
|
-
$$capture{$p} = [ '', { 'rdf:resource' => $type } ] unless $$capture{$p};
|
496
|
-
}
|
497
|
-
}
|
498
|
-
last unless $$tagInfo{StructType};
|
499
|
-
}
|
500
|
-
}
|
501
|
-
|
502
|
-
#------------------------------------------------------------------------------
|
503
|
-
# Utility routine to encode data in base64
|
504
|
-
# Inputs: 0) binary data string, 1) flag to avoid inserting newlines
|
505
|
-
# Returns: base64-encoded string
|
506
|
-
sub EncodeBase64($;$)
|
507
|
-
{
|
508
|
-
# encode the data in 45-byte chunks
|
509
|
-
my $chunkSize = 45;
|
510
|
-
my $len = length $_[0];
|
511
|
-
my $str = '';
|
512
|
-
my $i;
|
513
|
-
for ($i=0; $i<$len; $i+=$chunkSize) {
|
514
|
-
my $n = $len - $i;
|
515
|
-
$n = $chunkSize if $n > $chunkSize;
|
516
|
-
# add uuencoded data to output (minus size byte, but including trailing newline)
|
517
|
-
$str .= substr(pack('u', substr($_[0], $i, $n)), 1);
|
518
|
-
}
|
519
|
-
# convert to base64 (remember that "\0" may be encoded as ' ' or '`')
|
520
|
-
$str =~ tr/` -_/AA-Za-z0-9+\//;
|
521
|
-
# convert pad characters at the end (remember to account for trailing newline)
|
522
|
-
my $pad = 3 - ($len % 3);
|
523
|
-
substr($str, -$pad-1, $pad) = ('=' x $pad) if $pad < 3;
|
524
|
-
$str =~ tr/\n//d if $_[1]; # remove newlines if specified
|
525
|
-
return $str;
|
526
|
-
}
|
527
|
-
|
528
|
-
#------------------------------------------------------------------------------
|
529
|
-
# sort tagInfo hash references by tag name
|
530
|
-
sub ByTagName
|
531
|
-
{
|
532
|
-
return $$a{Name} cmp $$b{Name};
|
533
|
-
}
|
534
|
-
|
535
|
-
#------------------------------------------------------------------------------
|
536
|
-
# sort alphabetically, but with rdf:type first in the structure
|
537
|
-
sub TypeFirst
|
538
|
-
{
|
539
|
-
if ($a =~ /rdf:type$/) {
|
540
|
-
return substr($a, 0, -8) cmp $b unless $b =~ /rdf:type$/;
|
541
|
-
} elsif ($b =~ /rdf:type$/) {
|
542
|
-
return $a cmp substr($b, 0, -8);
|
543
|
-
}
|
544
|
-
return $a cmp $b;
|
545
|
-
}
|
546
|
-
|
547
|
-
#------------------------------------------------------------------------------
|
548
|
-
# Limit size of XMP
|
549
|
-
# Inputs: 0) ExifTool object ref, 1) XMP data ref (written up to start of $rdfClose),
|
550
|
-
# 2) max XMP len, 3) rdf:about string, 4) list ref for description start offsets
|
551
|
-
# 5) start offset of first description recommended for extended XMP
|
552
|
-
# Returns: 0) extended XMP ref, 1) GUID and updates $$dataPt (or undef if no extended XMP)
|
553
|
-
sub LimitXMPSize($$$$$$)
|
554
|
-
{
|
555
|
-
my ($et, $dataPt, $maxLen, $about, $startPt, $extStart) = @_;
|
556
|
-
|
557
|
-
# return straight away if it isn't too big
|
558
|
-
return undef if length($$dataPt) < $maxLen;
|
559
|
-
|
560
|
-
push @$startPt, length($$dataPt); # add end offset to list
|
561
|
-
my $newData = substr($$dataPt, 0, $$startPt[0]);
|
562
|
-
my $guid = '0' x 32;
|
563
|
-
# write the required xmpNote:HasExtendedXMP property
|
564
|
-
$newData .= "\n <$rdfDesc rdf:about='$about'\n xmlns:xmpNote='$nsURI{xmpNote}'>\n" .
|
565
|
-
" <xmpNote:HasExtendedXMP>$guid</xmpNote:HasExtendedXMP>\n" .
|
566
|
-
" </$rdfDesc>\n";
|
567
|
-
|
568
|
-
my ($i, %descSize, $start);
|
569
|
-
# calculate all description block sizes
|
570
|
-
for ($i=1; $i<@$startPt; ++$i) {
|
571
|
-
$descSize{$$startPt[$i-1]} = $$startPt[$i] - $$startPt[$i-1];
|
572
|
-
}
|
573
|
-
pop @$startPt; # remove end offset
|
574
|
-
# write the descriptions from smallest to largest, as many in main XMP as possible
|
575
|
-
my @descStart = sort { $descSize{$a} <=> $descSize{$b} } @$startPt;
|
576
|
-
my $extData = XMPOpen($et) . $rdfOpen;
|
577
|
-
for ($i=0; $i<2; ++$i) {
|
578
|
-
foreach $start (@descStart) {
|
579
|
-
# write main XMP first (in order of size), then extended XMP afterwards (in order)
|
580
|
-
next if $i xor $start >= $extStart;
|
581
|
-
my $pt = (length($newData) + $descSize{$start} > $maxLen) ? \$extData : \$newData;
|
582
|
-
$$pt .= substr($$dataPt, $start, $descSize{$start});
|
583
|
-
}
|
584
|
-
}
|
585
|
-
$extData .= $rdfClose . $xmpClose; # close rdf:RDF and x:xmpmeta
|
586
|
-
# calculate GUID from MD5 of extended XMP data
|
587
|
-
if (eval { require Digest::MD5 }) {
|
588
|
-
$guid = uc unpack('H*', Digest::MD5::md5($extData));
|
589
|
-
$newData =~ s/0{32}/$guid/; # update GUID in main XMP segment
|
590
|
-
}
|
591
|
-
$et->VerboseValue('+ XMP-xmpNote:HasExtendedXMP', $guid);
|
592
|
-
$$dataPt = $newData; # return main XMP block
|
593
|
-
return (\$extData, $guid); # return extended XMP and its GUID
|
594
|
-
}
|
595
|
-
|
596
|
-
#------------------------------------------------------------------------------
|
597
|
-
# Write XMP information
|
598
|
-
# Inputs: 0) ExifTool object reference, 1) source dirInfo reference,
|
599
|
-
# 2) [optional] tag table reference
|
600
|
-
# Returns: with tag table: new XMP data (may be empty if no XMP data) or undef on error
|
601
|
-
# without tag table: 1 on success, 0 if not valid XMP file, -1 on write error
|
602
|
-
# Notes: May set dirInfo InPlace flag to rewrite with specified DirLen
|
603
|
-
# May set dirInfo ReadOnly flag to write as read-only XMP ('r' mode and no padding)
|
604
|
-
# May set dirInfo Compact flag to force compact (drops 2kB of padding)
|
605
|
-
# May set dirInfo MaxDataLen to limit output data length -- this causes ExtendedXMP
|
606
|
-
# and ExtendedGUID to be returned in dirInfo if extended XMP was required
|
607
|
-
sub WriteXMP($$;$)
|
608
|
-
{
|
609
|
-
my ($et, $dirInfo, $tagTablePtr) = @_;
|
610
|
-
$et or return 1; # allow dummy access to autoload this package
|
611
|
-
my $dataPt = $$dirInfo{DataPt};
|
612
|
-
my (%capture, %nsUsed, $xmpErr, $tagInfo, $about);
|
613
|
-
my $changed = 0;
|
614
|
-
my $xmpFile = (not $tagTablePtr); # this is an XMP data file if no $tagTablePtr
|
615
|
-
# prefer XMP over other metadata formats in some types of files
|
616
|
-
my $preferred = $xmpFile || ($$et{PreferredGroup} and $$et{PreferredGroup} eq 'XMP');
|
617
|
-
my $verbose = $et->Options('Verbose');
|
618
|
-
my $dirLen = $$dirInfo{DirLen};
|
619
|
-
$dirLen = length($$dataPt) if not defined $dirLen and $dataPt;
|
620
|
-
#
|
621
|
-
# extract existing XMP information into %capture hash
|
622
|
-
#
|
623
|
-
# define hash in ExifTool object to capture XMP information (also causes
|
624
|
-
# CaptureXMP() instead of FoundXMP() to be called from ParseXMPElement())
|
625
|
-
#
|
626
|
-
# The %capture hash is keyed on the complete property path beginning after
|
627
|
-
# rdf:RDF/rdf:Description/. The values are array references with the
|
628
|
-
# following entries: 0) value, 1) attribute hash reference.
|
629
|
-
$$et{XMP_CAPTURE} = \%capture;
|
630
|
-
$$et{XMP_NS} = \%nsUsed;
|
631
|
-
delete $$et{XMP_NO_XMPMETA};
|
632
|
-
delete $$et{XMP_NO_XPACKET};
|
633
|
-
delete $$et{XMP_IS_XML};
|
634
|
-
delete $$et{XMP_IS_SVG};
|
635
|
-
|
636
|
-
if ($xmpFile or $dirLen) {
|
637
|
-
delete $$et{XMP_ERROR};
|
638
|
-
delete $$et{XMP_ABOUT};
|
639
|
-
# extract all existing XMP information (to the XMP_CAPTURE hash)
|
640
|
-
my $success = ProcessXMP($et, $dirInfo, $tagTablePtr);
|
641
|
-
# don't continue if there is nothing to parse or if we had a parsing error
|
642
|
-
unless ($success and not $$et{XMP_ERROR}) {
|
643
|
-
my $err = $$et{XMP_ERROR} || 'Error parsing XMP';
|
644
|
-
# may ignore this error only if we were successful
|
645
|
-
if ($xmpFile) {
|
646
|
-
my $raf = $$dirInfo{RAF};
|
647
|
-
# allow empty XMP data so we can create something from nothing
|
648
|
-
if ($success or not $raf->Seek(0,2) or $raf->Tell()) {
|
649
|
-
# no error message if not an XMP file
|
650
|
-
return 0 unless $$et{XMP_ERROR};
|
651
|
-
if ($et->Error($err, $success)) {
|
652
|
-
delete $$et{XMP_CAPTURE};
|
653
|
-
return 0;
|
654
|
-
}
|
655
|
-
}
|
656
|
-
} else {
|
657
|
-
if ($et->Warn($err, $success)) {
|
658
|
-
delete $$et{XMP_CAPTURE};
|
659
|
-
return undef;
|
660
|
-
}
|
661
|
-
}
|
662
|
-
}
|
663
|
-
$tagInfo = $Image::ExifTool::XMP::rdf{about};
|
664
|
-
if (defined $$et{NEW_VALUE}{$tagInfo}) {
|
665
|
-
$about = $et->GetNewValues($$et{NEW_VALUE}{$tagInfo}) || '';
|
666
|
-
if ($verbose > 1) {
|
667
|
-
my $wasAbout = $$et{XMP_ABOUT};
|
668
|
-
$et->VerboseValue('- XMP-rdf:About', UnescapeXML($wasAbout)) if defined $wasAbout;
|
669
|
-
$et->VerboseValue('+ XMP-rdf:About', $about);
|
670
|
-
}
|
671
|
-
$about = EscapeXML($about); # must escape for XML
|
672
|
-
++$changed;
|
673
|
-
} else {
|
674
|
-
$about = $$et{XMP_ABOUT} || '';
|
675
|
-
}
|
676
|
-
delete $$et{XMP_ERROR};
|
677
|
-
delete $$et{XMP_ABOUT};
|
678
|
-
} else {
|
679
|
-
$about = '';
|
680
|
-
}
|
681
|
-
#
|
682
|
-
# handle writing XMP as a block to XMP file
|
683
|
-
#
|
684
|
-
if ($xmpFile) {
|
685
|
-
$tagInfo = $Image::ExifTool::Extra{XMP};
|
686
|
-
if ($tagInfo and $$et{NEW_VALUE}{$tagInfo}) {
|
687
|
-
my $rtnVal = 1;
|
688
|
-
my $newVal = $et->GetNewValues($$et{NEW_VALUE}{$tagInfo});
|
689
|
-
if (defined $newVal and length $newVal) {
|
690
|
-
$et->VPrint(0, " Writing XMP as a block\n");
|
691
|
-
++$$et{CHANGED};
|
692
|
-
Write($$dirInfo{OutFile}, $newVal) or $rtnVal = -1;
|
693
|
-
}
|
694
|
-
delete $$et{XMP_CAPTURE};
|
695
|
-
return $rtnVal;
|
696
|
-
}
|
697
|
-
}
|
698
|
-
#
|
699
|
-
# delete groups in family 1 if requested
|
700
|
-
#
|
701
|
-
if (%{$$et{DEL_GROUP}} and (grep /^XMP-.+$/, keys %{$$et{DEL_GROUP}} or
|
702
|
-
# (logic is a bit more complex for group names in exiftool XML files)
|
703
|
-
grep m{^http://ns.exiftool.ca/}, values %nsUsed))
|
704
|
-
{
|
705
|
-
my $del = $$et{DEL_GROUP};
|
706
|
-
my $path;
|
707
|
-
foreach $path (keys %capture) {
|
708
|
-
my @propList = split('/',$path); # get property list
|
709
|
-
my ($tag, $ns) = GetXMPTagID(\@propList);
|
710
|
-
# translate namespace if necessary
|
711
|
-
$ns = $$xlatNamespace{$ns} if $$xlatNamespace{$ns};
|
712
|
-
my ($grp, @g);
|
713
|
-
# no "XMP-" added to most groups in exiftool RDF/XML output file
|
714
|
-
if ($nsUsed{$ns} and (@g = ($nsUsed{$ns} =~ m{^http://ns.exiftool.ca/(.*?)/(.*?)/}))) {
|
715
|
-
if ($g[1] =~ /^\d/) {
|
716
|
-
$grp = "XML-$g[0]";
|
717
|
-
#(all XML-* groups stored as uppercase DEL_GROUP key)
|
718
|
-
my $ucg = uc $grp;
|
719
|
-
next unless $$del{$ucg} or ($$del{'XML-*'} and not $$del{"-$ucg"});
|
720
|
-
} else {
|
721
|
-
$grp = $g[1];
|
722
|
-
next unless $$del{$grp} or ($$del{$g[0]} and not $$del{"-$grp"});
|
723
|
-
}
|
724
|
-
} else {
|
725
|
-
$grp = "XMP-$ns";
|
726
|
-
my $ucg = uc $grp;
|
727
|
-
next unless $$del{$ucg} or ($$del{'XMP-*'} and not $$del{"-$ucg"});
|
728
|
-
}
|
729
|
-
$et->VerboseValue("- $grp:$tag", $capture{$path}->[0]);
|
730
|
-
delete $capture{$path};
|
731
|
-
++$changed;
|
732
|
-
}
|
733
|
-
}
|
734
|
-
# delete HasExtendedXMP tag (we create it as needed)
|
735
|
-
my $hasExtTag = 'xmpNote:HasExtendedXMP';
|
736
|
-
if ($capture{$hasExtTag}) {
|
737
|
-
$et->VerboseValue("- XMP-$hasExtTag", $capture{$hasExtTag}->[0]);
|
738
|
-
delete $capture{$hasExtTag};
|
739
|
-
}
|
740
|
-
# set $xmpOpen now to to handle xmptk tag first
|
741
|
-
my $xmpOpen = $$et{XMP_NO_XMPMETA} ? '' : XMPOpen($et);
|
742
|
-
#
|
743
|
-
# add, delete or change information as specified
|
744
|
-
#
|
745
|
-
# get hash of all information we want to change
|
746
|
-
# (sorted by tag name so alternate languages come last, but with structures
|
747
|
-
# first so flattened tags may be used to override individual structure elements)
|
748
|
-
my @tagInfoList;
|
749
|
-
foreach $tagInfo (sort ByTagName $et->GetNewTagInfoList()) {
|
750
|
-
next unless $et->GetGroup($tagInfo, 0) eq 'XMP';
|
751
|
-
next if $$tagInfo{Name} eq 'XMP'; # (ignore full XMP block if we didn't write it already)
|
752
|
-
if ($$tagInfo{Struct}) {
|
753
|
-
unshift @tagInfoList, $tagInfo;
|
754
|
-
} else {
|
755
|
-
push @tagInfoList, $tagInfo;
|
756
|
-
}
|
757
|
-
}
|
758
|
-
foreach $tagInfo (@tagInfoList) {
|
759
|
-
my $tag = $$tagInfo{TagID};
|
760
|
-
my $path = GetPropertyPath($tagInfo);
|
761
|
-
unless ($path) {
|
762
|
-
$et->Warn("Can't write XMP:$tag (namespace unknown)");
|
763
|
-
next;
|
764
|
-
}
|
765
|
-
# skip tags that were handled specially
|
766
|
-
if ($path eq 'rdf:about' or $path eq 'x:xmptk') {
|
767
|
-
++$changed;
|
768
|
-
next;
|
769
|
-
}
|
770
|
-
my $isStruct = $$tagInfo{Struct};
|
771
|
-
# change our property path namespace prefixes to conform
|
772
|
-
# to the ones used in this file
|
773
|
-
$path = ConformPathToNamespace($et, $path);
|
774
|
-
# find existing property
|
775
|
-
my $cap = $capture{$path};
|
776
|
-
# MicrosoftPhoto screws up the case of some tags, and some other software,
|
777
|
-
# including Adobe software, has been known to write the wrong list type or
|
778
|
-
# not properly enclose properties in a list, so we check for this
|
779
|
-
until ($cap) {
|
780
|
-
# find and fix all incorrect property names if this is a structure or a flattened tag
|
781
|
-
my @fixInfo;
|
782
|
-
if ($isStruct or defined $$tagInfo{Flat}) {
|
783
|
-
# get tagInfo for all containing (possibly nested) structures
|
784
|
-
my @props = split '/', $path;
|
785
|
-
my $tbl = $$tagInfo{Table};
|
786
|
-
while (@props) {
|
787
|
-
my $info = $$tbl{GetXMPTagID(\@props)};
|
788
|
-
unshift @fixInfo, $info if ref $info eq 'HASH' and $$info{Struct} and
|
789
|
-
(not @fixInfo or $fixInfo[0] ne $info);
|
790
|
-
pop @props;
|
791
|
-
}
|
792
|
-
$et->WarnOnce("Error finding parent structure for $$tagInfo{Name}") unless @fixInfo;
|
793
|
-
}
|
794
|
-
# fix property path for this tag (last in the @fixInfo list)
|
795
|
-
push @fixInfo, $tagInfo unless @fixInfo and $isStruct;
|
796
|
-
# start from outermost containing structure, fixing incorrect list types, etc,
|
797
|
-
# finally fixing the actual tag properties after all containing structures
|
798
|
-
my $err;
|
799
|
-
while (@fixInfo) {
|
800
|
-
my $fixInfo = shift @fixInfo;
|
801
|
-
my $fixPath = ConformPathToNamespace($et, GetPropertyPath($fixInfo));
|
802
|
-
my $regex = quotemeta($fixPath);
|
803
|
-
$regex =~ s/ \d+/ \\d\+/g; # match any list index
|
804
|
-
my $ok = $regex;
|
805
|
-
my ($ok2, $match, $i, @fixed, %fixed, $fixed, $changed);
|
806
|
-
# check for incorrect list types
|
807
|
-
if ($regex =~ s{\\/rdf\\:(Bag|Seq|Alt)\\/}{/rdf:(Bag|Seq|Alt)/}g) {
|
808
|
-
# also look for missing bottom-level list
|
809
|
-
if ($regex =~ s{/rdf:\(Bag\|Seq\|Alt\)\/rdf\\:li\\ \\d\+$}{}) {
|
810
|
-
$regex .= '(/.*)?' unless @fixInfo;
|
811
|
-
}
|
812
|
-
} elsif (not @fixInfo) {
|
813
|
-
$ok2 = $regex;
|
814
|
-
# check for properties in lists that shouldn't be (ref forum4325)
|
815
|
-
$regex .= '(/rdf:(Bag|Seq|Alt)/rdf:li \d+)?';
|
816
|
-
}
|
817
|
-
if (@fixInfo) {
|
818
|
-
$regex .= '(/.*)?';
|
819
|
-
$ok .= '(/.*)?';
|
820
|
-
}
|
821
|
-
my @matches = sort grep m{^$regex$}i, keys %capture;
|
822
|
-
last unless @matches;
|
823
|
-
if ($matches[0] =~ m{^$ok$}) {
|
824
|
-
unless (@fixInfo) {
|
825
|
-
$path = $matches[0];
|
826
|
-
$cap = $capture{$path};
|
827
|
-
}
|
828
|
-
next;
|
829
|
-
}
|
830
|
-
# needs fixing...
|
831
|
-
my @fixProps = split '/', $fixPath;
|
832
|
-
foreach $match (@matches) {
|
833
|
-
my @matchProps = split '/', $match;
|
834
|
-
# remove superfluous list properties if necessary
|
835
|
-
$#matchProps = $#fixProps if $ok2 and $#matchProps > $#fixProps;
|
836
|
-
for ($i=0; $i<@fixProps; ++$i) {
|
837
|
-
defined $matchProps[$i] or $matchProps[$i] = $fixProps[$i], next;
|
838
|
-
next if $matchProps[$i] =~ / \d+$/ or $matchProps[$i] eq $fixProps[$i];
|
839
|
-
$matchProps[$i] = $fixProps[$i];
|
840
|
-
}
|
841
|
-
$fixed = join '/', @matchProps;
|
842
|
-
$err = 1 if $fixed{$fixed} or ($capture{$fixed} and $match ne $fixed);
|
843
|
-
push @fixed, $fixed;
|
844
|
-
$fixed{$fixed} = 1;
|
845
|
-
}
|
846
|
-
my $tg = $et->GetGroup($fixInfo, 1) . ':' . $$fixInfo{Name};
|
847
|
-
my $wrn = lc($fixed[0]) eq lc($matches[0]) ? 'tag ID case' : 'list type';
|
848
|
-
if ($err) {
|
849
|
-
$et->Warn("Incorrect $wrn for existing $tg (not changed)");
|
850
|
-
} else {
|
851
|
-
# fix the incorrect property paths for all values of this tag
|
852
|
-
foreach $fixed (@fixed) {
|
853
|
-
my $match = shift @matches;
|
854
|
-
next if $fixed eq $match;
|
855
|
-
$capture{$fixed} = $capture{$match};
|
856
|
-
delete $capture{$match};
|
857
|
-
# remove xml:lang attribute from incorrect lang-alt list if necessary
|
858
|
-
delete $capture{$fixed}[1]{'xml:lang'} if $ok2 and $match !~ /^$ok2$/;
|
859
|
-
$changed = 1;
|
860
|
-
}
|
861
|
-
$cap = $capture{$path} || $capture{$fixed[0]} unless @fixInfo;
|
862
|
-
$et->Warn("Fixed incorrect $wrn for $tg", 1) if $changed;
|
863
|
-
}
|
864
|
-
}
|
865
|
-
last;
|
866
|
-
}
|
867
|
-
my $nvHash = $et->GetNewValueHash($tagInfo);
|
868
|
-
my $overwrite = $et->IsOverwriting($nvHash);
|
869
|
-
my $writable = $$tagInfo{Writable} || '';
|
870
|
-
my (%attrs, $deleted, $added, $existed);
|
871
|
-
# delete existing entry if necessary
|
872
|
-
if ($isStruct) {
|
873
|
-
require 'Image/ExifTool/XMPStruct.pl';
|
874
|
-
($deleted, $added, $existed) = DeleteStruct($et, \%capture, \$path, $nvHash, \$changed);
|
875
|
-
next unless $deleted or $added or $et->IsOverwriting($nvHash);
|
876
|
-
next if $existed and $$nvHash{CreateOnly};
|
877
|
-
} elsif ($cap) {
|
878
|
-
next if $$nvHash{CreateOnly}; # (necessary for List-type tags)
|
879
|
-
# take attributes from old values if they exist
|
880
|
-
%attrs = %{$$cap[1]};
|
881
|
-
if ($overwrite) {
|
882
|
-
my ($delPath, $oldLang, $delLang, $addLang, @matchingPaths);
|
883
|
-
# check to see if this is an indexed list item
|
884
|
-
if ($path =~ / /) {
|
885
|
-
my $pp;
|
886
|
-
($pp = $path) =~ s/ \d+/ \\d\+/g;
|
887
|
-
@matchingPaths = sort grep(/^$pp$/, keys %capture);
|
888
|
-
} else {
|
889
|
-
push @matchingPaths, $path;
|
890
|
-
}
|
891
|
-
foreach $path (@matchingPaths) {
|
892
|
-
my ($val, $attrs) = @{$capture{$path}};
|
893
|
-
if ($writable eq 'lang-alt') {
|
894
|
-
unless (defined $addLang) {
|
895
|
-
# add to lang-alt list by default if creating this tag from scratch
|
896
|
-
$addLang = $$nvHash{IsCreating} ? 1 : 0;
|
897
|
-
}
|
898
|
-
# get original language code (lc for comparisons)
|
899
|
-
$oldLang = lc($$attrs{'xml:lang'} || 'x-default');
|
900
|
-
if ($overwrite < 0) {
|
901
|
-
my $newLang = lc($$tagInfo{LangCode} || 'x-default');
|
902
|
-
next unless $oldLang eq $newLang;
|
903
|
-
# only add new tag if we are overwriting this one
|
904
|
-
# (note: this won't match if original XML contains CDATA!)
|
905
|
-
$addLang = $et->IsOverwriting($nvHash, UnescapeXML($val));
|
906
|
-
next unless $addLang;
|
907
|
-
}
|
908
|
-
# delete all if deleting "x-default" and writing with no LangCode
|
909
|
-
# (XMP spec requires x-default language exist and be first in list)
|
910
|
-
if ($oldLang eq 'x-default' and not $$tagInfo{LangCode}) {
|
911
|
-
$delLang = 1; # delete all languages
|
912
|
-
$overwrite = 1; # force overwrite
|
913
|
-
} elsif ($$tagInfo{LangCode} and not $delLang) {
|
914
|
-
# only overwrite specified language
|
915
|
-
next unless lc($$tagInfo{LangCode}) eq $oldLang;
|
916
|
-
}
|
917
|
-
} elsif ($overwrite < 0) {
|
918
|
-
# only overwrite specific values
|
919
|
-
if ($$nvHash{Shift}) {
|
920
|
-
# values to be shifted are checked (hence re-formatted) late,
|
921
|
-
# so we must un-format the to-be-shifted value for IsOverwriting()
|
922
|
-
my $fmt = $$tagInfo{Writable} || '';
|
923
|
-
if ($fmt eq 'rational') {
|
924
|
-
ConvertRational($val);
|
925
|
-
} elsif ($fmt eq 'date') {
|
926
|
-
$val = ConvertXMPDate($val);
|
927
|
-
}
|
928
|
-
}
|
929
|
-
# (note: this won't match if original XML contains CDATA!)
|
930
|
-
next unless $et->IsOverwriting($nvHash, UnescapeXML($val));
|
931
|
-
}
|
932
|
-
if ($verbose > 1) {
|
933
|
-
my $grp = $et->GetGroup($tagInfo, 1);
|
934
|
-
my $tagName = $$tagInfo{Name};
|
935
|
-
$tagName =~ s/-$$tagInfo{LangCode}$// if $$tagInfo{LangCode};
|
936
|
-
$tagName .= '-' . $$attrs{'xml:lang'} if $$attrs{'xml:lang'};
|
937
|
-
$et->VerboseValue("- $grp:$tagName", $val);
|
938
|
-
}
|
939
|
-
# save attributes and path from first deleted property
|
940
|
-
# so we can replace it exactly
|
941
|
-
unless ($delPath) {
|
942
|
-
%attrs = %$attrs;
|
943
|
-
$delPath = $path;
|
944
|
-
}
|
945
|
-
# delete this tag
|
946
|
-
delete $capture{$path};
|
947
|
-
++$changed;
|
948
|
-
# delete rdf:type tag if it is the only thing left in this structure
|
949
|
-
if ($path =~ /^(.*)\// and $capture{"$1/rdf:type"}) {
|
950
|
-
my $pp = $1;
|
951
|
-
my @a = grep /^\Q$pp\E\/[^\/]+/, keys %capture;
|
952
|
-
delete $capture{"$pp/rdf:type"} if @a == 1;
|
953
|
-
}
|
954
|
-
}
|
955
|
-
next unless $delPath or $$tagInfo{List} or $addLang;
|
956
|
-
if ($delPath) {
|
957
|
-
$path = $delPath;
|
958
|
-
$deleted = 1;
|
959
|
-
} else {
|
960
|
-
# don't change tag if we couldn't delete old copy
|
961
|
-
# unless this is a list or an lang-alt tag
|
962
|
-
next unless $$tagInfo{List} or $oldLang;
|
963
|
-
# (match last index to put in same lang-alt list for Bag of lang-alt items)
|
964
|
-
$path =~ m/.* (\d+)/g or warn "Internal error: no list index!\n", next;
|
965
|
-
$added = $1;
|
966
|
-
}
|
967
|
-
} else {
|
968
|
-
# we are never overwriting, so we must be adding to a list
|
969
|
-
# match the last index unless this is a list of lang-alt lists
|
970
|
-
my $pat = $writable eq 'lang-alt' ? '.* (\d+)(.*? \d+)' : '.* (\d+)';
|
971
|
-
if ($path =~ m/$pat/g) {
|
972
|
-
$added = $1;
|
973
|
-
# set position to end of matching index number
|
974
|
-
pos($path) = pos($path) - length($2) if $2;
|
975
|
-
}
|
976
|
-
}
|
977
|
-
if (defined $added) {
|
978
|
-
my $len = length $added;
|
979
|
-
my $pos = pos($path) - $len;
|
980
|
-
my $nxt = substr($added, 1) + 1;
|
981
|
-
# always insert x-default lang-alt entry first (as per XMP spec)
|
982
|
-
# (need to test $overwrite because this will be a new lang-alt entry otherwise)
|
983
|
-
if ($overwrite and $writable eq 'lang-alt' and (not $$tagInfo{LangCode} or
|
984
|
-
$$tagInfo{LangCode} eq 'x-default'))
|
985
|
-
{
|
986
|
-
my $saveCap = $capture{$path};
|
987
|
-
for (;;) {
|
988
|
-
my $p = $path;
|
989
|
-
substr($p, $pos, $len) = length($nxt) . $nxt;
|
990
|
-
# increment index in the path of the existing item
|
991
|
-
my $nextCap = $capture{$p};
|
992
|
-
$capture{$p} = $saveCap;
|
993
|
-
last unless $nextCap;
|
994
|
-
$saveCap = $nextCap;
|
995
|
-
++$nxt;
|
996
|
-
}
|
997
|
-
} else {
|
998
|
-
# add to end of list
|
999
|
-
for (;;) {
|
1000
|
-
my $try = length($nxt) . $nxt;
|
1001
|
-
substr($path, $pos, $len) = $try;
|
1002
|
-
last unless $capture{$path};
|
1003
|
-
$len = length $try;
|
1004
|
-
++$nxt;
|
1005
|
-
}
|
1006
|
-
}
|
1007
|
-
}
|
1008
|
-
}
|
1009
|
-
# check to see if we want to create this tag
|
1010
|
-
# (create non-avoided tags in XMP data files by default)
|
1011
|
-
my $isCreating = ($$nvHash{IsCreating} or (($isStruct or
|
1012
|
-
($preferred and not $$tagInfo{Avoid} and
|
1013
|
-
not defined $$nvHash{Shift})) and not $$nvHash{EditOnly}));
|
1014
|
-
|
1015
|
-
# don't add new values unless...
|
1016
|
-
# ...tag existed before and was deleted, or we added it to a list
|
1017
|
-
next unless $deleted or defined $added or
|
1018
|
-
# ...tag didn't exist before and we are creating it
|
1019
|
-
(not $cap and $isCreating);
|
1020
|
-
|
1021
|
-
# get list of new values (all done if no new values specified)
|
1022
|
-
my @newValues = $et->GetNewValues($nvHash) or next;
|
1023
|
-
|
1024
|
-
# set language attribute for lang-alt lists
|
1025
|
-
$attrs{'xml:lang'} = $$tagInfo{LangCode} || 'x-default' if $writable eq 'lang-alt';
|
1026
|
-
|
1027
|
-
# add new value(s) to %capture hash
|
1028
|
-
my $subIdx;
|
1029
|
-
for (;;) {
|
1030
|
-
my $newValue = shift @newValues;
|
1031
|
-
if ($isStruct) {
|
1032
|
-
++$changed if AddNewStruct($et, $tagInfo, \%capture,
|
1033
|
-
$path, $newValue, $$tagInfo{Struct});
|
1034
|
-
} else {
|
1035
|
-
$newValue = EscapeXML($newValue);
|
1036
|
-
for (;;) { # (a cheap 'goto')
|
1037
|
-
if ($$tagInfo{Resource}) {
|
1038
|
-
# only store as a resource if it doesn't contain any illegal characters
|
1039
|
-
if ($newValue !~ /[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~]/i) {
|
1040
|
-
$capture{$path} = [ '', { %attrs, 'rdf:resource' => $newValue } ];
|
1041
|
-
last;
|
1042
|
-
}
|
1043
|
-
my $grp = $et->GetGroup($tagInfo, 1);
|
1044
|
-
$et->Warn("$grp:$$tagInfo{Name} written as a literal because value is not a valid URI", 1);
|
1045
|
-
# fall through to write as a string literal
|
1046
|
-
}
|
1047
|
-
delete $attrs{'rdf:resource'}; # (remove existing resource if necessary)
|
1048
|
-
$capture{$path} = [ $newValue, \%attrs ];
|
1049
|
-
last;
|
1050
|
-
}
|
1051
|
-
if ($verbose > 1) {
|
1052
|
-
my $grp = $et->GetGroup($tagInfo, 1);
|
1053
|
-
$et->VerboseValue("+ $grp:$$tagInfo{Name}", $newValue);
|
1054
|
-
}
|
1055
|
-
++$changed;
|
1056
|
-
# add rdf:type if necessary
|
1057
|
-
if ($$tagInfo{StructType}) {
|
1058
|
-
AddStructType($et, $$tagInfo{Table}, \%capture, $path);
|
1059
|
-
}
|
1060
|
-
}
|
1061
|
-
last unless @newValues;
|
1062
|
-
# match last index except for lang-alt items where we want to put each
|
1063
|
-
# item in a different lang-alt list (so match the 2nd-last for these)
|
1064
|
-
my $pat = $writable eq 'lang-alt' ? '.* (\d+)(.*? \d+)' : '.* (\d+)';
|
1065
|
-
$path =~ m/$pat/g or warn("Internal error: no list index for $tag!\n"), next;
|
1066
|
-
my $idx = $1;
|
1067
|
-
my $len = length $1;
|
1068
|
-
my $pos = pos($path) - $len - ($2 ? length $2 : 0);
|
1069
|
-
# generate unique list sub-indices to store additional values in sequence
|
1070
|
-
if ($subIdx) {
|
1071
|
-
$idx = substr($idx, 0, -length($subIdx)); # remove old sub-index
|
1072
|
-
$subIdx = substr($subIdx, 1) + 1;
|
1073
|
-
$subIdx = length($subIdx) . $subIdx;
|
1074
|
-
} else {
|
1075
|
-
$subIdx = '10';
|
1076
|
-
}
|
1077
|
-
substr($path, $pos, $len) = $idx . $subIdx;
|
1078
|
-
}
|
1079
|
-
# make sure any empty structures are deleted
|
1080
|
-
# (ExifTool shouldn't write these, but other software may)
|
1081
|
-
if (defined $$tagInfo{Flat}) {
|
1082
|
-
my $p = $path;
|
1083
|
-
while ($p =~ s/\/[^\/]+$//) {
|
1084
|
-
next unless $capture{$p};
|
1085
|
-
# it is an error if this property has a value
|
1086
|
-
$et->Error("Improperly structured XMP ($p)",1) if $capture{$p}[0] =~ /\S/;
|
1087
|
-
delete $capture{$p}; # delete the (hopefully) empty structure
|
1088
|
-
}
|
1089
|
-
}
|
1090
|
-
}
|
1091
|
-
# remove the ExifTool members we created
|
1092
|
-
delete $$et{XMP_CAPTURE};
|
1093
|
-
delete $$et{XMP_NS};
|
1094
|
-
|
1095
|
-
my $maxDataLen = $$dirInfo{MaxDataLen};
|
1096
|
-
# get DataPt again because it may have been set by ProcessXMP
|
1097
|
-
$dataPt = $$dirInfo{DataPt};
|
1098
|
-
# return now if we didn't change anything
|
1099
|
-
unless ($changed or ($maxDataLen and $dataPt and defined $$dataPt and
|
1100
|
-
length($$dataPt) > $maxDataLen))
|
1101
|
-
{
|
1102
|
-
return undef unless $xmpFile; # just rewrite original XMP
|
1103
|
-
Write($$dirInfo{OutFile}, $$dataPt) or return -1 if $dataPt and defined $$dataPt;
|
1104
|
-
return 1;
|
1105
|
-
}
|
1106
|
-
#
|
1107
|
-
# write out the new XMP information (serialize it)
|
1108
|
-
#
|
1109
|
-
# start writing the XMP data
|
1110
|
-
my $newData = '';
|
1111
|
-
if ($$et{XMP_NO_XPACKET}) {
|
1112
|
-
# write BOM if flag is set
|
1113
|
-
$newData .= "\xef\xbb\xbf" if $$et{XMP_NO_XPACKET} == 2;
|
1114
|
-
} else {
|
1115
|
-
$newData .= $pktOpen;
|
1116
|
-
}
|
1117
|
-
$newData .= $xmlOpen if $$et{XMP_IS_XML};
|
1118
|
-
$newData .= $xmpOpen . $rdfOpen;
|
1119
|
-
|
1120
|
-
# initialize current property path list
|
1121
|
-
my (@curPropList, @writeLast, @descStart, $extStart);
|
1122
|
-
my (%nsCur, $prop, $n, $path);
|
1123
|
-
my @pathList = sort TypeFirst keys %capture;
|
1124
|
-
# order properties to write large values last if we have a MaxDataLen limit
|
1125
|
-
if ($maxDataLen and @pathList) {
|
1126
|
-
my @pathTmp;
|
1127
|
-
my ($lastProp, $lastNS, $propSize) = ('', '', 0);
|
1128
|
-
my @pathLoop = (@pathList, ''); # add empty path to end of list for loop
|
1129
|
-
undef @pathList;
|
1130
|
-
foreach $path (@pathLoop) {
|
1131
|
-
$path =~ /^((\w*)[^\/]*)/; # get path element ($1) and ns ($2)
|
1132
|
-
if ($1 eq $lastProp) {
|
1133
|
-
push @pathTmp, $path; # accumulate all paths with same root
|
1134
|
-
} else {
|
1135
|
-
# put in list to write last if recommended or values are too large
|
1136
|
-
if ($extendedRes{$lastProp} or $extendedRes{$lastNS} or
|
1137
|
-
$propSize > $newDescThresh)
|
1138
|
-
{
|
1139
|
-
push @writeLast, @pathTmp;
|
1140
|
-
} else {
|
1141
|
-
push @pathList, @pathTmp;
|
1142
|
-
}
|
1143
|
-
last unless $path; # all done if we hit empty path
|
1144
|
-
@pathTmp = ( $path );
|
1145
|
-
($lastProp, $lastNS, $propSize) = ($1, $2, 0);
|
1146
|
-
}
|
1147
|
-
$propSize += length $capture{$path}->[0];
|
1148
|
-
}
|
1149
|
-
}
|
1150
|
-
|
1151
|
-
# write out all properties
|
1152
|
-
for (;;) {
|
1153
|
-
my (%nsNew, $newDesc);
|
1154
|
-
unless (@pathList) {
|
1155
|
-
last unless @writeLast;
|
1156
|
-
@pathList = @writeLast;
|
1157
|
-
undef @writeLast;
|
1158
|
-
$extStart = length $newData;
|
1159
|
-
$newDesc = 1; # start with a new description
|
1160
|
-
}
|
1161
|
-
$path = shift @pathList;
|
1162
|
-
my @propList = split('/',$path); # get property list
|
1163
|
-
# must open/close rdf:Description too
|
1164
|
-
unshift @propList, $rdfDesc;
|
1165
|
-
# make sure we have defined all necessary namespaces
|
1166
|
-
foreach $prop (@propList) {
|
1167
|
-
$prop =~ /(.*):/ or next;
|
1168
|
-
$1 eq 'rdf' and next; # rdf namespace already defined
|
1169
|
-
my $uri = $nsUsed{$1};
|
1170
|
-
unless ($uri) {
|
1171
|
-
$uri = $nsURI{$1}; # we must have added a namespace
|
1172
|
-
$uri or $xmpErr = "Undefined XMP namespace: $1", next;
|
1173
|
-
}
|
1174
|
-
$nsNew{$1} = $uri;
|
1175
|
-
# need a new description if any new namespaces
|
1176
|
-
$newDesc = 1 unless $nsCur{$1};
|
1177
|
-
}
|
1178
|
-
my $closeTo = 0;
|
1179
|
-
if ($newDesc) {
|
1180
|
-
# look forward to see if we will want to also open other namespaces
|
1181
|
-
# at this level (this is necessary to keep lists and structures from
|
1182
|
-
# being broken if a property introduces a new namespace; plus it
|
1183
|
-
# improves formatting)
|
1184
|
-
my ($path2, $ns2);
|
1185
|
-
foreach $path2 (@pathList) {
|
1186
|
-
my @ns2s = ($path2 =~ m{(?:^|/)([^/]+?):}g);
|
1187
|
-
my $opening = 0;
|
1188
|
-
foreach $ns2 (@ns2s) {
|
1189
|
-
next if $ns2 eq 'rdf';
|
1190
|
-
$nsNew{$ns2} and ++$opening, next;
|
1191
|
-
last unless $opening;
|
1192
|
-
# get URI for this existing or new namespace
|
1193
|
-
my $uri = $nsUsed{$ns2} || $nsURI{$ns2} or last;
|
1194
|
-
$nsNew{$ns2} = $uri; # also open this namespace
|
1195
|
-
}
|
1196
|
-
last unless $opening;
|
1197
|
-
}
|
1198
|
-
} else {
|
1199
|
-
# find first property where the current path differs from the new path
|
1200
|
-
for ($closeTo=0; $closeTo<@curPropList; ++$closeTo) {
|
1201
|
-
last unless $closeTo < @propList;
|
1202
|
-
last unless $propList[$closeTo] eq $curPropList[$closeTo];
|
1203
|
-
}
|
1204
|
-
}
|
1205
|
-
# close out properties down to the common base path
|
1206
|
-
while (@curPropList > $closeTo) {
|
1207
|
-
($prop = pop @curPropList) =~ s/ .*//;
|
1208
|
-
$newData .= (' ' x scalar(@curPropList)) . " </$prop>\n";
|
1209
|
-
}
|
1210
|
-
if ($newDesc) {
|
1211
|
-
# save rdf:Description start positions so we can reorder them if necessary
|
1212
|
-
push @descStart, length($newData) if $maxDataLen;
|
1213
|
-
# open the new description
|
1214
|
-
$prop = $rdfDesc;
|
1215
|
-
%nsCur = %nsNew; # save current namespaces
|
1216
|
-
$newData .= "\n <$prop rdf:about='$about'";
|
1217
|
-
my @ns = sort keys %nsCur;
|
1218
|
-
# generate et:toolkit attribute if this is an exiftool RDF/XML output file
|
1219
|
-
if (@ns and $nsCur{$ns[0]} =~ m{^http://ns.exiftool.ca/}) {
|
1220
|
-
$newData .= "\n xmlns:et='http://ns.exiftool.ca/1.0/'" .
|
1221
|
-
" et:toolkit='Image::ExifTool $Image::ExifTool::VERSION'";
|
1222
|
-
}
|
1223
|
-
foreach (@ns) {
|
1224
|
-
$newData .= "\n xmlns:$_='$nsCur{$_}'";
|
1225
|
-
}
|
1226
|
-
$newData .= ">\n";
|
1227
|
-
push @curPropList, $prop;
|
1228
|
-
}
|
1229
|
-
# loop over all values for this new property
|
1230
|
-
my ($val, $attrs) = @{$capture{$path}};
|
1231
|
-
$debug and print "$path = $val\n";
|
1232
|
-
# open new properties
|
1233
|
-
my $attr;
|
1234
|
-
for ($n=@curPropList; $n<$#propList; ++$n) {
|
1235
|
-
$prop = $propList[$n];
|
1236
|
-
push @curPropList, $prop;
|
1237
|
-
# remove list index if it exists
|
1238
|
-
$prop =~ s/ .*//;
|
1239
|
-
$attr = '';
|
1240
|
-
if ($prop ne $rdfDesc and ($propList[$n+1] !~ /^rdf:/ or
|
1241
|
-
($propList[$n+1] eq 'rdf:type' and $n+1 == $#propList)))
|
1242
|
-
{
|
1243
|
-
# need parseType='Resource' to avoid new 'rdf:Description'
|
1244
|
-
$attr = " rdf:parseType='Resource'";
|
1245
|
-
}
|
1246
|
-
$newData .= (' ' x scalar(@curPropList)) . "<$prop$attr>\n";
|
1247
|
-
}
|
1248
|
-
my $prop2 = pop @propList; # get new property name
|
1249
|
-
$prop2 =~ s/ .*//; # remove list index if it exists
|
1250
|
-
$newData .= (' ' x scalar(@curPropList)) . " <$prop2";
|
1251
|
-
# write out attributes
|
1252
|
-
foreach $attr (sort keys %$attrs) {
|
1253
|
-
my $attrVal = $$attrs{$attr};
|
1254
|
-
my $quot = ($attrVal =~ /'/) ? '"' : "'";
|
1255
|
-
$newData .= " $attr=$quot$attrVal$quot";
|
1256
|
-
}
|
1257
|
-
$newData .= length $val ? ">$val</$prop2>\n" : "/>\n";
|
1258
|
-
}
|
1259
|
-
# close off any open elements
|
1260
|
-
while ($prop = pop @curPropList) {
|
1261
|
-
$prop =~ s/ .*//; # remove list index if it exists
|
1262
|
-
$newData .= (' ' x scalar(@curPropList)) . " </$prop>\n";
|
1263
|
-
}
|
1264
|
-
# limit XMP length and re-arrange if necessary to fit inside specified size
|
1265
|
-
my $compact = $$dirInfo{Compact} || $et->Options('Compact');
|
1266
|
-
if ($maxDataLen) {
|
1267
|
-
# adjust maxDataLen to allow room for closing elements
|
1268
|
-
$maxDataLen -= length($rdfClose) + length($xmpClose) + length($pktCloseW);
|
1269
|
-
$extStart or $extStart = length $newData;
|
1270
|
-
my @rtn = LimitXMPSize($et, \$newData, $maxDataLen, $about, \@descStart, $extStart);
|
1271
|
-
# return extended XMP information in $dirInfo
|
1272
|
-
$$dirInfo{ExtendedXMP} = $rtn[0];
|
1273
|
-
$$dirInfo{ExtendedGUID} = $rtn[1];
|
1274
|
-
# compact if necessary to fit
|
1275
|
-
$compact = 1 if length($newData) + 101 * $numPadLines > $maxDataLen;
|
1276
|
-
}
|
1277
|
-
#
|
1278
|
-
# close out the XMP, clean up, and return our data
|
1279
|
-
#
|
1280
|
-
$newData .= $rdfClose;
|
1281
|
-
$newData .= $xmpClose unless $$et{XMP_NO_XMPMETA};
|
1282
|
-
|
1283
|
-
# remove the ExifTool members we created
|
1284
|
-
delete $$et{XMP_CAPTURE};
|
1285
|
-
delete $$et{XMP_NS};
|
1286
|
-
delete $$et{XMP_NO_XMPMETA};
|
1287
|
-
|
1288
|
-
# (the XMP standard recommends writing 2k-4k of white space before the
|
1289
|
-
# packet trailer, with a newline every 100 characters)
|
1290
|
-
unless ($$et{XMP_NO_XPACKET}) {
|
1291
|
-
my $pad = (' ' x 100) . "\n";
|
1292
|
-
if ($$dirInfo{InPlace}) {
|
1293
|
-
# pad to specified DirLen
|
1294
|
-
my $len = length($newData) + length($pktCloseW);
|
1295
|
-
if ($len > $dirLen) {
|
1296
|
-
$et->Warn('Not enough room to edit XMP in place');
|
1297
|
-
return undef;
|
1298
|
-
}
|
1299
|
-
my $num = int(($dirLen - $len) / length($pad));
|
1300
|
-
if ($num) {
|
1301
|
-
$newData .= $pad x $num;
|
1302
|
-
$len += length($pad) * $num;
|
1303
|
-
}
|
1304
|
-
$len < $dirLen and $newData .= (' ' x ($dirLen - $len - 1)) . "\n";
|
1305
|
-
} elsif (not $compact and not $xmpFile and not $$dirInfo{ReadOnly}) {
|
1306
|
-
$newData .= $pad x $numPadLines;
|
1307
|
-
}
|
1308
|
-
$newData .= ($$dirInfo{ReadOnly} ? $pktCloseR : $pktCloseW);
|
1309
|
-
}
|
1310
|
-
# return empty data if no properties exist and this is allowed
|
1311
|
-
unless (%capture or $xmpFile or $$dirInfo{InPlace} or $$dirInfo{NoDelete}) {
|
1312
|
-
$newData = '';
|
1313
|
-
}
|
1314
|
-
if ($xmpErr) {
|
1315
|
-
if ($xmpFile) {
|
1316
|
-
$et->Error($xmpErr);
|
1317
|
-
return -1;
|
1318
|
-
}
|
1319
|
-
$et->Warn($xmpErr);
|
1320
|
-
return undef;
|
1321
|
-
}
|
1322
|
-
$$et{CHANGED} += $changed;
|
1323
|
-
$debug > 1 and $newData and print $newData,"\n";
|
1324
|
-
return $newData unless $xmpFile;
|
1325
|
-
Write($$dirInfo{OutFile}, $newData) or return -1;
|
1326
|
-
return 1;
|
1327
|
-
}
|
1328
|
-
|
1329
|
-
|
1330
|
-
1; # end
|
1331
|
-
|
1332
|
-
__END__
|
1333
|
-
|
1334
|
-
=head1 NAME
|
1335
|
-
|
1336
|
-
Image::ExifTool::WriteXMP.pl - Write XMP meta information
|
1337
|
-
|
1338
|
-
=head1 SYNOPSIS
|
1339
|
-
|
1340
|
-
These routines are autoloaded by Image::ExifTool::XMP.
|
1341
|
-
|
1342
|
-
=head1 DESCRIPTION
|
1343
|
-
|
1344
|
-
This file contains routines to write XMP metadata.
|
1345
|
-
|
1346
|
-
=head1 AUTHOR
|
1347
|
-
|
1348
|
-
Copyright 2003-2014, Phil Harvey (phil at owl.phy.queensu.ca)
|
1349
|
-
|
1350
|
-
This library is free software; you can redistribute it and/or modify it
|
1351
|
-
under the same terms as Perl itself.
|
1352
|
-
|
1353
|
-
=head1 SEE ALSO
|
1354
|
-
|
1355
|
-
L<Image::ExifTool::XMP(3pm)|Image::ExifTool::XMP>,
|
1356
|
-
L<Image::ExifTool(3pm)|Image::ExifTool>
|
1357
|
-
|
1358
|
-
=cut
|