exiftool_vendored 9.45.0 → 9.46.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.

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