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