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