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
@@ -1,4034 +0,0 @@
1
- #------------------------------------------------------------------------------
2
- # File: XMP.pm
3
- #
4
- # Description: Read XMP meta information
5
- #
6
- # Revisions: 11/25/2003 - P. Harvey Created
7
- # 10/28/2004 - P. Harvey Major overhaul to conform with XMP spec
8
- # 02/27/2005 - P. Harvey Also read UTF-16 and UTF-32 XMP
9
- # 08/30/2005 - P. Harvey Split tag tables into separate namespaces
10
- # 10/24/2005 - P. Harvey Added ability to parse .XMP files
11
- # 08/25/2006 - P. Harvey Added ability to handle blank nodes
12
- # 08/22/2007 - P. Harvey Added ability to handle alternate language tags
13
- # 09/26/2008 - P. Harvey Added Iptc4xmpExt tags (version 1.0 rev 2)
14
- #
15
- # References: 1) http://www.adobe.com/products/xmp/pdfs/xmpspec.pdf
16
- # 2) http://www.w3.org/TR/rdf-syntax-grammar/ (20040210)
17
- # 3) http://www.portfoliofaq.com/pfaq/v7mappings.htm
18
- # 4) http://www.iptc.org/IPTC4XMP/
19
- # 5) http://creativecommons.org/technology/xmp
20
- # --> changed to http://wiki.creativecommons.org/Companion_File_metadata_specification (2007/12/21)
21
- # 6) http://www.optimasc.com/products/fileid/xmp-extensions.pdf
22
- # 7) Lou Salkind private communication
23
- # 8) http://partners.adobe.com/public/developer/en/xmp/sdk/XMPspecification.pdf
24
- # 9) http://www.w3.org/TR/SVG11/
25
- # 10) http://www.adobe.com/devnet/xmp/pdfs/XMPSpecificationPart2.pdf (Oct 2008)
26
- # 11) http://www.extensis.com/en/support/kb_article.jsp?articleNumber=6102211
27
- # 12) http://www.cipa.jp/std/documents/e/DC-010-2012_E.pdf
28
- #
29
- # Notes: - Property qualifiers are handled as if they were separate
30
- # properties (with no associated namespace).
31
- #
32
- # - Currently, there is no special treatment of the following
33
- # properties which could potentially affect the extracted
34
- # information: xml:base, rdf:parseType (note that parseType
35
- # Literal isn't allowed by the XMP spec).
36
- #
37
- # - The family 2 group names will be set to 'Unknown' for any XMP
38
- # tags not found in the XMP or Exif tag tables.
39
- #------------------------------------------------------------------------------
40
-
41
- package Image::ExifTool::XMP;
42
-
43
- use strict;
44
- use vars qw($VERSION $AUTOLOAD @ISA @EXPORT_OK %stdXlatNS %nsURI %dateTimeInfo
45
- %xmpTableDefaults %specialStruct %sDimensions %sArea %sColorant);
46
- use Image::ExifTool qw(:Utils);
47
- use Image::ExifTool::Exif;
48
- require Exporter;
49
-
50
- $VERSION = '2.88';
51
- @ISA = qw(Exporter);
52
- @EXPORT_OK = qw(EscapeXML UnescapeXML);
53
-
54
- sub ProcessXMP($$;$);
55
- sub WriteXMP($$;$);
56
- sub CheckXMP($$$);
57
- sub ParseXMPElement($$$;$$$$);
58
- sub DecodeBase64($);
59
- sub EncodeBase64($;$);
60
- sub SaveBlankInfo($$$;$);
61
- sub ProcessBlankInfo($$$;$);
62
- sub ValidateXMP($;$);
63
- sub UnescapeChar($$);
64
- sub AddFlattenedTags($;$$);
65
- sub FormatXMPDate($);
66
- sub ConvertRational($);
67
- sub ConvertRationalList($);
68
-
69
- # lookup for translating to ExifTool namespaces
70
- %stdXlatNS = (
71
- # shorten ugly namespace prefixes
72
- 'Iptc4xmpCore' => 'iptcCore',
73
- 'Iptc4xmpExt' => 'iptcExt',
74
- 'photomechanic'=> 'photomech',
75
- 'MicrosoftPhoto' => 'microsoft',
76
- 'prismusagerights' => 'pur',
77
- 'GettyImagesGIFT' => 'getty',
78
- );
79
-
80
- # translate ExifTool XMP family 1 group names to standard XMP namespace prefixes
81
- my %xmpNS = (
82
- # shorten ugly namespace prefixes
83
- 'iptcCore' => 'Iptc4xmpCore',
84
- 'iptcExt' => 'Iptc4xmpExt',
85
- 'photomechanic'=> 'photomech',
86
- 'microsoft' => 'MicrosoftPhoto',
87
- 'gettyImages' => 'GettyImagesGIFT',
88
- # (prism changed their spec to now use 'pur')
89
- # 'pur' => 'prismusagerights',
90
- );
91
-
92
- # Lookup to translate standard XMP namespace prefixes into URI's. This list
93
- # need not be complete, but it must contain an entry for each namespace prefix
94
- # (NAMESPACE) for writable tags in the XMP tables or in structures that doesn't
95
- # define a URI. Also, the namespace must be defined here for non-standard
96
- # namespace prefixes to be recognized.
97
- %nsURI = (
98
- aux => 'http://ns.adobe.com/exif/1.0/aux/',
99
- album => 'http://ns.adobe.com/album/1.0/',
100
- cc => 'http://creativecommons.org/ns#', # changed 2007/12/21 - PH
101
- crs => 'http://ns.adobe.com/camera-raw-settings/1.0/',
102
- crss => 'http://ns.adobe.com/camera-raw-saved-settings/1.0/',
103
- dc => 'http://purl.org/dc/elements/1.1/',
104
- exif => 'http://ns.adobe.com/exif/1.0/',
105
- exifEX => 'http://cipa.jp/exif/1.0/',
106
- iX => 'http://ns.adobe.com/iX/1.0/',
107
- pdf => 'http://ns.adobe.com/pdf/1.3/',
108
- pdfx => 'http://ns.adobe.com/pdfx/1.3/',
109
- photoshop => 'http://ns.adobe.com/photoshop/1.0/',
110
- rdf => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
111
- rdfs => 'http://www.w3.org/2000/01/rdf-schema#',
112
- stDim => 'http://ns.adobe.com/xap/1.0/sType/Dimensions#',
113
- stEvt => 'http://ns.adobe.com/xap/1.0/sType/ResourceEvent#',
114
- stFnt => 'http://ns.adobe.com/xap/1.0/sType/Font#',
115
- stJob => 'http://ns.adobe.com/xap/1.0/sType/Job#',
116
- stRef => 'http://ns.adobe.com/xap/1.0/sType/ResourceRef#',
117
- stVer => 'http://ns.adobe.com/xap/1.0/sType/Version#',
118
- stMfs => 'http://ns.adobe.com/xap/1.0/sType/ManifestItem#',
119
- tiff => 'http://ns.adobe.com/tiff/1.0/',
120
- 'x' => 'adobe:ns:meta/',
121
- xmpG => 'http://ns.adobe.com/xap/1.0/g/',
122
- xmpGImg => 'http://ns.adobe.com/xap/1.0/g/img/',
123
- xmp => 'http://ns.adobe.com/xap/1.0/',
124
- xmpBJ => 'http://ns.adobe.com/xap/1.0/bj/',
125
- xmpDM => 'http://ns.adobe.com/xmp/1.0/DynamicMedia/',
126
- xmpMM => 'http://ns.adobe.com/xap/1.0/mm/',
127
- xmpRights => 'http://ns.adobe.com/xap/1.0/rights/',
128
- xmpNote => 'http://ns.adobe.com/xmp/note/',
129
- xmpTPg => 'http://ns.adobe.com/xap/1.0/t/pg/',
130
- xmpidq => 'http://ns.adobe.com/xmp/Identifier/qual/1.0/',
131
- xmpPLUS => 'http://ns.adobe.com/xap/1.0/PLUS/',
132
- dex => 'http://ns.optimasc.com/dex/1.0/',
133
- mediapro => 'http://ns.iview-multimedia.com/mediapro/1.0/',
134
- expressionmedia => 'http://ns.microsoft.com/expressionmedia/1.0/',
135
- Iptc4xmpCore => 'http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/',
136
- Iptc4xmpExt => 'http://iptc.org/std/Iptc4xmpExt/2008-02-29/',
137
- MicrosoftPhoto => 'http://ns.microsoft.com/photo/1.0',
138
- MP1 => 'http://ns.microsoft.com/photo/1.1', #PH (MP1 is fabricated)
139
- MP => 'http://ns.microsoft.com/photo/1.2/',
140
- MPRI => 'http://ns.microsoft.com/photo/1.2/t/RegionInfo#',
141
- MPReg => 'http://ns.microsoft.com/photo/1.2/t/Region#',
142
- lr => 'http://ns.adobe.com/lightroom/1.0/',
143
- DICOM => 'http://ns.adobe.com/DICOM/',
144
- svg => 'http://www.w3.org/2000/svg',
145
- et => 'http://ns.exiftool.ca/1.0/',
146
- #
147
- # namespaces defined in XMP2.pl:
148
- #
149
- plus => 'http://ns.useplus.org/ldf/xmp/1.0/',
150
- # (prism recommendations from http://www.prismstandard.org/specifications/3.0/Image_Guide_3.0.htm)
151
- prism => 'http://prismstandard.org/namespaces/basic/2.0/',
152
- prl => 'http://prismstandard.org/namespaces/prl/2.1/',
153
- pur => 'http://prismstandard.org/namespaces/prismusagerights/2.1/',
154
- pmi => 'http://prismstandard.org/namespaces/pmi/2.2/',
155
- prm => 'http://prismstandard.org/namespaces/prm/3.0/',
156
- acdsee => 'http://ns.acdsee.com/iptc/1.0/',
157
- digiKam => 'http://www.digikam.org/ns/1.0/',
158
- swf => 'http://ns.adobe.com/swf/1.0',
159
- cell => 'http://developer.sonyericsson.com/cell/1.0/',
160
- aas => 'http://ns.apple.com/adjustment-settings/1.0/',
161
- 'mwg-rs' => 'http://www.metadataworkinggroup.com/schemas/regions/',
162
- 'mwg-kw' => 'http://www.metadataworkinggroup.com/schemas/keywords/',
163
- 'mwg-coll' => 'http://www.metadataworkinggroup.com/schemas/collections/',
164
- stArea => 'http://ns.adobe.com/xmp/sType/Area#',
165
- extensis => 'http://ns.extensis.com/extensis/1.0/',
166
- ics => 'http://ns.idimager.com/ics/1.0/',
167
- fpv => 'http://ns.fastpictureviewer.com/fpv/1.0/',
168
- creatorAtom=>'http://ns.adobe.com/creatorAtom/1.0/',
169
- 'apple-fi' => 'http://ns.apple.com/faceinfo/1.0/',
170
- GPano => 'http://ns.google.com/photos/1.0/panorama/',
171
- dwc => 'http://rs.tdwg.org/dwc/index.htm',
172
- GettyImagesGIFT => 'http://xmp.gettyimages.com/gift/1.0/',
173
- );
174
-
175
- # build reverse namespace lookup
176
- my %uri2ns;
177
- {
178
- my $ns;
179
- foreach $ns (keys %nsURI) {
180
- $uri2ns{$nsURI{$ns}} = $ns;
181
- }
182
- }
183
-
184
- # conversions for GPS coordinates
185
- sub ToDegrees
186
- {
187
- require Image::ExifTool::GPS;
188
- Image::ExifTool::GPS::ToDegrees($_[0], 1);
189
- }
190
- my %latConv = (
191
- ValueConv => \&ToDegrees,
192
- RawConv => 'require Image::ExifTool::GPS; $val', # to load Composite tags and routines
193
- ValueConvInv => q{
194
- require Image::ExifTool::GPS;
195
- Image::ExifTool::GPS::ToDMS($self, $val, 2, "N");
196
- },
197
- PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "N")',
198
- PrintConvInv => \&ToDegrees,
199
- );
200
- my %longConv = (
201
- ValueConv => \&ToDegrees,
202
- RawConv => 'require Image::ExifTool::GPS; $val',
203
- ValueConvInv => q{
204
- require Image::ExifTool::GPS;
205
- Image::ExifTool::GPS::ToDMS($self, $val, 2, "E");
206
- },
207
- PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "E")',
208
- PrintConvInv => \&ToDegrees,
209
- );
210
- %dateTimeInfo = (
211
- # NOTE: Do NOT put "Groups" here because Groups hash must not be common!
212
- Writable => 'date',
213
- Shift => 'Time',
214
- PrintConv => '$self->ConvertDateTime($val)',
215
- PrintConvInv => '$self->InverseDateTime($val,undef,1)',
216
- );
217
-
218
- # this conversion allows alternate language support for designated boolean tags
219
- my %boolConv = (
220
- PrintConv => {
221
- OTHER => sub { # (inverse conversion is the same)
222
- my $val = shift;
223
- return 'False' if lc $val eq 'false';
224
- return 'True' if lc $val eq 'true';
225
- return $val;
226
- },
227
- True => 'True',
228
- False => 'False',
229
- },
230
- );
231
-
232
- # XMP namespaces which we don't want to contribute to generated EXIF tag names
233
- # (Note: namespaces with non-standard prefixes aren't currently ignored)
234
- my %ignoreNamespace = ( 'x'=>1, rdf=>1, xmlns=>1, xml=>1, svg=>1, et=>1, office=>1 );
235
-
236
- # XMP properties to ignore (set dynamically via dirInfo IgnoreProp)
237
- my %ignoreProp;
238
-
239
- # these are the attributes that we handle for properties that contain
240
- # sub-properties. Attributes for simple properties are easy, and we
241
- # just copy them over. These are harder since we don't store attributes
242
- # for properties without simple values. (maybe this will change...)
243
- # (special attributes are indicated by a list reference of tag information)
244
- my %recognizedAttrs = (
245
- 'rdf:about' => [ 'Image::ExifTool::XMP::rdf', 'about', 'About' ],
246
- 'x:xmptk' => [ 'Image::ExifTool::XMP::x', 'xmptk', 'XMPToolkit' ],
247
- 'x:xaptk' => [ 'Image::ExifTool::XMP::x', 'xmptk', 'XMPToolkit' ],
248
- 'rdf:parseType' => 1,
249
- 'rdf:nodeID' => 1,
250
- 'et:toolkit' => 1,
251
- 'rdf:xmlns' => 1, # this is presumably the default namespace, which we currently ignore
252
- 'lastUpdate' => [ 'Image::ExifTool::XMP::XML', 'lastUpdate', 'LastUpdate' ], # found in XML from Sony ICLE-7S MP4
253
- );
254
-
255
- # special tags in structures below
256
- # NOTE: this lookup is duplicated in TagLookup.pm!!
257
- %specialStruct = (
258
- STRUCT_NAME => 1, # [optional] name of structure
259
- NAMESPACE => 1, # [mandatory] namespace prefix used for fields of this structure
260
- NOTES => 1, # [optional] notes for documentation about this structure
261
- TYPE => 1, # [optional] rdf:type resource for struct (if used, the StructType flag
262
- # will be set automatically for all derived flattened tags when writing)
263
- );
264
- # XMP structures (each structure is similar to a tag table so we can
265
- # recurse through them in SetPropertyPath() as if they were tag tables)
266
- # The main differences between structure field information and tagInfo hashes are:
267
- # 1) Field information hashes do not contain Name, Groups or Table entries, and
268
- # 2) The TagID entry is optional, and is used only if the key in the structure hash
269
- # is different from the TagID (currently only true for alternate language fields)
270
- # 3) Field information hashes support a additional "Namespace" property.
271
- my %sResourceRef = (
272
- STRUCT_NAME => 'ResourceRef',
273
- NAMESPACE => 'stRef',
274
- documentID => { },
275
- instanceID => { },
276
- manager => { },
277
- managerVariant => { },
278
- manageTo => { },
279
- manageUI => { },
280
- renditionClass => { },
281
- renditionParams => { },
282
- versionID => { },
283
- # added Oct 2008
284
- alternatePaths => { List => 'Seq' },
285
- filePath => { },
286
- fromPart => { },
287
- lastModifyDate => { %dateTimeInfo, Groups => { 2 => 'Time' } },
288
- maskMarkers => { PrintConv => { All => 'All', None => 'None' } },
289
- partMapping => { },
290
- toPart => { },
291
- # added May 2010
292
- originalDocumentID => { }, # (undocumented property written by Adobe InDesign)
293
- );
294
- my %sResourceEvent = (
295
- STRUCT_NAME => 'ResourceEvent',
296
- NAMESPACE => 'stEvt',
297
- action => { },
298
- instanceID => { },
299
- parameters => { },
300
- softwareAgent => { },
301
- when => { %dateTimeInfo, Groups => { 2 => 'Time' } },
302
- # added Oct 2008
303
- changed => { },
304
- );
305
- my %sJobRef = (
306
- STRUCT_NAME => 'JobRef',
307
- NAMESPACE => 'stJob',
308
- id => { },
309
- name => { },
310
- url => { },
311
- );
312
- my %sVersion = (
313
- STRUCT_NAME => 'Version',
314
- NAMESPACE => 'stVer',
315
- comments => { },
316
- event => { Struct => \%sResourceEvent },
317
- modifier => { },
318
- modifyDate => { %dateTimeInfo, Groups => { 2 => 'Time' } },
319
- version => { },
320
- );
321
- my %sThumbnail = (
322
- STRUCT_NAME => 'Thumbnail',
323
- NAMESPACE => 'xmpGImg',
324
- height => { Writable => 'integer' },
325
- width => { Writable => 'integer' },
326
- 'format' => { },
327
- image => {
328
- Avoid => 1,
329
- Groups => { 2 => 'Preview' },
330
- ValueConv => 'Image::ExifTool::XMP::DecodeBase64($val)',
331
- ValueConvInv => 'Image::ExifTool::XMP::EncodeBase64($val)',
332
- },
333
- );
334
- my %sPageInfo = (
335
- STRUCT_NAME => 'PageInfo',
336
- NAMESPACE => 'xmpGImg',
337
- PageNumber => { Writable => 'integer', Namespace => 'xmpTPg' }, # override default namespace
338
- height => { Writable => 'integer' },
339
- width => { Writable => 'integer' },
340
- 'format' => { },
341
- image => {
342
- Groups => { 2 => 'Preview' },
343
- ValueConv => 'Image::ExifTool::XMP::DecodeBase64($val)',
344
- ValueConvInv => 'Image::ExifTool::XMP::EncodeBase64($val)',
345
- },
346
- );
347
- #my %sIdentifierScheme = (
348
- # NAMESPACE => 'xmpidq',
349
- # Scheme => { }, # qualifier for xmp:Identifier only
350
- #);
351
- %sDimensions = (
352
- STRUCT_NAME => 'Dimensions',
353
- NAMESPACE => 'stDim',
354
- w => { Writable => 'real' },
355
- h => { Writable => 'real' },
356
- unit => { },
357
- );
358
- %sArea = (
359
- STRUCT_NAME => 'Area',
360
- NAMESPACE => 'stArea',
361
- 'x' => { Writable => 'real' },
362
- 'y' => { Writable => 'real' },
363
- w => { Writable => 'real' },
364
- h => { Writable => 'real' },
365
- d => { Writable => 'real' },
366
- unit => { },
367
- );
368
- %sColorant = (
369
- STRUCT_NAME => 'Colorant',
370
- NAMESPACE => 'xmpG',
371
- swatchName => { },
372
- mode => { PrintConv => { CMYK=>'CMYK', RGB=>'RGB', LAB=>'Lab' } },
373
- # note: do not implement closed choice for "type" because Adobe can't
374
- # get the case right: spec. says "PROCESS" but Indesign writes "Process"
375
- type => { },
376
- cyan => { Writable => 'real' },
377
- magenta => { Writable => 'real' },
378
- yellow => { Writable => 'real' },
379
- black => { Writable => 'real' },
380
- red => { Writable => 'integer' },
381
- green => { Writable => 'integer' },
382
- blue => { Writable => 'integer' },
383
- L => { Writable => 'real' },
384
- A => { Writable => 'integer' },
385
- B => { Writable => 'integer' },
386
- # 'tint' observed in INDD sample - PH
387
- tint => { Writable => 'integer', Notes => 'not part of 2010 XMP specification' },
388
- );
389
- my %sFont = (
390
- STRUCT_NAME => 'Font',
391
- NAMESPACE => 'stFnt',
392
- fontName => { },
393
- fontFamily => { },
394
- fontFace => { },
395
- fontType => { },
396
- versionString => { },
397
- composite => { Writable => 'boolean' },
398
- fontFileName=> { },
399
- childFontFiles => { List => 'Seq' },
400
- );
401
- my %sOECF = (
402
- STRUCT_NAME => 'OECF',
403
- NAMESPACE => 'exif',
404
- Columns => { Writable => 'integer' },
405
- Rows => { Writable => 'integer' },
406
- Names => { List => 'Seq' },
407
- Values => { List => 'Seq', Writable => 'rational' },
408
- );
409
-
410
- # new LR2 crs structures (PH)
411
- my %sCorrectionMask = (
412
- STRUCT_NAME => 'CorrectionMask',
413
- NAMESPACE => 'crs',
414
- # disable List behaviour of flattened Gradient/PaintBasedCorrections
415
- # because these are nested in lists and the flattened tags can't
416
- # do justice to this complex structure
417
- What => { List => 0 },
418
- MaskValue => { Writable => 'real', List => 0, FlatName => 'Value' },
419
- Radius => { Writable => 'real', List => 0 },
420
- Flow => { Writable => 'real', List => 0 },
421
- CenterWeight => { Writable => 'real', List => 0 },
422
- Dabs => { List => 'Seq' },
423
- ZeroX => { Writable => 'real', List => 0 },
424
- ZeroY => { Writable => 'real', List => 0 },
425
- FullX => { Writable => 'real', List => 0 },
426
- FullY => { Writable => 'real', List => 0 },
427
- # new elements used in CircularGradientBasedCorrections CorrectionMasks
428
- # and RetouchAreas Masks
429
- Top => { Writable => 'real', List => 0 },
430
- Left => { Writable => 'real', List => 0 },
431
- Bottom => { Writable => 'real', List => 0 },
432
- Right => { Writable => 'real', List => 0 },
433
- Angle => { Writable => 'real', List => 0 },
434
- Midpoint => { Writable => 'real', List => 0 },
435
- Roundness => { Writable => 'real', List => 0 },
436
- Feather => { Writable => 'real', List => 0 },
437
- Flipped => { Writable => 'boolean', List => 0 },
438
- Version => { Writable => 'integer', List => 0 },
439
- SizeX => { Writable => 'real', List => 0 },
440
- SizeY => { Writable => 'real', List => 0 },
441
- X => { Writable => 'real', List => 0 },
442
- Y => { Writable => 'real', List => 0 },
443
- Alpha => { Writable => 'real', List => 0 },
444
- CenterValue => { Writable => 'real', List => 0 },
445
- PerimeterValue=>{ Writable => 'real', List => 0 },
446
- );
447
- my %sCorrection = (
448
- STRUCT_NAME => 'Correction',
449
- NAMESPACE => 'crs',
450
- What => { List => 0 },
451
- CorrectionAmount => { FlatName => 'Amount', Writable => 'real', List => 0 },
452
- CorrectionActive => { FlatName => 'Active', Writable => 'boolean', List => 0 },
453
- LocalExposure => { FlatName => 'Exposure', Writable => 'real', List => 0 },
454
- LocalSaturation => { FlatName => 'Saturation', Writable => 'real', List => 0 },
455
- LocalContrast => { FlatName => 'Contrast', Writable => 'real', List => 0 },
456
- LocalClarity => { FlatName => 'Clarity', Writable => 'real', List => 0 },
457
- LocalSharpness => { FlatName => 'Sharpness', Writable => 'real', List => 0 },
458
- LocalBrightness => { FlatName => 'Brightness', Writable => 'real', List => 0 },
459
- LocalToningHue => { FlatName => 'Hue', Writable => 'real', List => 0 },
460
- LocalToningSaturation => { FlatName => 'Saturation', Writable => 'real', List => 0 },
461
- LocalExposure2012 => { FlatName => 'Exposure2012', Writable => 'real', List => 0 },
462
- LocalContrast2012 => { FlatName => 'Contrast2012', Writable => 'real', List => 0 },
463
- LocalHighlights2012 => { FlatName => 'Highlights2012', Writable => 'real', List => 0 },
464
- LocalShadows2012 => { FlatName => 'Shadows2012', Writable => 'real', List => 0 },
465
- LocalClarity2012 => { FlatName => 'Clarity2012', Writable => 'real', List => 0 },
466
- LocalLuminanceNoise => { FlatName => 'LuminanceNoise', Writable => 'real', List => 0 },
467
- LocalMoire => { FlatName => 'Moire', Writable => 'real', List => 0 },
468
- LocalDefringe => { FlatName => 'Defringe', Writable => 'real', List => 0 },
469
- LocalTemperature => { FlatName => 'Temperature',Writable => 'real', List => 0 },
470
- LocalTint => { FlatName => 'Tint', Writable => 'real', List => 0 },
471
- CorrectionMasks => {
472
- FlatName => 'Mask',
473
- Struct => \%sCorrectionMask,
474
- List => 'Seq',
475
- },
476
- );
477
- my %sRetouchArea = (
478
- STRUCT_NAME => 'RetouchArea',
479
- NAMESPACE => 'crs',
480
- SpotType => { List => 0 },
481
- SourceState => { List => 0 },
482
- Method => { List => 0 },
483
- SourceX => { Writable => 'real', List => 0 },
484
- OffsetY => { Writable => 'real', List => 0 },
485
- Opacity => { Writable => 'real', List => 0 },
486
- Feather => { Writable => 'real', List => 0 },
487
- Seed => { Writable => 'integer', List => 0 },
488
- Masks => {
489
- FlatName => 'Mask',
490
- Struct => \%sCorrectionMask,
491
- List => 'Seq',
492
- },
493
- );
494
-
495
- # IPTC Extension 1.0 structures
496
- my %sLocationDetails = (
497
- STRUCT_NAME => 'LocationDetails',
498
- NAMESPACE => 'Iptc4xmpExt',
499
- City => { },
500
- CountryCode => { },
501
- CountryName => { },
502
- ProvinceState=> { },
503
- Sublocation => { },
504
- WorldRegion => { },
505
- LocationId => { List => 'Bag' },
506
- );
507
-
508
- my %sCVTermDetails = (
509
- STRUCT_NAME => 'CVTermDetails',
510
- NAMESPACE => 'Iptc4xmpExt',
511
- CvTermId => { },
512
- CvTermName => { Writable => 'lang-alt' },
513
- CvId => { },
514
- CvTermRefinedAbout => { },
515
- );
516
-
517
- # main XMP tag table (tag ID's are used for the family 1 group names)
518
- %Image::ExifTool::XMP::Main = (
519
- GROUPS => { 2 => 'Unknown' },
520
- PROCESS_PROC => \&ProcessXMP,
521
- WRITE_PROC => \&WriteXMP,
522
- dc => {
523
- Name => 'dc', # (otherwise generated name would be 'Dc')
524
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::dc' },
525
- },
526
- xmp => {
527
- Name => 'xmp',
528
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::xmp' },
529
- },
530
- xmpDM => {
531
- Name => 'xmpDM',
532
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::xmpDM' },
533
- },
534
- xmpRights => {
535
- Name => 'xmpRights',
536
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::xmpRights' },
537
- },
538
- xmpNote => {
539
- Name => 'xmpNote',
540
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::xmpNote' },
541
- },
542
- xmpMM => {
543
- Name => 'xmpMM',
544
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::xmpMM' },
545
- },
546
- xmpBJ => {
547
- Name => 'xmpBJ',
548
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::xmpBJ' },
549
- },
550
- xmpTPg => {
551
- Name => 'xmpTPg',
552
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::xmpTPg' },
553
- },
554
- pdf => {
555
- Name => 'pdf',
556
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::pdf' },
557
- },
558
- pdfx => {
559
- Name => 'pdfx',
560
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::pdfx' },
561
- },
562
- photoshop => {
563
- Name => 'photoshop',
564
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::photoshop' },
565
- },
566
- crs => {
567
- Name => 'crs',
568
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::crs' },
569
- },
570
- # crss - it would be tedious to add the ability to write this
571
- aux => {
572
- Name => 'aux',
573
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::aux' },
574
- },
575
- tiff => {
576
- Name => 'tiff',
577
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::tiff' },
578
- },
579
- exif => {
580
- Name => 'exif',
581
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::exif' },
582
- },
583
- exifEX => {
584
- Name => 'exifEX',
585
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::exifEX' },
586
- },
587
- iptcCore => {
588
- Name => 'iptcCore',
589
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::iptcCore' },
590
- },
591
- iptcExt => {
592
- Name => 'iptcExt',
593
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::iptcExt' },
594
- },
595
- PixelLive => {
596
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::PixelLive' },
597
- },
598
- xmpPLUS => {
599
- Name => 'xmpPLUS',
600
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::xmpPLUS' },
601
- },
602
- plus => {
603
- Name => 'plus',
604
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::plus' },
605
- },
606
- cc => {
607
- Name => 'cc',
608
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::cc' },
609
- },
610
- dex => {
611
- Name => 'dex',
612
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::dex' },
613
- },
614
- photomech => {
615
- Name => 'photomech',
616
- SubDirectory => { TagTable => 'Image::ExifTool::PhotoMechanic::XMP' },
617
- },
618
- mediapro => {
619
- Name => 'mediapro',
620
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::MediaPro' },
621
- },
622
- expressionmedia => {
623
- Name => 'expressionmedia',
624
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::ExpressionMedia' },
625
- },
626
- microsoft => {
627
- Name => 'microsoft',
628
- SubDirectory => { TagTable => 'Image::ExifTool::Microsoft::XMP' },
629
- },
630
- MP => {
631
- Name => 'MP',
632
- SubDirectory => { TagTable => 'Image::ExifTool::Microsoft::MP' },
633
- },
634
- MP1 => {
635
- Name => 'MP1',
636
- SubDirectory => { TagTable => 'Image::ExifTool::Microsoft::MP1' },
637
- },
638
- lr => {
639
- Name => 'lr',
640
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::Lightroom' },
641
- },
642
- DICOM => {
643
- Name => 'DICOM',
644
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::DICOM' },
645
- },
646
- album => {
647
- Name => 'album',
648
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::Album' },
649
- },
650
- prism => {
651
- Name => 'prism',
652
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::prism' },
653
- },
654
- prl => {
655
- Name => 'prl',
656
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::prl' },
657
- },
658
- pur => {
659
- Name => 'pur',
660
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::pur' },
661
- },
662
- pmi => {
663
- Name => 'pmi',
664
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::pmi' },
665
- },
666
- prm => {
667
- Name => 'prm',
668
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::prm' },
669
- },
670
- rdf => {
671
- Name => 'rdf',
672
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::rdf' },
673
- },
674
- 'x' => {
675
- Name => 'x',
676
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::x' },
677
- },
678
- acdsee => {
679
- Name => 'acdsee',
680
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::acdsee' },
681
- },
682
- digiKam => {
683
- Name => 'digiKam',
684
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::digiKam' },
685
- },
686
- swf => {
687
- Name => 'swf',
688
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::swf' },
689
- },
690
- cell => {
691
- Name => 'cell',
692
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::cell' },
693
- },
694
- aas => {
695
- Name => 'aas',
696
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::aas' },
697
- },
698
- 'mwg-rs' => {
699
- Name => 'mwg-rs',
700
- SubDirectory => { TagTable => 'Image::ExifTool::MWG::Regions' },
701
- },
702
- 'mwg-kw' => {
703
- Name => 'mwg-kw',
704
- SubDirectory => { TagTable => 'Image::ExifTool::MWG::Keywords' },
705
- },
706
- 'mwg-coll' => {
707
- Name => 'mwg-coll',
708
- SubDirectory => { TagTable => 'Image::ExifTool::MWG::Collections' },
709
- },
710
- extensis => {
711
- Name => 'extensis',
712
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::extensis' },
713
- },
714
- ics => {
715
- Name => 'ics',
716
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::ics' },
717
- },
718
- fpv => {
719
- Name => 'fpv',
720
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::fpv' },
721
- },
722
- creatorAtom => {
723
- Name => 'creatorAtom',
724
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::creatorAtom' },
725
- },
726
- 'apple-fi' => {
727
- Name => 'apple-fi',
728
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::apple_fi' },
729
- },
730
- GPano => {
731
- Name => 'GPano',
732
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::GPano' },
733
- },
734
- dwc => {
735
- Name => 'dwc',
736
- SubDirectory => { TagTable => 'Image::ExifTool::DarwinCore::Main' },
737
- },
738
- getty => {
739
- Name => 'getty',
740
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::GettyImages' },
741
- },
742
- );
743
-
744
- # hack to allow XML containing Dublin Core metadata to be handled like XMP (eg. EPUB - see ZIP.pm)
745
- %Image::ExifTool::XMP::XML = (
746
- GROUPS => { 0 => 'XML', 1 => 'XML', 2 => 'Unknown' },
747
- PROCESS_PROC => \&ProcessXMP,
748
- dc => {
749
- Name => 'dc',
750
- SubDirectory => { TagTable => 'Image::ExifTool::XMP::dc' },
751
- },
752
- lastUpdate => {
753
- Groups => { 2 => 'Time' },
754
- ValueConv => 'Image::ExifTool::XMP::ConvertXMPDate($val)',
755
- PrintConv => '$self->ConvertDateTime($val)',
756
- },
757
- );
758
-
759
- #
760
- # Tag tables for all XMP namespaces:
761
- #
762
- # Writable - only need to define this for writable tags if not plain text
763
- # (boolean, integer, rational, real, date or lang-alt)
764
- # List - XMP list type (Bag, Seq or Alt, or set to 1 for elements in Struct lists --
765
- # this is necessary to obtain proper list behaviour when reading/writing)
766
- #
767
- # (Note that family 1 group names are generated from the property namespace, not
768
- # the group1 names below which exist so the groups will appear in the list.)
769
- #
770
- %xmpTableDefaults = (
771
- WRITE_PROC => \&WriteXMP,
772
- CHECK_PROC => \&CheckXMP,
773
- WRITABLE => 'string',
774
- LANG_INFO => \&GetLangInfo,
775
- );
776
-
777
- # rdf attributes extracted
778
- %Image::ExifTool::XMP::rdf = (
779
- %xmpTableDefaults,
780
- GROUPS => { 1 => 'XMP-rdf', 2 => 'Document' },
781
- NAMESPACE => 'rdf',
782
- NOTES => q{
783
- Most RDF attributes are handled internally, but the "about" attribute is
784
- treated specially to allow it to be set to a specific value if required.
785
- },
786
- about => { Protected => 1 },
787
- );
788
-
789
- # x attributes extracted
790
- %Image::ExifTool::XMP::x = (
791
- %xmpTableDefaults,
792
- GROUPS => { 1 => 'XMP-x', 2 => 'Document' },
793
- NAMESPACE => 'x',
794
- NOTES => qq{
795
- The "x" namespace is used for the "xmpmeta" wrapper, and may contain an
796
- "xmptk" attribute that is extracted as the XMPToolkit tag. When writing,
797
- the XMPToolkit tag is generated automatically by ExifTool unless
798
- specifically set to another value.
799
- },
800
- xmptk => { Name => 'XMPToolkit', Protected => 1 },
801
- );
802
-
803
- # Dublin Core namespace properties (dc)
804
- %Image::ExifTool::XMP::dc = (
805
- %xmpTableDefaults,
806
- GROUPS => { 1 => 'XMP-dc', 2 => 'Other' },
807
- NAMESPACE => 'dc',
808
- TABLE_DESC => 'XMP Dublin Core',
809
- NOTES => 'Dublin Core namespace tags.',
810
- contributor => { Groups => { 2 => 'Author' }, List => 'Bag' },
811
- coverage => { },
812
- creator => { Groups => { 2 => 'Author' }, List => 'Seq' },
813
- date => { Groups => { 2 => 'Time' }, List => 'Seq', %dateTimeInfo },
814
- description => { Groups => { 2 => 'Image' }, Writable => 'lang-alt' },
815
- 'format' => { Groups => { 2 => 'Image' } },
816
- identifier => { Groups => { 2 => 'Image' } },
817
- language => { List => 'Bag' },
818
- publisher => { Groups => { 2 => 'Author' }, List => 'Bag' },
819
- relation => { List => 'Bag' },
820
- rights => { Groups => { 2 => 'Author' }, Writable => 'lang-alt' },
821
- source => { Groups => { 2 => 'Author' }, Avoid => 1 },
822
- subject => { Groups => { 2 => 'Image' }, List => 'Bag' },
823
- title => { Groups => { 2 => 'Image' }, Writable => 'lang-alt' },
824
- type => { Groups => { 2 => 'Image' }, List => 'Bag' },
825
- );
826
-
827
- # XMP namespace properties (xmp, xap)
828
- %Image::ExifTool::XMP::xmp = (
829
- %xmpTableDefaults,
830
- GROUPS => { 1 => 'XMP-xmp', 2 => 'Image' },
831
- NAMESPACE => 'xmp',
832
- NOTES => q{
833
- XMP namespace tags. If the older "xap", "xapBJ", "xapMM" or "xapRights"
834
- namespace prefixes are found, they are translated to the newer "xmp",
835
- "xmpBJ", "xmpMM" and "xmpRights" prefixes for use in family 1 group names.
836
- },
837
- Advisory => { List => 'Bag', Notes => 'deprecated' },
838
- BaseURL => { },
839
- # (date/time tags not as reliable as EXIF)
840
- CreateDate => { Groups => { 2 => 'Time' }, %dateTimeInfo, Priority => 0 },
841
- CreatorTool => { },
842
- Identifier => { Avoid => 1, List => 'Bag' },
843
- Label => { },
844
- MetadataDate=> { Groups => { 2 => 'Time' }, %dateTimeInfo },
845
- ModifyDate => { Groups => { 2 => 'Time' }, %dateTimeInfo, Priority => 0 },
846
- Nickname => { },
847
- Rating => { Writable => 'real', Notes => 'a value from 0 to 5, or -1 for "rejected"' },
848
- Thumbnails => {
849
- FlatName => 'Thumbnail',
850
- Struct => \%sThumbnail,
851
- List => 'Alt',
852
- },
853
- # the following written by Adobe InDesign, not part of XMP spec:
854
- PageInfo => {
855
- FlatName => 'PageImage',
856
- Struct => \%sPageInfo,
857
- List => 'Seq',
858
- },
859
- PageInfoImage => { Name => 'PageImage', Flat => 1 },
860
- Title => { Avoid => 1, Notes => 'non-standard', Writable => 'lang-alt' }, #11
861
- Author => { Avoid => 1, Notes => 'non-standard', Groups => { 2 => 'Author' } }, #11
862
- Keywords => { Avoid => 1, Notes => 'non-standard' }, #11
863
- Description => { Avoid => 1, Notes => 'non-standard', Writable => 'lang-alt' }, #11
864
- Format => { Avoid => 1, Notes => 'non-standard' }, #11
865
- );
866
-
867
- # XMP Rights Management namespace properties (xmpRights, xapRights)
868
- %Image::ExifTool::XMP::xmpRights = (
869
- %xmpTableDefaults,
870
- GROUPS => { 1 => 'XMP-xmpRights', 2 => 'Author' },
871
- NAMESPACE => 'xmpRights',
872
- NOTES => 'XMP Rights Management namespace tags.',
873
- Certificate => { },
874
- Marked => { Writable => 'boolean' },
875
- Owner => { List => 'Bag' },
876
- UsageTerms => { Writable => 'lang-alt' },
877
- WebStatement => { },
878
- );
879
-
880
- # XMP Note namespace properties (xmpNote)
881
- %Image::ExifTool::XMP::xmpNote = (
882
- %xmpTableDefaults,
883
- GROUPS => { 1 => 'XMP-xmpNote' },
884
- NAMESPACE => 'xmpNote',
885
- NOTES => 'XMP Note namespace tags.',
886
- HasExtendedXMP => {
887
- Notes => q{
888
- this tag is protected so it is not writable directly. Instead, it is set
889
- automatically to the GUID of the extended XMP when writing extended XMP to a
890
- JPEG image
891
- },
892
- Protected => 2,
893
- },
894
- );
895
-
896
- # XMP xmpMM ManifestItem struct (ref PH, written by Adobe PDF library 8.0)
897
- my %sManifestItem = (
898
- STRUCT_NAME => 'ManifestItem',
899
- NAMESPACE => 'stMfs',
900
- linkForm => { },
901
- placedXResolution => { Namespace => 'xmpMM', Writable => 'real' },
902
- placedYResolution => { Namespace => 'xmpMM', Writable => 'real' },
903
- placedResolutionUnit=> { Namespace => 'xmpMM' },
904
- reference => { Struct => \%sResourceRef },
905
- );
906
-
907
- # the xmpMM Pantry
908
- my %sPantryItem = (
909
- STRUCT_NAME => 'PantryItem',
910
- NAMESPACE => undef, # stores any top-level XMP tags
911
- NOTES => q{
912
- This structure must have an InstanceID field, but may also contain any other
913
- XMP properties.
914
- },
915
- InstanceID => { Namespace => 'xmpMM' },
916
- );
917
-
918
- # XMP Media Management namespace properties (xmpMM, xapMM)
919
- %Image::ExifTool::XMP::xmpMM = (
920
- %xmpTableDefaults,
921
- GROUPS => { 1 => 'XMP-xmpMM', 2 => 'Other' },
922
- NAMESPACE => 'xmpMM',
923
- TABLE_DESC => 'XMP Media Management',
924
- NOTES => 'XMP Media Management namespace tags.',
925
- DerivedFrom => { Struct => \%sResourceRef },
926
- DocumentID => { },
927
- History => { Struct => \%sResourceEvent, List => 'Seq' },
928
- # we treat these like list items since History is a list
929
- Ingredients => { Struct => \%sResourceRef, List => 'Bag' },
930
- InstanceID => { }, #PH (CS3)
931
- ManagedFrom => { Struct => \%sResourceRef },
932
- Manager => { Groups => { 2 => 'Author' } },
933
- ManageTo => { Groups => { 2 => 'Author' } },
934
- ManageUI => { },
935
- ManagerVariant => { },
936
- Manifest => { Struct => \%sManifestItem, List => 'Bag' },
937
- OriginalDocumentID=> { },
938
- Pantry => { Struct => \%sPantryItem, List => 'Bag' },
939
- PreservedFileName => { }, # undocumented
940
- RenditionClass => { },
941
- RenditionParams => { },
942
- VersionID => { },
943
- Versions => { Struct => \%sVersion, List => 'Seq' },
944
- LastURL => { }, # (deprecated)
945
- RenditionOf => { Struct => \%sResourceRef }, # (deprecated)
946
- SaveID => { Writable => 'integer' }, # (deprecated)
947
- subject => { List => 'Seq', Avoid => 1, Notes => 'undocumented' },
948
- );
949
-
950
- # XMP Basic Job Ticket namespace properties (xmpBJ, xapBJ)
951
- %Image::ExifTool::XMP::xmpBJ = (
952
- %xmpTableDefaults,
953
- GROUPS => { 1 => 'XMP-xmpBJ', 2 => 'Other' },
954
- NAMESPACE => 'xmpBJ',
955
- TABLE_DESC => 'XMP Basic Job Ticket',
956
- NOTES => 'XMP Basic Job Ticket namespace tags.',
957
- # Note: JobRef is a List of structures. To accomplish this, we set the XMP
958
- # List=>'Bag', but since SubDirectory is defined, this tag isn't writable
959
- # directly. Then we need to set List=>1 for the members so the Writer logic
960
- # will allow us to add list items.
961
- JobRef => { Struct => \%sJobRef, List => 'Bag' },
962
- );
963
-
964
- # XMP Paged-Text namespace properties (xmpTPg)
965
- %Image::ExifTool::XMP::xmpTPg = (
966
- %xmpTableDefaults,
967
- GROUPS => { 1 => 'XMP-xmpTPg', 2 => 'Image' },
968
- NAMESPACE => 'xmpTPg',
969
- TABLE_DESC => 'XMP Paged-Text',
970
- NOTES => 'XMP Paged-Text namespace tags.',
971
- MaxPageSize => { Struct => \%sDimensions },
972
- NPages => { Writable => 'integer' },
973
- Fonts => {
974
- FlatName => '',
975
- Struct => \%sFont,
976
- List => 'Bag',
977
- },
978
- FontsVersionString => { Name => 'FontVersion', Flat => 1 },
979
- FontsComposite => { Name => 'FontComposite', Flat => 1 },
980
- Colorants => {
981
- FlatName => 'Colorant',
982
- Struct => \%sColorant,
983
- List => 'Seq',
984
- },
985
- PlateNames => { List => 'Seq' },
986
- );
987
-
988
- # PDF namespace properties (pdf)
989
- %Image::ExifTool::XMP::pdf = (
990
- %xmpTableDefaults,
991
- GROUPS => { 1 => 'XMP-pdf', 2 => 'Image' },
992
- NAMESPACE => 'pdf',
993
- TABLE_DESC => 'XMP PDF',
994
- NOTES => q{
995
- Adobe PDF namespace tags. The official XMP specification defines only
996
- Keywords, PDFVersion, Producer and Trapped. The other tags are included
997
- because they have been observed in PDF files, but some are avoided when
998
- writing due to name conflicts with other XMP namespaces.
999
- },
1000
- Author => { Groups => { 2 => 'Author' } }, #PH
1001
- ModDate => { Groups => { 2 => 'Time' }, %dateTimeInfo }, #PH
1002
- CreationDate=> { Groups => { 2 => 'Time' }, %dateTimeInfo }, #PH
1003
- Creator => { Groups => { 2 => 'Author' }, Avoid => 1 },
1004
- Copyright => { Groups => { 2 => 'Author' }, Avoid => 1 }, #PH
1005
- Marked => { Avoid => 1, Writable => 'boolean' }, #PH
1006
- Subject => { Avoid => 1 },
1007
- Title => { Avoid => 1 },
1008
- Trapped => { #PH
1009
- # remove leading '/' from '/True' or '/False'
1010
- ValueConv => '$val=~s{^/}{}; $val',
1011
- ValueConvInv => '"/$val"',
1012
- PrintConv => { True => 'True', False => 'False', Unknown => 'Unknown' },
1013
- },
1014
- Keywords => { Priority => 0 },
1015
- PDFVersion => { },
1016
- Producer => { Groups => { 2 => 'Author' } },
1017
- );
1018
-
1019
- # PDF extension namespace properties (pdfx)
1020
- %Image::ExifTool::XMP::pdfx = (
1021
- %xmpTableDefaults,
1022
- GROUPS => { 1 => 'XMP-pdfx', 2 => 'Document' },
1023
- NAMESPACE => 'pdfx',
1024
- NOTES => q{
1025
- PDF extension tags. This namespace is used to store application-defined PDF
1026
- information, so there are no pre-defined tags. User-defined tags must be
1027
- created to enable writing of XMP-pdfx information.
1028
- },
1029
- );
1030
-
1031
- # Photoshop namespace properties (photoshop)
1032
- %Image::ExifTool::XMP::photoshop = (
1033
- %xmpTableDefaults,
1034
- GROUPS => { 1 => 'XMP-photoshop', 2 => 'Image' },
1035
- NAMESPACE => 'photoshop',
1036
- TABLE_DESC => 'XMP Photoshop',
1037
- NOTES => 'Adobe Photoshop namespace tags.',
1038
- AuthorsPosition => { Groups => { 2 => 'Author' } },
1039
- CaptionWriter => { Groups => { 2 => 'Author' } },
1040
- Category => { },
1041
- City => { Groups => { 2 => 'Location' } },
1042
- ColorMode => {
1043
- Writable => 'integer', # (as of July 2010 spec, courtesy of yours truly)
1044
- PrintConvColumns => 2,
1045
- PrintConv => {
1046
- 0 => 'Bitmap',
1047
- 1 => 'Grayscale',
1048
- 2 => 'Indexed',
1049
- 3 => 'RGB',
1050
- 4 => 'CMYK',
1051
- 7 => 'Multichannel',
1052
- 8 => 'Duotone',
1053
- 9 => 'Lab',
1054
- },
1055
- },
1056
- Country => { Groups => { 2 => 'Location' } },
1057
- Credit => { Groups => { 2 => 'Author' } },
1058
- DateCreated => { Groups => { 2 => 'Time' }, %dateTimeInfo },
1059
- DocumentAncestors => {
1060
- FlatName => 'Document',
1061
- List => 'Bag',
1062
- Struct => {
1063
- STRUCT_NAME => 'Ancestor',
1064
- NAMESPACE => 'photoshop',
1065
- AncestorID => { },
1066
- },
1067
- },
1068
- Headline => { },
1069
- History => { }, #PH (CS3)
1070
- ICCProfile => { Name => 'ICCProfileName' }, #PH
1071
- Instructions => { },
1072
- LegacyIPTCDigest=> { }, #PH
1073
- SidecarForExtension => { }, #PH (CS3)
1074
- Source => { Groups => { 2 => 'Author' } },
1075
- State => { Groups => { 2 => 'Location' } },
1076
- # the XMP spec doesn't show SupplementalCategories as a 'Bag', but
1077
- # that's the way Photoshop writes it [fixed in the June 2005 XMP spec].
1078
- # Also, it is incorrectly listed as "SupplementalCategory" in the
1079
- # IPTC Standard Photo Metadata docs (2008rev2 and July 2009rev1) - PH
1080
- SupplementalCategories => { List => 'Bag' },
1081
- TextLayers => {
1082
- FlatName => 'Text',
1083
- List => 'Seq',
1084
- Struct => {
1085
- STRUCT_NAME => 'Layer',
1086
- NAMESPACE => 'photoshop',
1087
- LayerName => { },
1088
- LayerText => { },
1089
- },
1090
- },
1091
- TransmissionReference => { },
1092
- Urgency => {
1093
- Writable => 'integer',
1094
- Notes => 'should be in the range 1-8 to conform with the XMP spec',
1095
- PrintConv => { # (same values as IPTC:Urgency)
1096
- 0 => '0 (reserved)', # (not standard XMP)
1097
- 1 => '1 (most urgent)',
1098
- 2 => 2,
1099
- 3 => 3,
1100
- 4 => 4,
1101
- 5 => '5 (normal urgency)',
1102
- 6 => 6,
1103
- 7 => 7,
1104
- 8 => '8 (least urgent)',
1105
- 9 => '9 (user-defined priority)', # (not standard XMP)
1106
- },
1107
- },
1108
- EmbeddedXMPDigest => { }, #PH (LR5)
1109
- );
1110
-
1111
- # Photoshop Camera Raw namespace properties (crs) - (ref 8,PH)
1112
- %Image::ExifTool::XMP::crs = (
1113
- %xmpTableDefaults,
1114
- GROUPS => { 1 => 'XMP-crs', 2 => 'Image' },
1115
- NAMESPACE => 'crs',
1116
- TABLE_DESC => 'Photoshop Camera Raw namespace',
1117
- NOTES => q{
1118
- Photoshop Camera Raw namespace tags. It is a shame that Adobe pollutes the
1119
- metadata space with these incredibly bulky image editing parameters.
1120
- },
1121
- AlreadyApplied => { Writable => 'boolean' }, #PH (written by LightRoom beta 4.1)
1122
- AutoBrightness => { Writable => 'boolean' },
1123
- AutoContrast => { Writable => 'boolean' },
1124
- AutoExposure => { Writable => 'boolean' },
1125
- AutoShadows => { Writable => 'boolean' },
1126
- BlueHue => { Writable => 'integer' },
1127
- BlueSaturation => { Writable => 'integer' },
1128
- Brightness => { Writable => 'integer' },
1129
- CameraProfile => { },
1130
- ChromaticAberrationB=> { Writable => 'integer' },
1131
- ChromaticAberrationR=> { Writable => 'integer' },
1132
- ColorNoiseReduction => { Writable => 'integer' },
1133
- Contrast => { Writable => 'integer', Avoid => 1 },
1134
- Converter => { }, #PH guess (found in EXIF)
1135
- CropTop => { Writable => 'real' },
1136
- CropLeft => { Writable => 'real' },
1137
- CropBottom => { Writable => 'real' },
1138
- CropRight => { Writable => 'real' },
1139
- CropAngle => { Writable => 'real' },
1140
- CropWidth => { Writable => 'real' },
1141
- CropHeight => { Writable => 'real' },
1142
- CropUnits => {
1143
- Writable => 'integer',
1144
- PrintConv => {
1145
- 0 => 'pixels',
1146
- 1 => 'inches',
1147
- 2 => 'cm',
1148
- },
1149
- },
1150
- Exposure => { Writable => 'real' },
1151
- GreenHue => { Writable => 'integer' },
1152
- GreenSaturation => { Writable => 'integer' },
1153
- HasCrop => { Writable => 'boolean' },
1154
- HasSettings => { Writable => 'boolean' },
1155
- LuminanceSmoothing => { Writable => 'integer' },
1156
- MoireFilter => { PrintConv => { Off=>'Off', On=>'On' } },
1157
- RawFileName => { },
1158
- RedHue => { Writable => 'integer' },
1159
- RedSaturation => { Writable => 'integer' },
1160
- Saturation => { Writable => 'integer', Avoid => 1 },
1161
- Shadows => { Writable => 'integer' },
1162
- ShadowTint => { Writable => 'integer' },
1163
- Sharpness => { Writable => 'integer', Avoid => 1 },
1164
- Smoothness => { Writable => 'integer' },
1165
- Temperature => { Writable => 'integer', Avoid => 1, Name => 'ColorTemperature' },
1166
- Tint => { Writable => 'integer' },
1167
- ToneCurve => { List => 'Seq' },
1168
- ToneCurveName => {
1169
- PrintConv => {
1170
- Linear => 'Linear',
1171
- 'Medium Contrast' => 'Medium Contrast',
1172
- 'Strong Contrast' => 'Strong Contrast',
1173
- Custom => 'Custom',
1174
- },
1175
- },
1176
- Version => { },
1177
- VignetteAmount => { Writable => 'integer' },
1178
- VignetteMidpoint=> { Writable => 'integer' },
1179
- WhiteBalance => {
1180
- Avoid => 1,
1181
- PrintConv => {
1182
- 'As Shot' => 'As Shot',
1183
- Auto => 'Auto',
1184
- Daylight => 'Daylight',
1185
- Cloudy => 'Cloudy',
1186
- Shade => 'Shade',
1187
- Tungsten => 'Tungsten',
1188
- Fluorescent => 'Fluorescent',
1189
- Flash => 'Flash',
1190
- Custom => 'Custom',
1191
- },
1192
- },
1193
- # new tags observed in Adobe Lightroom output - PH
1194
- CameraProfileDigest => { },
1195
- Clarity => { Writable => 'integer' },
1196
- ConvertToGrayscale => { Writable => 'boolean' },
1197
- Defringe => { Writable => 'integer' },
1198
- FillLight => { Writable => 'integer' },
1199
- HighlightRecovery => { Writable => 'integer' },
1200
- HueAdjustmentAqua => { Writable => 'integer' },
1201
- HueAdjustmentBlue => { Writable => 'integer' },
1202
- HueAdjustmentGreen => { Writable => 'integer' },
1203
- HueAdjustmentMagenta => { Writable => 'integer' },
1204
- HueAdjustmentOrange => { Writable => 'integer' },
1205
- HueAdjustmentPurple => { Writable => 'integer' },
1206
- HueAdjustmentRed => { Writable => 'integer' },
1207
- HueAdjustmentYellow => { Writable => 'integer' },
1208
- IncrementalTemperature => { Writable => 'integer' },
1209
- IncrementalTint => { Writable => 'integer' },
1210
- LuminanceAdjustmentAqua => { Writable => 'integer' },
1211
- LuminanceAdjustmentBlue => { Writable => 'integer' },
1212
- LuminanceAdjustmentGreen => { Writable => 'integer' },
1213
- LuminanceAdjustmentMagenta => { Writable => 'integer' },
1214
- LuminanceAdjustmentOrange => { Writable => 'integer' },
1215
- LuminanceAdjustmentPurple => { Writable => 'integer' },
1216
- LuminanceAdjustmentRed => { Writable => 'integer' },
1217
- LuminanceAdjustmentYellow => { Writable => 'integer' },
1218
- ParametricDarks => { Writable => 'integer' },
1219
- ParametricHighlights => { Writable => 'integer' },
1220
- ParametricHighlightSplit => { Writable => 'integer' },
1221
- ParametricLights => { Writable => 'integer' },
1222
- ParametricMidtoneSplit => { Writable => 'integer' },
1223
- ParametricShadows => { Writable => 'integer' },
1224
- ParametricShadowSplit => { Writable => 'integer' },
1225
- SaturationAdjustmentAqua => { Writable => 'integer' },
1226
- SaturationAdjustmentBlue => { Writable => 'integer' },
1227
- SaturationAdjustmentGreen => { Writable => 'integer' },
1228
- SaturationAdjustmentMagenta => { Writable => 'integer' },
1229
- SaturationAdjustmentOrange => { Writable => 'integer' },
1230
- SaturationAdjustmentPurple => { Writable => 'integer' },
1231
- SaturationAdjustmentRed => { Writable => 'integer' },
1232
- SaturationAdjustmentYellow => { Writable => 'integer' },
1233
- SharpenDetail => { Writable => 'integer' },
1234
- SharpenEdgeMasking => { Writable => 'integer' },
1235
- SharpenRadius => { Writable => 'real' },
1236
- SplitToningBalance => { Writable => 'integer' },
1237
- SplitToningHighlightHue => { Writable => 'integer' },
1238
- SplitToningHighlightSaturation => { Writable => 'integer' },
1239
- SplitToningShadowHue => { Writable => 'integer' },
1240
- SplitToningShadowSaturation => { Writable => 'integer' },
1241
- Vibrance => { Writable => 'integer' },
1242
- # new tags written by LR 1.4 (not sure in what version they first appeared)
1243
- GrayMixerRed => { Writable => 'integer' },
1244
- GrayMixerOrange => { Writable => 'integer' },
1245
- GrayMixerYellow => { Writable => 'integer' },
1246
- GrayMixerGreen => { Writable => 'integer' },
1247
- GrayMixerAqua => { Writable => 'integer' },
1248
- GrayMixerBlue => { Writable => 'integer' },
1249
- GrayMixerPurple => { Writable => 'integer' },
1250
- GrayMixerMagenta => { Writable => 'integer' },
1251
- RetouchInfo => { List => 'Seq' },
1252
- RedEyeInfo => { List => 'Seq' },
1253
- # new tags written by LR 2.0 (ref PH)
1254
- CropUnit => { # was the XMP documentation wrong with "CropUnits"??
1255
- Writable => 'integer',
1256
- PrintConv => {
1257
- 0 => 'pixels',
1258
- 1 => 'inches',
1259
- 2 => 'cm',
1260
- # have seen a value of 3 here! - PH
1261
- },
1262
- },
1263
- PostCropVignetteAmount => { Writable => 'integer' },
1264
- PostCropVignetteMidpoint => { Writable => 'integer' },
1265
- PostCropVignetteFeather => { Writable => 'integer' },
1266
- PostCropVignetteRoundness => { Writable => 'integer' },
1267
- PostCropVignetteStyle => { Writable => 'integer' },
1268
- # disable List behaviour of flattened Gradient/PaintBasedCorrections
1269
- # because these are nested in lists and the flattened tags can't
1270
- # do justice to this complex structure
1271
- GradientBasedCorrections => {
1272
- FlatName => 'GradientBasedCorr',
1273
- Struct => \%sCorrection,
1274
- List => 'Seq',
1275
- },
1276
- GradientBasedCorrectionsCorrectionMasks => {
1277
- Name => 'GradientBasedCorrMasks',
1278
- FlatName => 'GradientBasedCorrMask',
1279
- Flat => 1
1280
- },
1281
- GradientBasedCorrectionsCorrectionMasksDabs => {
1282
- Name => 'GradientBasedCorrMaskDabs',
1283
- Flat => 1, List => 0,
1284
- },
1285
- PaintBasedCorrections => {
1286
- FlatName => 'PaintCorrection',
1287
- Struct => \%sCorrection,
1288
- List => 'Seq',
1289
- },
1290
- PaintBasedCorrectionsCorrectionMasks => {
1291
- Name => 'PaintBasedCorrectionMasks',
1292
- FlatName => 'PaintCorrectionMask',
1293
- Flat => 1,
1294
- },
1295
- PaintBasedCorrectionsCorrectionMasksDabs => {
1296
- Name => 'PaintCorrectionMaskDabs',
1297
- Flat => 1, List => 0,
1298
- },
1299
- # new tags written by LR 3 (thanks Wolfgang Guelcker)
1300
- ProcessVersion => { },
1301
- LensProfileEnable => { Writable => 'integer' },
1302
- LensProfileSetup => { },
1303
- LensProfileName => { },
1304
- LensProfileFilename => { },
1305
- LensProfileDigest => { },
1306
- LensProfileDistortionScale => { Writable => 'integer' },
1307
- LensProfileChromaticAberrationScale => { Writable => 'integer' },
1308
- LensProfileVignettingScale => { Writable => 'integer' },
1309
- LensManualDistortionAmount => { Writable => 'integer' },
1310
- PerspectiveVertical => { Writable => 'integer' },
1311
- PerspectiveHorizontal => { Writable => 'integer' },
1312
- PerspectiveRotate => { Writable => 'real' },
1313
- PerspectiveScale => { Writable => 'integer' },
1314
- CropConstrainToWarp => { Writable => 'integer' },
1315
- LuminanceNoiseReductionDetail => { Writable => 'integer' },
1316
- LuminanceNoiseReductionContrast => { Writable => 'integer' },
1317
- ColorNoiseReductionDetail => { Writable => 'integer' },
1318
- GrainAmount => { Writable => 'integer' },
1319
- GrainSize => { Writable => 'integer' },
1320
- GrainFrequency => { Writable => 'integer' },
1321
- # new tags written by LR4
1322
- AutoLateralCA => { Writable => 'integer' },
1323
- Exposure2012 => { Writable => 'real' },
1324
- Contrast2012 => { Writable => 'integer' },
1325
- Highlights2012 => { Writable => 'integer' },
1326
- Shadows2012 => { Writable => 'integer' },
1327
- Whites2012 => { Writable => 'integer' },
1328
- Blacks2012 => { Writable => 'integer' },
1329
- Clarity2012 => { Writable => 'integer' },
1330
- PostCropVignetteHighlightContrast => { Writable => 'integer' },
1331
- ToneCurveName2012 => { },
1332
- ToneCurveRed => { List => 'Seq' },
1333
- ToneCurveGreen => { List => 'Seq' },
1334
- ToneCurveBlue => { List => 'Seq' },
1335
- ToneCurvePV2012 => { List => 'Seq' },
1336
- ToneCurvePV2012Red => { List => 'Seq' },
1337
- ToneCurvePV2012Green => { List => 'Seq' },
1338
- ToneCurvePV2012Blue => { List => 'Seq' },
1339
- DefringePurpleAmount => { Writable => 'integer' },
1340
- DefringePurpleHueLo => { Writable => 'integer' },
1341
- DefringePurpleHueHi => { Writable => 'integer' },
1342
- DefringeGreenAmount => { Writable => 'integer' },
1343
- DefringeGreenHueLo => { Writable => 'integer' },
1344
- DefringeGreenHueHi => { Writable => 'integer' },
1345
- # new tags written by LR5
1346
- AutoWhiteVersion => { Writable => 'integer' },
1347
- CircularGradientBasedCorrections => {
1348
- FlatName => 'CircGradBasedCorr',
1349
- Struct => \%sCorrection,
1350
- List => 'Seq',
1351
- },
1352
- CircularGradientBasedCorrectionsCorrectionMasks => {
1353
- Name => 'CircGradBasedCorrMasks',
1354
- FlatName => 'CircGradBasedCorrMask',
1355
- Flat => 1
1356
- },
1357
- CircularGradientBasedCorrectionsCorrectionMasksDabs => {
1358
- Name => 'CircGradBasedCorrMaskDabs',
1359
- Flat => 1, List => 0,
1360
- },
1361
- ColorNoiseReductionSmoothness => { Writable => 'integer' },
1362
- PerspectiveAspect => { Writable => 'integer' },
1363
- PerspectiveUpright => { Writable => 'integer' },
1364
- RetouchAreas => {
1365
- FlatName => 'RetouchArea',
1366
- Struct => \%sRetouchArea,
1367
- List => 'Seq',
1368
- },
1369
- RetouchAreasMasks => {
1370
- Name => 'RetouchAreaMasks',
1371
- FlatName => 'RetouchAreaMask',
1372
- Flat => 1
1373
- },
1374
- RetouchAreasMasksDabs => {
1375
- Name => 'RetouchAreaMaskDabs',
1376
- Flat => 1, List => 0,
1377
- },
1378
- UprightVersion => { Writable => 'integer' },
1379
- UprightCenterMode => { Writable => 'integer' },
1380
- UprightCenterNormX => { Writable => 'real' },
1381
- UprightCenterNormY => { Writable => 'real' },
1382
- UprightFocalMode => { Writable => 'integer' },
1383
- UprightFocalLength35mm => { Writable => 'real' },
1384
- UprightPreview => { Writable => 'boolean' },
1385
- UprightTransformCount => { Writable => 'integer' },
1386
- UprightDependentDigest => { },
1387
- UprightTransform_0 => { },
1388
- UprightTransform_1 => { },
1389
- UprightTransform_2 => { },
1390
- UprightTransform_3 => { },
1391
- UprightTransform_4 => { },
1392
- # more stuff seen in lens profile file (unknown source)
1393
- What => { }, # (with value "LensProfileDefaultSettings")
1394
- LensProfileMatchKeyExifMake => { },
1395
- LensProfileMatchKeyExifModel => { },
1396
- LensProfileMatchKeyCameraModelName => { },
1397
- LensProfileMatchKeyLensInfo => { },
1398
- LensProfileMatchKeyLensID => { },
1399
- LensProfileMatchKeyLensName => { },
1400
- LensProfileMatchKeyIsRaw => { Writable => 'boolean' },
1401
- LensProfileMatchKeySensorFormatFactor=>{ Writable => 'real' },
1402
- );
1403
-
1404
- # Tiff namespace properties (tiff)
1405
- %Image::ExifTool::XMP::tiff = (
1406
- %xmpTableDefaults,
1407
- GROUPS => { 1 => 'XMP-tiff', 2 => 'Image' },
1408
- NAMESPACE => 'tiff',
1409
- PRIORITY => 0, # not as reliable as actual TIFF tags
1410
- TABLE_DESC => 'XMP TIFF',
1411
- NOTES => q{
1412
- EXIF namespace for TIFF tags. See
1413
- L<http://www.cipa.jp/std/documents/e/DC-010-2012_E.pdf> for the
1414
- specification.
1415
- },
1416
- ImageWidth => { Writable => 'integer' },
1417
- ImageLength => { Writable => 'integer', Name => 'ImageHeight' },
1418
- BitsPerSample => { Writable => 'integer', List => 'Seq', AutoSplit => 1 },
1419
- Compression => {
1420
- Writable => 'integer',
1421
- SeparateTable => 'EXIF Compression',
1422
- PrintConv => \%Image::ExifTool::Exif::compression,
1423
- },
1424
- PhotometricInterpretation => {
1425
- Writable => 'integer',
1426
- PrintConv => \%Image::ExifTool::Exif::photometricInterpretation,
1427
- },
1428
- Orientation => {
1429
- Writable => 'integer',
1430
- PrintConv => \%Image::ExifTool::Exif::orientation,
1431
- },
1432
- SamplesPerPixel => { Writable => 'integer' },
1433
- PlanarConfiguration => {
1434
- Writable => 'integer',
1435
- PrintConv => {
1436
- 1 => 'Chunky',
1437
- 2 => 'Planar',
1438
- },
1439
- },
1440
- YCbCrSubSampling => {
1441
- Writable => 'integer',
1442
- List => 'Seq',
1443
- # join the raw values before conversion to allow PrintConv to operate on
1444
- # the combined string as it does for the corresponding EXIF tag
1445
- RawJoin => 1,
1446
- Notes => q{
1447
- while technically this is a list-type tag, for compatibility with its EXIF
1448
- counterpart it is written and read as a simple string
1449
- },
1450
- PrintConv => \%Image::ExifTool::JPEG::yCbCrSubSampling,
1451
- },
1452
- YCbCrPositioning => {
1453
- Writable => 'integer',
1454
- PrintConv => {
1455
- 1 => 'Centered',
1456
- 2 => 'Co-sited',
1457
- },
1458
- },
1459
- XResolution => { Writable => 'rational' },
1460
- YResolution => { Writable => 'rational' },
1461
- ResolutionUnit => {
1462
- Writable => 'integer',
1463
- Notes => 'the value 1 is not standard EXIF',
1464
- PrintConv => {
1465
- 1 => 'None',
1466
- 2 => 'inches',
1467
- 3 => 'cm',
1468
- },
1469
- },
1470
- TransferFunction => { Writable => 'integer', List => 'Seq', AutoSplit => 1 },
1471
- WhitePoint => { Writable => 'rational', List => 'Seq', AutoSplit => 1 },
1472
- PrimaryChromaticities => { Writable => 'rational', List => 'Seq', AutoSplit => 1 },
1473
- YCbCrCoefficients => { Writable => 'rational', List => 'Seq', AutoSplit => 1 },
1474
- ReferenceBlackWhite => { Writable => 'rational', List => 'Seq', AutoSplit => 1 },
1475
- DateTime => { # (EXIF tag named ModifyDate, but this exists in XMP-xmp)
1476
- Description => 'Date/Time Modified',
1477
- Groups => { 2 => 'Time' },
1478
- %dateTimeInfo,
1479
- },
1480
- ImageDescription => { Writable => 'lang-alt' },
1481
- Make => {
1482
- Groups => { 2 => 'Camera' },
1483
- RawConv => '$$self{Make} ? $val : $$self{Make} = $val',
1484
- },
1485
- Model => {
1486
- Groups => { 2 => 'Camera' },
1487
- Description => 'Camera Model Name',
1488
- RawConv => '$$self{Model} ? $val : $$self{Model} = $val',
1489
- },
1490
- Software => { },
1491
- Artist => { Groups => { 2 => 'Author' } },
1492
- Copyright => { Groups => { 2 => 'Author' }, Writable => 'lang-alt' },
1493
- NativeDigest => { }, #PH
1494
- );
1495
-
1496
- # Exif namespace properties (exif)
1497
- %Image::ExifTool::XMP::exif = (
1498
- %xmpTableDefaults,
1499
- GROUPS => { 1 => 'XMP-exif', 2 => 'Image' },
1500
- NAMESPACE => 'exif',
1501
- PRIORITY => 0, # not as reliable as actual EXIF tags
1502
- NOTES => q{
1503
- EXIF namespace for EXIF tags. See
1504
- L<http://www.cipa.jp/std/documents/e/DC-010-2012_E.pdf> for the
1505
- specification.
1506
- },
1507
- ExifVersion => { },
1508
- FlashpixVersion => { },
1509
- ColorSpace => {
1510
- Writable => 'integer',
1511
- # (some applications incorrectly write -1 as a long integer)
1512
- ValueConv => '$val == 0xffffffff ? 0xffff : $val',
1513
- ValueConvInv => '$val',
1514
- PrintConv => {
1515
- 1 => 'sRGB',
1516
- 2 => 'Adobe RGB',
1517
- 0xffff => 'Uncalibrated',
1518
- },
1519
- },
1520
- ComponentsConfiguration => {
1521
- Writable => 'integer',
1522
- List => 'Seq',
1523
- AutoSplit => 1,
1524
- PrintConvColumns => 2,
1525
- PrintConv => {
1526
- 0 => '-',
1527
- 1 => 'Y',
1528
- 2 => 'Cb',
1529
- 3 => 'Cr',
1530
- 4 => 'R',
1531
- 5 => 'G',
1532
- 6 => 'B',
1533
- },
1534
- },
1535
- CompressedBitsPerPixel => { Writable => 'rational' },
1536
- PixelXDimension => { Name => 'ExifImageWidth', Writable => 'integer' },
1537
- PixelYDimension => { Name => 'ExifImageHeight', Writable => 'integer' },
1538
- MakerNote => { },
1539
- UserComment => { Writable => 'lang-alt' },
1540
- RelatedSoundFile => { },
1541
- DateTimeOriginal => {
1542
- Description => 'Date/Time Original',
1543
- Groups => { 2 => 'Time' },
1544
- %dateTimeInfo,
1545
- },
1546
- DateTimeDigitized => { # (EXIF tag named CreateDate, but this exists in XMP-xmp)
1547
- Description => 'Date/Time Digitized',
1548
- Groups => { 2 => 'Time' },
1549
- %dateTimeInfo,
1550
- },
1551
- ExposureTime => {
1552
- Writable => 'rational',
1553
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
1554
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
1555
- },
1556
- FNumber => {
1557
- Writable => 'rational',
1558
- PrintConv => 'Image::ExifTool::Exif::PrintFNumber($val)',
1559
- PrintConvInv => '$val',
1560
- },
1561
- ExposureProgram => {
1562
- Groups => { 2 => 'Camera' },
1563
- Writable => 'integer',
1564
- PrintConv => {
1565
- 0 => 'Not Defined',
1566
- 1 => 'Manual',
1567
- 2 => 'Program AE',
1568
- 3 => 'Aperture-priority AE',
1569
- 4 => 'Shutter speed priority AE',
1570
- 5 => 'Creative (Slow speed)',
1571
- 6 => 'Action (High speed)',
1572
- 7 => 'Portrait',
1573
- 8 => 'Landscape',
1574
- },
1575
- },
1576
- SpectralSensitivity => { Groups => { 2 => 'Camera' } },
1577
- ISOSpeedRatings => {
1578
- Name => 'ISO',
1579
- Writable => 'integer',
1580
- List => 'Seq',
1581
- AutoSplit => 1,
1582
- },
1583
- OECF => {
1584
- Name => 'Opto-ElectricConvFactor',
1585
- FlatName => 'OECF',
1586
- Groups => { 2 => 'Camera' },
1587
- Struct => \%sOECF,
1588
- },
1589
- ShutterSpeedValue => {
1590
- Writable => 'rational',
1591
- ValueConv => 'abs($val)<100 ? 1/(2**$val) : 0',
1592
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
1593
- ValueConvInv => '$val>0 ? -log($val)/log(2) : 0',
1594
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
1595
- },
1596
- ApertureValue => {
1597
- Writable => 'rational',
1598
- ValueConv => 'sqrt(2) ** $val',
1599
- PrintConv => 'sprintf("%.1f",$val)',
1600
- ValueConvInv => '$val>0 ? 2*log($val)/log(2) : 0',
1601
- PrintConvInv => '$val',
1602
- },
1603
- BrightnessValue => { Writable => 'rational' },
1604
- ExposureBiasValue => {
1605
- Name => 'ExposureCompensation',
1606
- Writable => 'rational',
1607
- PrintConv => 'Image::ExifTool::Exif::PrintFraction($val)',
1608
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
1609
- },
1610
- MaxApertureValue => {
1611
- Groups => { 2 => 'Camera' },
1612
- Writable => 'rational',
1613
- ValueConv => 'sqrt(2) ** $val',
1614
- PrintConv => 'sprintf("%.1f",$val)',
1615
- ValueConvInv => '$val>0 ? 2*log($val)/log(2) : 0',
1616
- PrintConvInv => '$val',
1617
- },
1618
- SubjectDistance => {
1619
- Groups => { 2 => 'Camera' },
1620
- Writable => 'rational',
1621
- PrintConv => '$val =~ /^(inf|undef)$/ ? $val : "$val m"',
1622
- PrintConvInv => '$val=~s/\s*m$//;$val',
1623
- },
1624
- MeteringMode => {
1625
- Groups => { 2 => 'Camera' },
1626
- Writable => 'integer',
1627
- PrintConv => {
1628
- 1 => 'Average',
1629
- 2 => 'Center-weighted average',
1630
- 3 => 'Spot',
1631
- 4 => 'Multi-spot',
1632
- 5 => 'Multi-segment',
1633
- 6 => 'Partial',
1634
- 255 => 'Other',
1635
- },
1636
- },
1637
- LightSource => {
1638
- Groups => { 2 => 'Camera' },
1639
- SeparateTable => 'EXIF LightSource',
1640
- PrintConv => \%Image::ExifTool::Exif::lightSource,
1641
- },
1642
- Flash => {
1643
- Groups => { 2 => 'Camera' },
1644
- Struct => {
1645
- STRUCT_NAME => 'Flash',
1646
- NAMESPACE => 'exif',
1647
- Fired => { Writable => 'boolean', %boolConv },
1648
- Return => {
1649
- Writable => 'integer',
1650
- PrintConv => {
1651
- 0 => 'No return detection',
1652
- 2 => 'Return not detected',
1653
- 3 => 'Return detected',
1654
- },
1655
- },
1656
- Mode => {
1657
- Writable => 'integer',
1658
- PrintConv => {
1659
- 0 => 'Unknown',
1660
- 1 => 'On',
1661
- 2 => 'Off',
1662
- 3 => 'Auto',
1663
- },
1664
- },
1665
- Function => { Writable => 'boolean', %boolConv },
1666
- RedEyeMode => { Writable => 'boolean', %boolConv },
1667
- },
1668
- },
1669
- FocalLength=> {
1670
- Groups => { 2 => 'Camera' },
1671
- Writable => 'rational',
1672
- PrintConv => 'sprintf("%.1f mm",$val)',
1673
- PrintConvInv => '$val=~s/\s*mm$//;$val',
1674
- },
1675
- SubjectArea => { Writable => 'integer', List => 'Seq', AutoSplit => 1 },
1676
- FlashEnergy => { Groups => { 2 => 'Camera' }, Writable => 'rational' },
1677
- SpatialFrequencyResponse => {
1678
- Groups => { 2 => 'Camera' },
1679
- Struct => \%sOECF,
1680
- },
1681
- FocalPlaneXResolution => { Groups => { 2 => 'Camera' }, Writable => 'rational' },
1682
- FocalPlaneYResolution => { Groups => { 2 => 'Camera' }, Writable => 'rational' },
1683
- FocalPlaneResolutionUnit => {
1684
- Groups => { 2 => 'Camera' },
1685
- Writable => 'integer',
1686
- Notes => 'values 1, 4 and 5 are not standard EXIF',
1687
- PrintConv => {
1688
- 1 => 'None', # (not standard EXIF)
1689
- 2 => 'inches',
1690
- 3 => 'cm',
1691
- 4 => 'mm', # (not standard EXIF)
1692
- 5 => 'um', # (not standard EXIF)
1693
- },
1694
- },
1695
- SubjectLocation => { Writable => 'integer', List => 'Seq', AutoSplit => 1 },
1696
- ExposureIndex => { Writable => 'rational' },
1697
- SensingMethod => {
1698
- Groups => { 2 => 'Camera' },
1699
- Writable => 'integer',
1700
- Notes => 'values 1 and 6 are not standard EXIF',
1701
- PrintConv => {
1702
- 1 => 'Monochrome area', # (not standard EXIF)
1703
- 2 => 'One-chip color area',
1704
- 3 => 'Two-chip color area',
1705
- 4 => 'Three-chip color area',
1706
- 5 => 'Color sequential area',
1707
- 6 => 'Monochrome linear', # (not standard EXIF)
1708
- 7 => 'Trilinear',
1709
- 8 => 'Color sequential linear',
1710
- },
1711
- },
1712
- FileSource => {
1713
- Writable => 'integer',
1714
- PrintConv => {
1715
- 1 => 'Film Scanner',
1716
- 2 => 'Reflection Print Scanner',
1717
- 3 => 'Digital Camera',
1718
- }
1719
- },
1720
- SceneType => { Writable => 'integer', PrintConv => { 1 => 'Directly photographed' } },
1721
- CFAPattern => {
1722
- Struct => {
1723
- STRUCT_NAME => 'CFAPattern',
1724
- NAMESPACE => 'exif',
1725
- Columns => { Writable => 'integer' },
1726
- Rows => { Writable => 'integer' },
1727
- Values => { Writable => 'integer', List => 'Seq' },
1728
- },
1729
- },
1730
- CustomRendered => {
1731
- Writable => 'integer',
1732
- PrintConv => {
1733
- 0 => 'Normal',
1734
- 1 => 'Custom',
1735
- },
1736
- },
1737
- ExposureMode => {
1738
- Groups => { 2 => 'Camera' },
1739
- Writable => 'integer',
1740
- PrintConv => {
1741
- 0 => 'Auto',
1742
- 1 => 'Manual',
1743
- 2 => 'Auto bracket',
1744
- },
1745
- },
1746
- WhiteBalance => {
1747
- Groups => { 2 => 'Camera' },
1748
- Writable => 'integer',
1749
- PrintConv => {
1750
- 0 => 'Auto',
1751
- 1 => 'Manual',
1752
- },
1753
- },
1754
- DigitalZoomRatio => { Writable => 'rational' },
1755
- FocalLengthIn35mmFilm => {
1756
- Name => 'FocalLengthIn35mmFormat',
1757
- Writable => 'integer',
1758
- Groups => { 2 => 'Camera' },
1759
- PrintConv => '"$val mm"',
1760
- PrintConvInv => '$val=~s/\s*mm$//;$val',
1761
- },
1762
- SceneCaptureType => {
1763
- Groups => { 2 => 'Camera' },
1764
- Writable => 'integer',
1765
- PrintConv => {
1766
- 0 => 'Standard',
1767
- 1 => 'Landscape',
1768
- 2 => 'Portrait',
1769
- 3 => 'Night',
1770
- },
1771
- },
1772
- GainControl => {
1773
- Groups => { 2 => 'Camera' },
1774
- Writable => 'integer',
1775
- PrintConv => {
1776
- 0 => 'None',
1777
- 1 => 'Low gain up',
1778
- 2 => 'High gain up',
1779
- 3 => 'Low gain down',
1780
- 4 => 'High gain down',
1781
- },
1782
- },
1783
- Contrast => {
1784
- Groups => { 2 => 'Camera' },
1785
- Writable => 'integer',
1786
- PrintConv => {
1787
- 0 => 'Normal',
1788
- 1 => 'Low',
1789
- 2 => 'High',
1790
- },
1791
- PrintConvInv => 'Image::ExifTool::Exif::ConvertParameter($val)',
1792
- },
1793
- Saturation => {
1794
- Groups => { 2 => 'Camera' },
1795
- Writable => 'integer',
1796
- PrintConv => {
1797
- 0 => 'Normal',
1798
- 1 => 'Low',
1799
- 2 => 'High',
1800
- },
1801
- PrintConvInv => 'Image::ExifTool::Exif::ConvertParameter($val)',
1802
- },
1803
- Sharpness => {
1804
- Groups => { 2 => 'Camera' },
1805
- Writable => 'integer',
1806
- PrintConv => {
1807
- 0 => 'Normal',
1808
- 1 => 'Soft',
1809
- 2 => 'Hard',
1810
- },
1811
- PrintConvInv => 'Image::ExifTool::Exif::ConvertParameter($val)',
1812
- },
1813
- DeviceSettingDescription => {
1814
- Groups => { 2 => 'Camera' },
1815
- Struct => {
1816
- STRUCT_NAME => 'DeviceSettings',
1817
- NAMESPACE => 'exif',
1818
- Columns => { Writable => 'integer' },
1819
- Rows => { Writable => 'integer' },
1820
- Settings => { List => 'Seq' },
1821
- },
1822
- },
1823
- SubjectDistanceRange => {
1824
- Groups => { 2 => 'Camera' },
1825
- Writable => 'integer',
1826
- PrintConv => {
1827
- 0 => 'Unknown',
1828
- 1 => 'Macro',
1829
- 2 => 'Close',
1830
- 3 => 'Distant',
1831
- },
1832
- },
1833
- ImageUniqueID => { },
1834
- GPSVersionID => { Groups => { 2 => 'Location' } },
1835
- GPSLatitude => { Groups => { 2 => 'Location' }, %latConv },
1836
- GPSLongitude => { Groups => { 2 => 'Location' }, %longConv },
1837
- GPSAltitudeRef => {
1838
- Groups => { 2 => 'Location' },
1839
- Writable => 'integer',
1840
- PrintConv => {
1841
- 0 => 'Above Sea Level',
1842
- 1 => 'Below Sea Level',
1843
- },
1844
- },
1845
- GPSAltitude => {
1846
- Groups => { 2 => 'Location' },
1847
- Writable => 'rational',
1848
- RawConv => 'require Image::ExifTool::GPS; $val', # to load Composite tags and routines
1849
- # extricate unsigned decimal number from string
1850
- ValueConvInv => '$val=~/((?=\d|\.\d)\d*(?:\.\d*)?)/ ? $1 : undef',
1851
- PrintConv => '$val =~ /^(inf|undef)$/ ? $val : "$val m"',
1852
- PrintConvInv => '$val=~s/\s*m$//;$val',
1853
- },
1854
- GPSTimeStamp => {
1855
- Name => 'GPSDateTime',
1856
- Description => 'GPS Date/Time',
1857
- Groups => { 2 => 'Time' },
1858
- Notes => q{
1859
- a date/time tag called GPSTimeStamp by the XMP specification. This tag is
1860
- renamed here to prevent direct copy from EXIF:GPSTimeStamp which is a
1861
- time-only tag. Instead, the value of this tag should be taken from
1862
- Composite:GPSDateTime when copying from EXIF
1863
- },
1864
- %dateTimeInfo,
1865
- },
1866
- GPSSatellites => { Groups => { 2 => 'Location' } },
1867
- GPSStatus => {
1868
- Groups => { 2 => 'Location' },
1869
- PrintConv => {
1870
- A => 'Measurement Active',
1871
- V => 'Measurement Void',
1872
- },
1873
- },
1874
- GPSMeasureMode => {
1875
- Groups => { 2 => 'Location' },
1876
- Writable => 'integer',
1877
- PrintConv => {
1878
- 2 => '2-Dimensional',
1879
- 3 => '3-Dimensional',
1880
- },
1881
- },
1882
- GPSDOP => { Groups => { 2 => 'Location' }, Writable => 'rational' },
1883
- GPSSpeedRef => {
1884
- Groups => { 2 => 'Location' },
1885
- PrintConv => {
1886
- K => 'km/h',
1887
- M => 'mph',
1888
- N => 'knots',
1889
- },
1890
- },
1891
- GPSSpeed => { Groups => { 2 => 'Location' }, Writable => 'rational' },
1892
- GPSTrackRef => {
1893
- Groups => { 2 => 'Location' },
1894
- PrintConv => {
1895
- M => 'Magnetic North',
1896
- T => 'True North',
1897
- },
1898
- },
1899
- GPSTrack => { Groups => { 2 => 'Location' }, Writable => 'rational' },
1900
- GPSImgDirectionRef => {
1901
- Groups => { 2 => 'Location' },
1902
- PrintConv => {
1903
- M => 'Magnetic North',
1904
- T => 'True North',
1905
- },
1906
- },
1907
- GPSImgDirection => { Groups => { 2 => 'Location' }, Writable => 'rational' },
1908
- GPSMapDatum => { Groups => { 2 => 'Location' } },
1909
- GPSDestLatitude => { Groups => { 2 => 'Location' }, %latConv },
1910
- GPSDestLongitude=> { Groups => { 2 => 'Location' }, %longConv },
1911
- GPSDestBearingRef => {
1912
- Groups => { 2 => 'Location' },
1913
- PrintConv => {
1914
- M => 'Magnetic North',
1915
- T => 'True North',
1916
- },
1917
- },
1918
- GPSDestBearing => { Groups => { 2 => 'Location' }, Writable => 'rational' },
1919
- GPSDestDistanceRef => {
1920
- Groups => { 2 => 'Location' },
1921
- PrintConv => {
1922
- K => 'Kilometers',
1923
- M => 'Miles',
1924
- N => 'Nautical Miles',
1925
- },
1926
- },
1927
- GPSDestDistance => {
1928
- Groups => { 2 => 'Location' },
1929
- Writable => 'rational',
1930
- },
1931
- GPSProcessingMethod => { Groups => { 2 => 'Location' } },
1932
- GPSAreaInformation => { Groups => { 2 => 'Location' } },
1933
- GPSDifferential => {
1934
- Groups => { 2 => 'Location' },
1935
- Writable => 'integer',
1936
- PrintConv => {
1937
- 0 => 'No Correction',
1938
- 1 => 'Differential Corrected',
1939
- },
1940
- },
1941
- GPSHPositioningError => { #12
1942
- Description => 'GPS Horizontal Positioning Error',
1943
- Groups => { 2 => 'Location' },
1944
- Writable => 'rational',
1945
- PrintConv => '"$val m"',
1946
- PrintConvInv => '$val=~s/\s*m$//; $val',
1947
- },
1948
- NativeDigest => { }, #PH
1949
- );
1950
-
1951
- # Exif extended properties (exifEX, ref 12)
1952
- %Image::ExifTool::XMP::exifEX = (
1953
- %xmpTableDefaults,
1954
- GROUPS => { 1 => 'XMP-exifEX', 2 => 'Image' },
1955
- NAMESPACE => 'exifEX',
1956
- PRIORITY => 0, # not as reliable as actual EXIF tags
1957
- NOTES => q{
1958
- EXIF tags added by the EXIF 2.3 for XMP specification (see
1959
- L<http://www.cipa.jp/std/documents/e/DC-010-2012_E.pdf>).
1960
- },
1961
- Gamma => { Writable => 'rational' },
1962
- PhotographicSensitivity => { Writable => 'integer' },
1963
- SensitivityType => {
1964
- Writable => 'integer',
1965
- PrintConv => {
1966
- 0 => 'Unknown',
1967
- 1 => 'Standard Output Sensitivity',
1968
- 2 => 'Recommended Exposure Index',
1969
- 3 => 'ISO Speed',
1970
- 4 => 'Standard Output Sensitivity and Recommended Exposure Index',
1971
- 5 => 'Standard Output Sensitivity and ISO Speed',
1972
- 6 => 'Recommended Exposure Index and ISO Speed',
1973
- 7 => 'Standard Output Sensitivity, Recommended Exposure Index and ISO Speed',
1974
- },
1975
- },
1976
- StandardOutputSensitivity => { Writable => 'integer' },
1977
- RecommendedExposureIndex => { Writable => 'integer' },
1978
- ISOSpeed => { Writable => 'integer' },
1979
- ISOSpeedLatitudeyyy => {
1980
- Description => 'ISO Speed Latitude yyy',
1981
- Writable => 'integer',
1982
- },
1983
- ISOSpeedLatitudezzz => {
1984
- Description => 'ISO Speed Latitude zzz',
1985
- Writable => 'integer',
1986
- },
1987
- CameraOwnerName => { Name => 'OwnerName' },
1988
- BodySerialNumber => { Name => 'SerialNumber' },
1989
- LensSpecification => {
1990
- Name => 'LensInfo',
1991
- Writable => 'rational',
1992
- List => 'Seq',
1993
- RawJoin => 1, # join list into a string before ValueConv
1994
- ValueConv => \&ConvertRationalList,
1995
- ValueConvInv => sub {
1996
- my $val = shift;
1997
- my @vals = split ' ', $val;
1998
- return $val unless @vals == 4;
1999
- foreach (@vals) {
2000
- $_ eq 'inf' and $_ = '1/0', next;
2001
- $_ eq 'undef' and $_ = '0/0', next;
2002
- Image::ExifTool::IsFloat($_) or return $val;
2003
- my @a = Image::ExifTool::Rationalize($_);
2004
- $_ = join '/', @a;
2005
- }
2006
- return \@vals; # return list reference (List-type tag)
2007
- },
2008
- PrintConv => \&Image::ExifTool::Exif::PrintLensInfo,
2009
- PrintConvInv => \&Image::ExifTool::Exif::ConvertLensInfo,
2010
- Notes => q{
2011
- called LensSpecification by the spec. Unfortunately the EXIF 2.3 for XMP
2012
- specification defined this new tag instead of using the existing
2013
- XMP-aux:LensInfo
2014
- },
2015
- },
2016
- LensMake => { },
2017
- LensModel => { },
2018
- LensSerialNumber => { },
2019
- InteroperabilityIndex => {
2020
- Name => 'InteropIndex',
2021
- Description => 'Interoperability Index',
2022
- PrintConv => {
2023
- R98 => 'R98 - DCF basic file (sRGB)',
2024
- R03 => 'R03 - DCF option file (Adobe RGB)',
2025
- THM => 'THM - DCF thumbnail file',
2026
- },
2027
- },
2028
- );
2029
-
2030
- # Auxiliary namespace properties (aux) - not fully documented (ref PH)
2031
- %Image::ExifTool::XMP::aux = (
2032
- %xmpTableDefaults,
2033
- GROUPS => { 1 => 'XMP-aux', 2 => 'Camera' },
2034
- NAMESPACE => 'aux',
2035
- NOTES => q{
2036
- Adobe-defined auxiliary EXIF tags. This namespace existed in the XMP
2037
- specification until it was dropped in 2012, presumably due to the
2038
- introduction of the EXIF 2.3 for XMP specification and the exifEX namespace
2039
- at this time. For this reason, tags below with equivalents in the
2040
- L<exifEX namespace|/XMP exifEX Tags> are avoided when writing.
2041
- },
2042
- Firmware => { }, #7
2043
- FlashCompensation => { Writable => 'rational' }, #7
2044
- ImageNumber => { }, #7
2045
- LensInfo => { #7
2046
- Notes => '4 rational values giving focal and aperture ranges',
2047
- Avoid => 1,
2048
- # convert to floating point values (or 'inf' or 'undef')
2049
- ValueConv => \&ConvertRationalList,
2050
- ValueConvInv => sub {
2051
- my $val = shift;
2052
- my @vals = split ' ', $val;
2053
- return $val unless @vals == 4;
2054
- foreach (@vals) {
2055
- $_ eq 'inf' and $_ = '1/0', next;
2056
- $_ eq 'undef' and $_ = '0/0', next;
2057
- Image::ExifTool::IsFloat($_) or return $val;
2058
- my @a = Image::ExifTool::Rationalize($_);
2059
- $_ = join '/', @a;
2060
- }
2061
- return join ' ', @vals; # return string (string tag)
2062
- },
2063
- # convert to the form "12-20mm f/3.8-4.5" or "50mm f/1.4"
2064
- PrintConv => \&Image::ExifTool::Exif::PrintLensInfo,
2065
- PrintConvInv => \&Image::ExifTool::Exif::ConvertLensInfo,
2066
- },
2067
- Lens => { },
2068
- OwnerName => { Avoid => 1 }, #7
2069
- SerialNumber => { Avoid => 1 },
2070
- LensSerialNumber=> { Avoid => 1 },
2071
- LensID => {
2072
- Priority => 0,
2073
- # prevent this from getting set from a LensID that has been converted
2074
- ValueConvInv => q{
2075
- warn "Expected one or more integer values" if $val =~ /[^\d ]/;
2076
- return $val;
2077
- },
2078
- },
2079
- ApproximateFocusDistance => { Writable => 'rational' }, #PH (LR3)
2080
- # the following new in LR6 (ref forum6497)
2081
- IsMergedPanorama => { Writable => 'boolean' },
2082
- IsMergedHDR => { Writable => 'boolean' },
2083
- DistortionCorrectionAlreadyApplied => { Writable => 'boolean' },
2084
- VignetteCorrectionAlreadyApplied => { Writable => 'boolean' },
2085
- LateralChromaticAberrationCorrectionAlreadyApplied => { Writable => 'boolean' },
2086
- );
2087
-
2088
- # IPTC Core namespace properties (Iptc4xmpCore) (ref 4)
2089
- %Image::ExifTool::XMP::iptcCore = (
2090
- %xmpTableDefaults,
2091
- GROUPS => { 1 => 'XMP-iptcCore', 2 => 'Author' },
2092
- NAMESPACE => 'Iptc4xmpCore',
2093
- TABLE_DESC => 'XMP IPTC Core',
2094
- NOTES => q{
2095
- IPTC Core namespace tags. The actual IPTC Core namespace prefix is
2096
- "Iptc4xmpCore", which is the prefix recorded in the file, but ExifTool
2097
- shortens this for the "XMP-iptcCore" family 1 group name. (see
2098
- L<http://www.iptc.org/IPTC4XMP/>)
2099
- },
2100
- CountryCode => { Groups => { 2 => 'Location' } },
2101
- CreatorContactInfo => {
2102
- Struct => {
2103
- STRUCT_NAME => 'ContactInfo',
2104
- NAMESPACE => 'Iptc4xmpCore',
2105
- CiAdrCity => { },
2106
- CiAdrCtry => { },
2107
- CiAdrExtadr => { },
2108
- CiAdrPcode => { },
2109
- CiAdrRegion => { },
2110
- CiEmailWork => { },
2111
- CiTelWork => { },
2112
- CiUrlWork => { },
2113
- },
2114
- },
2115
- CreatorContactInfoCiAdrCity => { Flat => 1, Name => 'CreatorCity' },
2116
- CreatorContactInfoCiAdrCtry => { Flat => 1, Name => 'CreatorCountry' },
2117
- CreatorContactInfoCiAdrExtadr => { Flat => 1, Name => 'CreatorAddress' },
2118
- CreatorContactInfoCiAdrPcode => { Flat => 1, Name => 'CreatorPostalCode' },
2119
- CreatorContactInfoCiAdrRegion => { Flat => 1, Name => 'CreatorRegion' },
2120
- CreatorContactInfoCiEmailWork => { Flat => 1, Name => 'CreatorWorkEmail' },
2121
- CreatorContactInfoCiTelWork => { Flat => 1, Name => 'CreatorWorkTelephone' },
2122
- CreatorContactInfoCiUrlWork => { Flat => 1, Name => 'CreatorWorkURL' },
2123
- IntellectualGenre => { Groups => { 2 => 'Other' } },
2124
- Location => { Groups => { 2 => 'Location' } },
2125
- Scene => { Groups => { 2 => 'Other' }, List => 'Bag' },
2126
- SubjectCode => { Groups => { 2 => 'Other' }, List => 'Bag' },
2127
- );
2128
-
2129
- # IPTC Extension namespace properties (Iptc4xmpExt) (ref 4)
2130
- %Image::ExifTool::XMP::iptcExt = (
2131
- %xmpTableDefaults,
2132
- GROUPS => { 1 => 'XMP-iptcExt', 2 => 'Author' },
2133
- NAMESPACE => 'Iptc4xmpExt',
2134
- TABLE_DESC => 'XMP IPTC Extension',
2135
- NOTES => q{
2136
- IPTC Extension namespace tags. The actual namespace prefix is
2137
- "Iptc4xmpExt", but ExifTool shortens this for the "XMP-iptcExt" family 1
2138
- group name. (see L<http://www.iptc.org/IPTC4XMP/>)
2139
- },
2140
- AboutCvTerm => {
2141
- Struct => \%sCVTermDetails,
2142
- List => 'Bag',
2143
- },
2144
- AboutCvTermCvId => { Flat => 1, Name => 'AboutCvTermCvId' },
2145
- AboutCvTermCvTermId => { Flat => 1, Name => 'AboutCvTermId' },
2146
- AboutCvTermCvTermName => { Flat => 1, Name => 'AboutCvTermName' },
2147
- AboutCvTermCvTermRefinedAbout => { Flat => 1, Name => 'AboutCvTermRefinedAbout' },
2148
- AddlModelInfo => { Name => 'AdditionalModelInformation' },
2149
- ArtworkOrObject => {
2150
- Struct => {
2151
- STRUCT_NAME => 'ArtworkOrObjectDetails',
2152
- NAMESPACE => 'Iptc4xmpExt',
2153
- AOCopyrightNotice => { },
2154
- AOCreator => { List => 'Seq' },
2155
- AODateCreated=> { Groups => { 2 => 'Time' }, %dateTimeInfo },
2156
- AOSource => { },
2157
- AOSourceInvNo=> { },
2158
- AOTitle => { Writable => 'lang-alt' },
2159
- AOCurrentCopyrightOwnerName => { },
2160
- AOCurrentCopyrightOwnerId => { },
2161
- AOCurrentLicensorName => { },
2162
- AOCurrentLicensorId => { },
2163
- AOCreatorId => { List => 'Seq' },
2164
- AOCircaDateCreated => { },
2165
- AOStylePeriod => { List => 'Bag' },
2166
- AOSourceInvURL => { },
2167
- AOContentDescription => { Writable => 'lang-alt' },
2168
- AOContributionDescription => { Writable => 'lang-alt' },
2169
- AOPhysicalDescription => { Writable => 'lang-alt' },
2170
- },
2171
- List => 'Bag',
2172
- },
2173
- ArtworkOrObjectAOCopyrightNotice => { Flat => 1, Name => 'ArtworkCopyrightNotice' },
2174
- ArtworkOrObjectAOCreator => { Flat => 1, Name => 'ArtworkCreator' },
2175
- ArtworkOrObjectAODateCreated => { Flat => 1, Name => 'ArtworkDateCreated' },
2176
- ArtworkOrObjectAOSource => { Flat => 1, Name => 'ArtworkSource' },
2177
- ArtworkOrObjectAOSourceInvNo => { Flat => 1, Name => 'ArtworkSourceInventoryNo' },
2178
- ArtworkOrObjectAOTitle => { Flat => 1, Name => 'ArtworkTitle' },
2179
- ArtworkOrObjectAOCurrentCopyrightOwnerName => { Flat => 1, Name => 'ArtworkCopyrightOwnerName' },
2180
- ArtworkOrObjectAOCurrentCopyrightOwnerId => { Flat => 1, Name => 'ArtworkCopyrightOwnerID' },
2181
- ArtworkOrObjectAOCurrentLicensorName => { Flat => 1, Name => 'ArtworkLicensorName' },
2182
- ArtworkOrObjectAOCurrentLicensorId => { Flat => 1, Name => 'ArtworkLicensorID' },
2183
- ArtworkOrObjectAOCreatorId => { Flat => 1, Name => 'ArtworkCreatorID' },
2184
- ArtworkOrObjectAOCircaDateCreated => { Flat => 1, Name => 'ArtworkCircaDateCreated' },
2185
- ArtworkOrObjectAOStylePeriod => { Flat => 1, Name => 'ArtworkStylePeriod' },
2186
- ArtworkOrObjectAOSourceInvURL => { Flat => 1, Name => 'ArtworkSourceInvURL' },
2187
- ArtworkOrObjectAOContentDescription => { Flat => 1, Name => 'ArtworkSContentDescription' },
2188
- ArtworkOrObjectAOContributionDescription => { Flat => 1, Name => 'ArtworkContributionDescription' },
2189
- ArtworkOrObjectAOPhysicalDescription => { Flat => 1, Name => 'ArtworkPhysicalDescription' },
2190
- CVterm => {
2191
- Name => 'ControlledVocabularyTerm',
2192
- List => 'Bag',
2193
- Notes => 'deprecated by version 1.2',
2194
- },
2195
- DigImageGUID => { Name => 'DigitalImageGUID' },
2196
- DigitalSourcefileType => {
2197
- Name => 'DigitalSourceFileType',
2198
- Notes => 'now deprecated -- replaced by DigitalSourceType',
2199
- },
2200
- DigitalSourceType => { Name => 'DigitalSourceType' },
2201
- EmbdEncRightsExpr => {
2202
- Struct => {
2203
- STRUCT_NAME => 'EEREDetails',
2204
- NAMESPACE => 'Iptc4xmpExt',
2205
- EncRightsExpr => { },
2206
- RightsExprEncType => { },
2207
- RightsExprLangId => { },
2208
- },
2209
- List => 'Bag',
2210
- },
2211
- EmbdEncRightsExprEncRightsExpr => { Flat => 1, Name => 'EmbeddedEncodedRightsExpr' },
2212
- EmbdEncRightsExprRightsExprEncType => { Flat => 1, Name => 'EmbeddedEncodedRightsExprType' },
2213
- EmbdEncRightsExprRightsExprLangId => { Flat => 1, Name => 'EmbeddedEncodedRightsExprLangID' },
2214
- Event => { Writable => 'lang-alt' },
2215
- IptcLastEdited => {
2216
- Name => 'IPTCLastEdited',
2217
- Groups => { 2 => 'Time' },
2218
- %dateTimeInfo,
2219
- },
2220
- LinkedEncRightsExpr => {
2221
- Struct => {
2222
- STRUCT_NAME => 'LEREDetails',
2223
- NAMESPACE => 'Iptc4xmpExt',
2224
- LinkedRightsExpr => { },
2225
- RightsExprEncType => { },
2226
- RightsExprLangId => { },
2227
- },
2228
- List => 'Bag',
2229
- },
2230
- LinkedEncRightsExprLinkedRightsExpr => { Flat => 1, Name => 'LinkedEncodedRightsExpr' },
2231
- LinkedEncRightsExprRightsExprEncType => { Flat => 1, Name => 'LinkedEncodedRightsExprType' },
2232
- LinkedEncRightsExprRightsExprLangId => { Flat => 1, Name => 'LinkedEncodedRightsExprLangID' },
2233
- LocationCreated => {
2234
- Struct => \%sLocationDetails,
2235
- Groups => { 2 => 'Location' },
2236
- List => 'Bag',
2237
- },
2238
- LocationShown => {
2239
- Struct => \%sLocationDetails,
2240
- Groups => { 2 => 'Location' },
2241
- List => 'Bag',
2242
- },
2243
- MaxAvailHeight => { Writable => 'integer' },
2244
- MaxAvailWidth => { Writable => 'integer' },
2245
- ModelAge => { List => 'Bag', Writable => 'integer' },
2246
- OrganisationInImageCode => { List => 'Bag' },
2247
- OrganisationInImageName => { List => 'Bag' },
2248
- PersonInImage => { List => 'Bag' },
2249
- PersonInImageWDetails => {
2250
- Struct => {
2251
- STRUCT_NAME => 'PersonDetails',
2252
- NAMESPACE => 'Iptc4xmpExt',
2253
- PersonId => { List => 'Bag' },
2254
- PersonName => { Writable => 'lang-alt' },
2255
- PersonCharacteristic => {
2256
- Struct => \%sCVTermDetails,
2257
- List => 'Bag',
2258
- },
2259
- PersonDescription => { Writable => 'lang-alt' },
2260
- },
2261
- List => 'Bag',
2262
- },
2263
- PersonInImageWDetailsPersonId => { Flat => 1, Name => 'PersonInImageId' },
2264
- PersonInImageWDetailsPersonName => { Flat => 1, Name => 'PersonInImageName' },
2265
- PersonInImageWDetailsPersonCharacteristic => { Flat => 1, Name => 'PersonInImageCharacteristic' },
2266
- PersonInImageWDetailsPersonCharacteristicCvId => { Flat => 1, Name => 'PersonInImageCvTermCvId' },
2267
- PersonInImageWDetailsPersonCharacteristicCvTermId => { Flat => 1, Name => 'PersonInImageCvTermId' },
2268
- PersonInImageWDetailsPersonCharacteristicCvTermName => { Flat => 1, Name => 'PersonInImageCvTermName' },
2269
- PersonInImageWDetailsPersonCharacteristicCvTermRefinedAbout => { Flat => 1, Name => 'PersonInImageCvTermRefinedAbout' },
2270
- PersonInImageWDetailsPersonDescription => { Flat => 1, Name => 'PersonInImageDescription' },
2271
- ProductInImage => {
2272
- Struct => {
2273
- STRUCT_NAME => 'ProductDetails',
2274
- NAMESPACE => 'Iptc4xmpExt',
2275
- ProductName => { Writable => 'lang-alt' },
2276
- ProductGTIN => { },
2277
- ProductDescription => { Writable => 'lang-alt' },
2278
- },
2279
- List => 'Bag',
2280
- },
2281
- ProductInImageProductName => { Flat => 1, Name => 'ProductInImageName' },
2282
- ProductInImageProductGTIN => { Flat => 1, Name => 'ProductInImageGTIN' },
2283
- ProductInImageProductDescription => { Flat => 1, Name => 'ProductInImageDescription' },
2284
- RegistryId => {
2285
- Name => 'RegistryID',
2286
- Struct => {
2287
- STRUCT_NAME => 'RegistryEntryDetails',
2288
- NAMESPACE => 'Iptc4xmpExt',
2289
- RegItemId => { },
2290
- RegOrgId => { },
2291
- },
2292
- List => 'Bag',
2293
- },
2294
- RegistryIdRegItemId => { Flat => 1, Name => 'RegistryItemID' },
2295
- RegistryIdRegOrgId => { Flat => 1, Name => 'RegistryOrganisationID' },
2296
- );
2297
-
2298
- # Adobe Lightroom namespace properties (lr) (ref PH)
2299
- %Image::ExifTool::XMP::Lightroom = (
2300
- %xmpTableDefaults,
2301
- GROUPS => { 1 => 'XMP-lr', 2 => 'Image' },
2302
- NAMESPACE => 'lr',
2303
- TABLE_DESC => 'XMP Adobe Lightroom',
2304
- NOTES => 'Adobe Lightroom "lr" namespace tags.',
2305
- privateRTKInfo => { },
2306
- hierarchicalSubject => { List => 'Bag' },
2307
- );
2308
-
2309
- # Adobe Album namespace properties (album) (ref PH)
2310
- %Image::ExifTool::XMP::Album = (
2311
- %xmpTableDefaults,
2312
- GROUPS => { 1 => 'XMP-album', 2 => 'Image' },
2313
- NAMESPACE => 'album',
2314
- TABLE_DESC => 'XMP Adobe Album',
2315
- NOTES => 'Adobe Album namespace tags.',
2316
- Notes => { },
2317
- );
2318
-
2319
- # table to add tags in other namespaces
2320
- %Image::ExifTool::XMP::other = (
2321
- GROUPS => { 2 => 'Unknown' },
2322
- LANG_INFO => \&GetLangInfo,
2323
- );
2324
-
2325
- # Composite XMP tags
2326
- %Image::ExifTool::XMP::Composite = (
2327
- # get latitude/logitude reference from XMP lat/long tags
2328
- # (used to set EXIF GPS position from XMP tags)
2329
- GPSLatitudeRef => {
2330
- Require => 'XMP:GPSLatitude',
2331
- ValueConv => q{
2332
- IsFloat($val[0]) and return $val[0] < 0 ? "S" : "N";
2333
- $val[0] =~ /^.*([NS])/;
2334
- return $1;
2335
- },
2336
- PrintConv => {
2337
- N => 'North',
2338
- S => 'South',
2339
- },
2340
- },
2341
- GPSLongitudeRef => {
2342
- Require => 'XMP:GPSLongitude',
2343
- ValueConv => q{
2344
- IsFloat($val[0]) and return $val[0] < 0 ? "W" : "E";
2345
- $val[0] =~ /^.*([EW])/;
2346
- return $1;
2347
- },
2348
- PrintConv => {
2349
- E => 'East',
2350
- W => 'West',
2351
- },
2352
- },
2353
- LensID => {
2354
- Notes => 'attempt to convert numerical XMP-aux:LensID stored by Adobe applications',
2355
- Require => {
2356
- 0 => 'XMP-aux:LensID',
2357
- 1 => 'Make',
2358
- },
2359
- Desire => {
2360
- 2 => 'LensInfo',
2361
- 3 => 'FocalLength',
2362
- 4 => 'LensModel',
2363
- 5 => 'MaxApertureValue',
2364
- },
2365
- Inhibit => {
2366
- 6 => 'Composite:LensID', # don't override existing Composite:LensID
2367
- },
2368
- ValueConv => '$val',
2369
- PrintConv => 'Image::ExifTool::XMP::PrintLensID($self, @val)',
2370
- },
2371
- Flash => {
2372
- Notes => 'facilitates copying camera flash information between XMP and EXIF',
2373
- Desire => {
2374
- 0 => 'XMP:FlashFired',
2375
- 1 => 'XMP:FlashReturn',
2376
- 2 => 'XMP:FlashMode',
2377
- 3 => 'XMP:FlashFunction',
2378
- 4 => 'XMP:FlashRedEyeMode',
2379
- 5 => 'XMP:Flash', # handle structured flash information too
2380
- },
2381
- Writable => 1,
2382
- PrintHex => 1,
2383
- SeparateTable => 'EXIF Flash',
2384
- ValueConv => q{
2385
- if (ref $val[5] eq 'HASH') {
2386
- # copy structure fields into value array
2387
- my $i = 0;
2388
- $val[$i++] = $val[5]{$_} foreach qw(Fired Return Mode Function RedEyeMode);
2389
- }
2390
- return (($val[0] and lc($val[0]) eq 'true') ? 0x01 : 0) |
2391
- (($val[1] || 0) << 1) |
2392
- (($val[2] || 0) << 3) |
2393
- (($val[3] and lc($val[3]) eq 'true') ? 0x20 : 0) |
2394
- (($val[4] and lc($val[4]) eq 'true') ? 0x40 : 0);
2395
- },
2396
- PrintConv => \%Image::ExifTool::Exif::flash,
2397
- WriteAlso => {
2398
- 'XMP:FlashFired' => '$val & 0x01 ? "True" : "False"',
2399
- 'XMP:FlashReturn' => '($val & 0x06) >> 1',
2400
- 'XMP:FlashMode' => '($val & 0x18) >> 3',
2401
- 'XMP:FlashFunction' => '$val & 0x20 ? "True" : "False"',
2402
- 'XMP:FlashRedEyeMode' => '$val & 0x40 ? "True" : "False"',
2403
- },
2404
- },
2405
- );
2406
-
2407
- # add our composite tags
2408
- Image::ExifTool::AddCompositeTags('Image::ExifTool::XMP');
2409
-
2410
- #------------------------------------------------------------------------------
2411
- # AutoLoad our writer routines when necessary
2412
- #
2413
- sub AUTOLOAD
2414
- {
2415
- return Image::ExifTool::DoAutoLoad($AUTOLOAD, @_);
2416
- }
2417
-
2418
- #------------------------------------------------------------------------------
2419
- # Escape necessary XML characters in UTF-8 string
2420
- # Inputs: 0) string to be escaped
2421
- # Returns: escaped string
2422
- my %charName = ('"'=>'quot', '&'=>'amp', "'"=>'#39', '<'=>'lt', '>'=>'gt');
2423
- sub EscapeXML($)
2424
- {
2425
- my $str = shift;
2426
- $str =~ s/([&><'"])/&$charName{$1};/sg; # escape necessary XML characters
2427
- return $str;
2428
- }
2429
-
2430
- #------------------------------------------------------------------------------
2431
- # Unescape XML character references (entities and numerical)
2432
- # Inputs: 0) string to be unescaped
2433
- # 1) optional hash reference to convert entity names to numbers
2434
- # Returns: unescaped string
2435
- my %charNum = ('quot'=>34, 'amp'=>38, 'apos'=>39, 'lt'=>60, 'gt'=>62);
2436
- sub UnescapeXML($;$)
2437
- {
2438
- my ($str, $conv) = @_;
2439
- $conv = \%charNum unless $conv;
2440
- $str =~ s/&(#?\w+);/UnescapeChar($1,$conv)/sge;
2441
- return $str;
2442
- }
2443
-
2444
- #------------------------------------------------------------------------------
2445
- # Escape string for XML, ensuring valid XML and UTF-8
2446
- # Inputs: 0) string
2447
- # Returns: escaped string
2448
- sub FullEscapeXML($)
2449
- {
2450
- my $str = shift;
2451
- $str =~ s/([&><'"])/&$charName{$1};/sg; # escape necessary XML characters
2452
- $str =~ s/\\/&#92;/sg; # escape backslashes too
2453
- # then use C-escape sequences for invalid characters
2454
- if ($str =~ /[\0-\x1f]/ or IsUTF8(\$str) < 0) {
2455
- $str =~ s/([\0-\x1f\x80-\xff])/sprintf("\\x%.2x",ord $1)/sge;
2456
- }
2457
- return $str;
2458
- }
2459
-
2460
- #------------------------------------------------------------------------------
2461
- # Unescape XML/C escaped string
2462
- # Inputs: 0) string
2463
- # Returns: unescaped string
2464
- sub FullUnescapeXML($)
2465
- {
2466
- my $str = shift;
2467
- # unescape C escape sequences first
2468
- $str =~ s/\\x([\da-f]{2})/chr(hex($1))/sge;
2469
- my $conv = \%charNum;
2470
- $str =~ s/&(#?\w+);/UnescapeChar($1,$conv)/sge;
2471
- return $str;
2472
- }
2473
-
2474
- #------------------------------------------------------------------------------
2475
- # Convert XML character reference to UTF-8
2476
- # Inputs: 0) XML character reference stripped of the '&' and ';' (eg. 'quot', '#34', '#x22')
2477
- # 1) hash reference for looking up character numbers by name
2478
- # Returns: UTF-8 equivalent (or original character on conversion error)
2479
- sub UnescapeChar($$)
2480
- {
2481
- my ($ch, $conv) = @_;
2482
- my $val = $$conv{$ch};
2483
- unless (defined $val) {
2484
- if ($ch =~ /^#x([0-9a-fA-F]+)$/) {
2485
- $val = hex($1);
2486
- } elsif ($ch =~ /^#(\d+)$/) {
2487
- $val = $1;
2488
- } else {
2489
- return "&$ch;"; # should issue a warning here? [no]
2490
- }
2491
- }
2492
- return chr($val) if $val < 0x80; # simple ASCII
2493
- return pack('C0U', $val) if $] >= 5.006001;
2494
- return Image::ExifTool::PackUTF8($val);
2495
- }
2496
-
2497
- #------------------------------------------------------------------------------
2498
- # Does a string contain valid UTF-8 characters?
2499
- # Inputs: 0) string reference
2500
- # Returns: 0=regular ASCII, -1=invalid UTF-8, 1=valid UTF-8 with maximum 16-bit
2501
- # wide characters, 2=valid UTF-8 requiring 32-bit wide characters
2502
- # Notes: Changes current string position
2503
- # (see http://www.fileformat.info/info/unicode/utf8.htm for help understanding this)
2504
- sub IsUTF8($)
2505
- {
2506
- my $strPt = shift;
2507
- pos($$strPt) = 0; # start at beginning of string
2508
- return 0 unless $$strPt =~ /([\x80-\xff])/g;
2509
- my $rtnVal = 1;
2510
- for (;;) {
2511
- my $ch = ord($1);
2512
- # minimum lead byte for 2-byte sequence is 0xc2 (overlong sequences
2513
- # not allowed), 0xf8-0xfd are restricted by RFC 3629 (no 5 or 6 byte
2514
- # sequences), and 0xfe and 0xff are not valid in UTF-8 strings
2515
- return -1 if $ch < 0xc2 or $ch >= 0xf8;
2516
- # determine number of bytes remaining in sequence
2517
- my $n;
2518
- if ($ch < 0xe0) {
2519
- $n = 1;
2520
- } elsif ($ch < 0xf0) {
2521
- $n = 2;
2522
- } else {
2523
- $n = 3;
2524
- # character code is greater than 0xffff if more than 2 extra bytes
2525
- # were required in the UTF-8 character
2526
- $rtnVal = 2;
2527
- }
2528
- return -1 unless $$strPt =~ /\G[\x80-\xbf]{$n}/g;
2529
- last unless $$strPt =~ /([\x80-\xff])/g;
2530
- }
2531
- return $rtnVal;
2532
- }
2533
-
2534
- #------------------------------------------------------------------------------
2535
- # Fix malformed UTF8 (by replacing bad bytes with '?')
2536
- # Inputs: 0) string reference
2537
- # Returns: true if string was fixed, and updates string
2538
- sub FixUTF8($)
2539
- {
2540
- my $strPt = shift;
2541
- my $fixed;
2542
- pos($$strPt) = 0; # start at beginning of string
2543
- for (;;) {
2544
- last unless $$strPt =~ /([\x80-\xff])/g;
2545
- my $ch = ord($1);
2546
- my $pos = pos($$strPt);
2547
- # (see comments in IsUTF8() above)
2548
- if ($ch >= 0xc2 and $ch < 0xf8) {
2549
- my $n = $ch < 0xe0 ? 1 : ($ch < 0xf0 ? 2 : 3);
2550
- next if $$strPt =~ /\G[\x80-\xbf]{$n}/g;
2551
- }
2552
- # replace bad character with '?'
2553
- substr($$strPt, $pos-1, 1) = '?';
2554
- pos($$strPt) = $fixed = $pos;
2555
- }
2556
- return $fixed;
2557
- }
2558
-
2559
- #------------------------------------------------------------------------------
2560
- # Utility routine to decode a base64 string
2561
- # Inputs: 0) base64 string
2562
- # Returns: reference to decoded data
2563
- sub DecodeBase64($)
2564
- {
2565
- local($^W) = 0; # unpack('u',...) gives bogus warning in 5.00[123]
2566
- my $str = shift;
2567
-
2568
- # truncate at first unrecognized character (base 64 data
2569
- # may only contain A-Z, a-z, 0-9, +, /, =, or white space)
2570
- $str =~ s/[^A-Za-z0-9+\/= \t\n\r\f].*//s;
2571
- # translate to uucoded and remove padding and white space
2572
- $str =~ tr/A-Za-z0-9+\/= \t\n\r\f/ -_/d;
2573
-
2574
- # convert the data to binary in chunks
2575
- my $chunkSize = 60;
2576
- my $uuLen = pack('c', 32 + $chunkSize * 3 / 4); # calculate length byte
2577
- my $dat = '';
2578
- my ($i, $substr);
2579
- # loop through the whole chunks
2580
- my $len = length($str) - $chunkSize;
2581
- for ($i=0; $i<=$len; $i+=$chunkSize) {
2582
- $substr = substr($str, $i, $chunkSize); # get a chunk of the data
2583
- $dat .= unpack('u', $uuLen . $substr); # decode it
2584
- }
2585
- $len += $chunkSize;
2586
- # handle last partial chunk if necessary
2587
- if ($i < $len) {
2588
- $uuLen = pack('c', 32 + ($len-$i) * 3 / 4); # recalculate length
2589
- $substr = substr($str, $i, $len-$i); # get the last partial chunk
2590
- $dat .= unpack('u', $uuLen . $substr); # decode it
2591
- }
2592
- return \$dat;
2593
- }
2594
-
2595
- #------------------------------------------------------------------------------
2596
- # Generate a tag ID for this XMP tag
2597
- # Inputs: 0) tag property name list ref, 1) array ref for receiving structure property list
2598
- # 2) array for receiving namespace list
2599
- # Returns: tagID and outtermost interesting namespace (or '' if no namespace)
2600
- sub GetXMPTagID($;$$)
2601
- {
2602
- my ($props, $structProps, $nsList) = @_;
2603
- my ($tag, $prop, $namespace);
2604
- foreach $prop (@$props) {
2605
- # split name into namespace and property name
2606
- # (Note: namespace can be '' for property qualifiers)
2607
- my ($ns, $nm) = ($prop =~ /(.*?):(.*)/) ? ($1, $2) : ('', $prop);
2608
- if ($ignoreNamespace{$ns} or $ignoreProp{$prop}) {
2609
- # special case: don't ignore rdf numbered items
2610
- unless ($prop =~ /^rdf:(_\d+)$/) {
2611
- # save list index if necessary for structures
2612
- if ($structProps and @$structProps and $prop =~ /^rdf:li (\d+)$/) {
2613
- push @{$$structProps[-1]}, $1;
2614
- }
2615
- next;
2616
- }
2617
- $tag .= $1 if defined $tag;
2618
- } else {
2619
- $nm =~ s/ .*//; # remove nodeID if it exists
2620
- # all uppercase is ugly, so convert it
2621
- if ($nm !~ /[a-z]/) {
2622
- my $xlat = $stdXlatNS{$ns} || $ns;
2623
- my $info = $Image::ExifTool::XMP::Main{$xlat};
2624
- my $table;
2625
- if (ref $info eq 'HASH' and $$info{SubDirectory}) {
2626
- $table = GetTagTable($$info{SubDirectory}{TagTable});
2627
- }
2628
- unless ($table and $$table{$nm}) {
2629
- $nm = lc($nm);
2630
- $nm =~ s/_([a-z])/\u$1/g;
2631
- }
2632
- }
2633
- if (defined $tag) {
2634
- $tag .= ucfirst($nm); # add to tag name
2635
- } else {
2636
- $tag = $nm;
2637
- }
2638
- # save structure information if necessary
2639
- if ($structProps) {
2640
- push @$structProps, [ $nm ];
2641
- push @$nsList, $ns if $nsList;
2642
- }
2643
- }
2644
- # save namespace of first property to contribute to tag name
2645
- $namespace = $ns unless $namespace;
2646
- }
2647
- if (wantarray) {
2648
- return ($tag, $namespace || '');
2649
- } else {
2650
- return $tag;
2651
- }
2652
- }
2653
-
2654
- #------------------------------------------------------------------------------
2655
- # Register namespace for specified user-defined table
2656
- # Inputs: 0) tag/structure table ref
2657
- # Returns: namespace prefix
2658
- sub RegisterNamespace($)
2659
- {
2660
- my $table = shift;
2661
- return $$table{NAMESPACE} unless ref $$table{NAMESPACE};
2662
- my $nsRef = $$table{NAMESPACE};
2663
- # recognize as either a list or hash
2664
- my $ns;
2665
- if (ref $nsRef eq 'ARRAY') {
2666
- $ns = $$nsRef[0];
2667
- $nsURI{$ns} = $$nsRef[1];
2668
- $uri2ns{$$nsRef[1]} = $ns;
2669
- } else { # must be a hash
2670
- my @ns = sort keys %$nsRef; # allow multiple namespace definitions
2671
- while (@ns) {
2672
- $ns = pop @ns;
2673
- if ($nsURI{$ns} and $nsURI{$ns} ne $$nsRef{$ns}) {
2674
- warn "User-defined namespace prefix '$ns' conflicts with existing namespace\n";
2675
- }
2676
- $nsURI{$ns} = $$nsRef{$ns};
2677
- $uri2ns{$$nsRef{$ns}} = $ns;
2678
- }
2679
- }
2680
- return $$table{NAMESPACE} = $ns;
2681
- }
2682
-
2683
- #------------------------------------------------------------------------------
2684
- # Generate flattened tags and add to table
2685
- # Inputs: 0) tag table ref, 1) tag ID for Struct tag (if not defined, whole table is done),
2686
- # 2) flag to not expand sub-structures
2687
- # Returns: number of tags added (not counting those just initialized)
2688
- # Notes: Must have verified that $$tagTablePtr{$tagID}{Struct} exists before calling this routine
2689
- # - makes sure that the tagInfo Struct is a HASH reference
2690
- sub AddFlattenedTags($;$$)
2691
- {
2692
- local $_;
2693
- my ($tagTablePtr, $tagID, $noSubStruct) = @_;
2694
- my $count = 0;
2695
- my @tagIDs;
2696
-
2697
- if (defined $tagID) {
2698
- push @tagIDs, $tagID;
2699
- } else {
2700
- foreach $tagID (TagTableKeys($tagTablePtr)) {
2701
- my $tagInfo = $$tagTablePtr{$tagID};
2702
- next unless ref $tagInfo eq 'HASH' and $$tagInfo{Struct};
2703
- push @tagIDs, $tagID;
2704
- }
2705
- }
2706
-
2707
- # loop through specified tags
2708
- foreach $tagID (@tagIDs) {
2709
-
2710
- my $tagInfo = $$tagTablePtr{$tagID};
2711
-
2712
- $$tagInfo{Flattened} and next; # only generate flattened tags once
2713
- $$tagInfo{Flattened} = 1;
2714
-
2715
- my $strTable = $$tagInfo{Struct};
2716
- unless (ref $strTable) { # (allow a structure name for backward compatibility only)
2717
- my $strName = $strTable;
2718
- $strTable = $Image::ExifTool::UserDefined::xmpStruct{$strTable} or next;
2719
- $$strTable{STRUCT_NAME} or $$strTable{STRUCT_NAME} = "XMP $strName";
2720
- $$tagInfo{Struct} = $strTable; # replace old-style name with HASH ref
2721
- delete $$tagInfo{SubDirectory}; # deprecated use of SubDirectory in Struct tags
2722
- }
2723
- # do not add flattened tags to variable-namespace structures
2724
- next if exists $$strTable{NAMESPACE} and not defined $$strTable{NAMESPACE};
2725
-
2726
- # get prefix for flattened tag names
2727
- my $flat = (defined $$tagInfo{FlatName} ? $$tagInfo{FlatName} : $$tagInfo{Name});
2728
-
2729
- # get family 2 group name for this structure tag
2730
- my ($tagG2, $field);
2731
- $tagG2 = $$tagInfo{Groups}{2} if $$tagInfo{Groups};
2732
- $tagG2 or $tagG2 = $$tagTablePtr{GROUPS}{2};
2733
-
2734
- foreach $field (keys %$strTable) {
2735
- next if $specialStruct{$field};
2736
- my $fieldInfo = $$strTable{$field};
2737
- next if $$fieldInfo{LangCode}; # don't flatten lang-alt tags
2738
- next if $$fieldInfo{Struct} and $noSubStruct; # don't expand sub-structures if specified
2739
- # build a tag ID for the corresponding flattened tag
2740
- my $fieldName = ucfirst($field);
2741
- my $flatField = $$fieldInfo{FlatName} || $fieldName;
2742
- my $flatID = $tagID . $fieldName;
2743
- my $flatInfo = $$tagTablePtr{$flatID};
2744
- if ($flatInfo) {
2745
- ref $flatInfo eq 'HASH' or warn("$flatInfo is not a HASH!\n"), next; # (to be safe)
2746
- # pre-defined flattened tags should have Flat flag set
2747
- if (not defined $$flatInfo{Flat} and $Image::ExifTool::debug) {
2748
- warn "Missing Flat flag for $$flatInfo{Name}\n";
2749
- }
2750
- $$flatInfo{Flat} = 0;
2751
- # copy all missing entries from field information
2752
- foreach (keys %$fieldInfo) {
2753
- # must not copy PropertyPath (but can't delete it afterwards
2754
- # because the flat tag may already have this set)
2755
- next if $_ eq 'PropertyPath' or defined $$flatInfo{$_};
2756
- # copy the property (making a copy of the Groups hash)
2757
- $$flatInfo{$_} = $_ eq 'Groups' ? { %{$$fieldInfo{$_}} } : $$fieldInfo{$_};
2758
- }
2759
- # (NOTE: Can NOT delete Groups because we need them if GotGroups was done)
2760
- # re-generate List flag unless it is set to 0
2761
- delete $$flatInfo{List} if $$flatInfo{List};
2762
- } else {
2763
- # generate new flattened tag information based on structure field
2764
- my $flatName = $flat . $flatField;
2765
- $flatInfo = { %$fieldInfo, Name => $flatName, Flat => 0 };
2766
- # make a copy of the Groups hash if necessary
2767
- $$flatInfo{Groups} = { %{$$fieldInfo{Groups}} } if $$fieldInfo{Groups};
2768
- # add new flattened tag to table
2769
- AddTagToTable($tagTablePtr, $flatID, $flatInfo);
2770
- ++$count;
2771
- }
2772
- # propagate List flag (unless set to 0 in pre-defined flattened tag)
2773
- unless (defined $$flatInfo{List}) {
2774
- $$flatInfo{List} = $$fieldInfo{List} || 1 if $$fieldInfo{List} or $$tagInfo{List};
2775
- }
2776
- # set group 2 name from the first existing family 2 group in the:
2777
- # 1) structure field Groups, 2) structure table GROUPS, 3) structure tag Groups
2778
- if ($$fieldInfo{Groups} and $$fieldInfo{Groups}{2}) {
2779
- $$flatInfo{Groups}{2} = $$fieldInfo{Groups}{2};
2780
- } elsif ($$strTable{GROUPS} and $$strTable{GROUPS}{2}) {
2781
- $$flatInfo{Groups}{2} = $$strTable{GROUPS}{2};
2782
- } else {
2783
- $$flatInfo{Groups}{2} = $tagG2;
2784
- }
2785
- # save reference to top-level structure
2786
- $$flatInfo{RootTagInfo} = $$tagInfo{RootTagInfo} || $tagInfo;
2787
- # recursively generate flattened tags for sub-structures
2788
- next unless $$flatInfo{Struct};
2789
- length($flatID) > 250 and warn("Possible deep recursion for tag $flatID\n"), last;
2790
- # reset flattened tag just in case we flattened hierarchy in the wrong order
2791
- # because we must start from the outtermost structure to get the List flags right
2792
- # (this should only happen when building tag tables)
2793
- delete $$flatInfo{Flattened};
2794
- $count += AddFlattenedTags($tagTablePtr, $flatID, $$flatInfo{NoSubStruct});
2795
- }
2796
- }
2797
- return $count;
2798
- }
2799
-
2800
- #------------------------------------------------------------------------------
2801
- # Get localized version of tagInfo hash
2802
- # Inputs: 0) tagInfo hash ref, 1) language code (eg. "x-default")
2803
- # Returns: new tagInfo hash ref, or undef if invalid
2804
- sub GetLangInfo($$)
2805
- {
2806
- my ($tagInfo, $langCode) = @_;
2807
- # only allow alternate language tags in lang-alt lists
2808
- return undef unless $$tagInfo{Writable} and $$tagInfo{Writable} eq 'lang-alt';
2809
- $langCode =~ tr/_/-/; # RFC 3066 specifies '-' as a separator
2810
- my $langInfo = Image::ExifTool::GetLangInfo($tagInfo, $langCode);
2811
- return $langInfo;
2812
- }
2813
-
2814
- #------------------------------------------------------------------------------
2815
- # Get standard case for language code
2816
- # Inputs: 0) Language code
2817
- # Returns: Language code in standard case
2818
- sub StandardLangCase($)
2819
- {
2820
- my $lang = shift;
2821
- # make 2nd subtag uppercase only if it is 2 letters
2822
- return lc($1) . uc($2) . lc($3) if $lang =~ /^([a-z]{2,3}|[xi])(-[a-z]{2})\b(.*)/i;
2823
- return lc($lang);
2824
- }
2825
-
2826
- #------------------------------------------------------------------------------
2827
- # Scan for XMP in a file
2828
- # Inputs: 0) ExifTool object ref, 1) RAF reference
2829
- # Returns: 1 if xmp was found, 0 otherwise
2830
- # Notes: Currently only recognizes UTF8-encoded XMP
2831
- sub ScanForXMP($$)
2832
- {
2833
- my ($et, $raf) = @_;
2834
- my ($buff, $xmp);
2835
- my $lastBuff = '';
2836
-
2837
- $et->VPrint(0,"Scanning for XMP\n");
2838
- for (;;) {
2839
- defined $buff or $raf->Read($buff, 65536) or return 0;
2840
- unless (defined $xmp) {
2841
- $lastBuff .= $buff;
2842
- unless ($lastBuff =~ /(<\?xpacket begin=)/g) {
2843
- # must keep last 15 bytes to match 16-byte "xpacket begin" string
2844
- $lastBuff = length($buff) <= 15 ? $buff : substr($buff, -15);
2845
- undef $buff;
2846
- next;
2847
- }
2848
- $xmp = $1;
2849
- $buff = substr($lastBuff, pos($lastBuff));
2850
- }
2851
- my $pos = length($xmp) - 18; # (18 = length("<?xpacket end...") - 1)
2852
- $xmp .= $buff; # add new data to our XMP
2853
- pos($xmp) = $pos if $pos > 0; # set start for "xpacket end" scan
2854
- if ($xmp =~ /<\?xpacket end=['"][wr]['"]\?>/g) {
2855
- $buff = substr($xmp, pos($xmp)); # save data after end of XMP
2856
- $xmp = substr($xmp, 0, pos($xmp)); # isolate XMP
2857
- # check XMP for validity (not valid if it contains null bytes)
2858
- $pos = rindex($xmp, "\0") + 1 or last;
2859
- $lastBuff = substr($xmp, $pos); # re-parse beginning after last null byte
2860
- undef $xmp;
2861
- } else {
2862
- undef $buff;
2863
- }
2864
- }
2865
- unless ($$et{VALUE}{FileType}) {
2866
- $$et{FILE_TYPE} = $$et{FILE_EXT};
2867
- $et->SetFileType('<unknown file containing XMP>', undef, '');
2868
- }
2869
- my %dirInfo = (
2870
- DataPt => \$xmp,
2871
- DirLen => length $xmp,
2872
- DataLen => length $xmp,
2873
- );
2874
- ProcessXMP($et, \%dirInfo);
2875
- return 1;
2876
- }
2877
-
2878
- #------------------------------------------------------------------------------
2879
- # Print conversion for XMP-aux:LensID
2880
- # Inputs: 0) ExifTool ref, 1) LensID, 2) Make, 3) LensInfo, 4) FocalLength,
2881
- # 5) LensModel, 6) MaxApertureValue
2882
- # (yes, this is ugly -- blame Adobe)
2883
- sub PrintLensID(@)
2884
- {
2885
- local $_;
2886
- my ($et, $id, $make, $info, $focalLength, $lensModel, $maxAv) = @_;
2887
- my ($mk, $printConv);
2888
- my %alt = ( Pentax => 'Ricoh' ); # Pentax changed its name to Ricoh
2889
- # missing: Olympus (no XMP:LensID written by Adobe)
2890
- foreach $mk (qw(Canon Nikon Pentax Sony Sigma Samsung Leica)) {
2891
- next unless $make =~ /$mk/i or ($alt{$mk} and $make =~ /$alt{$mk}/i);
2892
- # get name of module containing the lens lookup (default "Make.pm")
2893
- my $mod = { Sigma => 'SigmaRaw', Leica => 'Panasonic' }->{$mk} || $mk;
2894
- require "Image/ExifTool/$mod.pm";
2895
- # get the name of the lens name lookup (default "makeLensTypes")
2896
- # (canonLensTypes, pentaxLensTypes, nikonLensIDs, etc)
2897
- my $convName = "Image::ExifTool::${mod}::" .
2898
- ({ Nikon => 'nikonLensIDs' }->{$mk} || lc($mk) . 'LensTypes');
2899
- no strict 'refs';
2900
- %$convName or last;
2901
- my $printConv = \%$convName;
2902
- use strict 'refs';
2903
- # sf = short focal
2904
- # lf = long focal
2905
- # sa = max aperture at short focal
2906
- # la = max aperture at long focal
2907
- my ($sf, $lf, $sa, $la);
2908
- if ($info) {
2909
- my @a = split ' ', $info;
2910
- $_ eq 'undef' and $_ = undef foreach @a;
2911
- ($sf, $lf, $sa, $la) = @a;
2912
- # for Sony and ambiguous LensID, $info data may be incorrect:
2913
- # use only if it agrees with $focalLength and $maxAv (ref JR)
2914
- if ($mk eq 'Sony' and
2915
- (($focalLength and (($sf and $focalLength < $sf - 0.5) or
2916
- ($lf and $focalLength > $lf + 0.5))) or
2917
- ($maxAv and (($sa and $maxAv < $sa - 0.15) or
2918
- ($la and $maxAv > $la + 0.15)))))
2919
- {
2920
- undef $sf;
2921
- undef $lf;
2922
- undef $sa;
2923
- undef $la;
2924
- } elsif ($maxAv) {
2925
- # (using the short-focal-length max aperture in place of MaxAperture
2926
- # is a bad approximation, so don't do this if MaxApertureValue exists)
2927
- undef $sa;
2928
- }
2929
- }
2930
- if ($mk eq 'Pentax' and $id =~ /^\d+$/) {
2931
- # for Pentax, CS4 stores an int16u, but we use 2 x int8u
2932
- $id = join(' ', unpack('C*', pack('n', $id)));
2933
- }
2934
- my $str = $$printConv{$id} || "Unknown ($id)";
2935
- # Nikon is a special case because Adobe doesn't store the full LensID
2936
- if ($mk eq 'Nikon') {
2937
- my $hex = sprintf("%.2X", $id);
2938
- my (%newConv, %used);
2939
- my $i = 0;
2940
- foreach (grep /^$hex /, keys %$printConv) {
2941
- my $lens = $$printConv{$_};
2942
- next if $used{$lens}; # avoid duplicates
2943
- $used{$lens} = 1;
2944
- $newConv{$i ? "$id.$i" : $id} = $lens;
2945
- ++$i;
2946
- }
2947
- $printConv = \%newConv;
2948
- }
2949
- return Image::ExifTool::Exif::PrintLensID($et, $str, $printConv,
2950
- undef, $id, $focalLength, $sa, $maxAv, $sf, $lf, $lensModel);
2951
- }
2952
- return "Unknown ($id)";
2953
- }
2954
-
2955
- #------------------------------------------------------------------------------
2956
- # Convert XMP date/time to EXIF format
2957
- # Inputs: 0) XMP date/time string, 1) set if we aren't sure this is a date
2958
- # Returns: EXIF date/time
2959
- sub ConvertXMPDate($;$)
2960
- {
2961
- my ($val, $unsure) = @_;
2962
- if ($val =~ /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}:\d{2})(:\d{2})?\s*(\S*)$/) {
2963
- my $s = $5 || ''; # seconds may be missing
2964
- $val = "$1:$2:$3 $4$s$6"; # convert back to EXIF time format
2965
- } elsif (not $unsure and $val =~ /^(\d{4})(-\d{2}){0,2}/) {
2966
- $val =~ tr/-/:/;
2967
- }
2968
- return $val;
2969
- }
2970
-
2971
- #------------------------------------------------------------------------------
2972
- # Convert rational string value
2973
- # Inputs: 0) string (converted to number, 'inf' or 'undef' on return if rational)
2974
- # Returns: true if value was converted
2975
- sub ConvertRational($)
2976
- {
2977
- my $val = $_[0];
2978
- $val =~ m{^(-?\d+)/(-?\d+)$} or return undef;
2979
- if ($2 != 0) {
2980
- $_[0] = $1 / $2; # calculate quotient
2981
- } elsif ($1) {
2982
- $_[0] = 'inf';
2983
- } else {
2984
- $_[0] = 'undef';
2985
- }
2986
- return 1;
2987
- }
2988
-
2989
- #------------------------------------------------------------------------------
2990
- # Convert a string of floating point values to rationals
2991
- # Inputs: 0) string of floating point numbers separated by spaces
2992
- # Returns: string of rational numbers separated by spaces
2993
- sub ConvertRationalList($)
2994
- {
2995
- my $val = shift;
2996
- my @vals = split ' ', $val;
2997
- return $val unless @vals == 4;
2998
- foreach (@vals) {
2999
- ConvertRational($_) or return $val;
3000
- }
3001
- return join ' ', @vals;
3002
- }
3003
-
3004
- #------------------------------------------------------------------------------
3005
- # We found an XMP property name/value
3006
- # Inputs: 0) ExifTool object ref, 1) Pointer to tag table
3007
- # 2) reference to array of XMP property names (last is current property)
3008
- # 3) property value, 4) attribute hash ref (for 'xml:lang' or 'rdf:datatype')
3009
- # Returns: 1 if valid tag was found
3010
- sub FoundXMP($$$$;$)
3011
- {
3012
- local $_;
3013
- my ($et, $tagTablePtr, $props, $val, $attrs) = @_;
3014
- my ($lang, @structProps, $rawVal, $rational);
3015
- my ($tag, $ns) = GetXMPTagID($props, $$et{OPTIONS}{Struct} ? \@structProps : undef);
3016
- return 0 unless $tag; # ignore things that aren't valid tags
3017
-
3018
- # translate namespace if necessary
3019
- $ns = $stdXlatNS{$ns} if $stdXlatNS{$ns};
3020
- my $info = $$tagTablePtr{$ns};
3021
- my ($table, $added, $xns, $tagID);
3022
- if ($info) {
3023
- $table = $$info{SubDirectory}{TagTable} or warn "Missing TagTable for $tag!\n";
3024
- } elsif ($$props[0] eq 'svg:svg') {
3025
- if (not $ns) {
3026
- # disambiguate MetadataID by adding back the 'metadata' we ignored
3027
- $tag = 'metadataId' if $tag eq 'id' and $$props[1] eq 'svg:metadata';
3028
- # use SVG namespace in SVG files if nothing better to use
3029
- $table = 'Image::ExifTool::XMP::SVG';
3030
- } elsif (not grep /^rdf:/, @$props) {
3031
- # only other SVG information if not inside RDF (call it XMP if in RDF)
3032
- $table = 'Image::ExifTool::XMP::otherSVG';
3033
- }
3034
- }
3035
-
3036
- if (not $ns and $$tagTablePtr{GROUPS}{0} ne 'XMP') {
3037
- # this is a simple XML table (no namespaces)
3038
- $tagID = $tag;
3039
- } else {
3040
- # look up this tag in the appropriate table
3041
- $table or $table = 'Image::ExifTool::XMP::other';
3042
- $tagTablePtr = GetTagTable($table);
3043
- if ($$tagTablePtr{NAMESPACE}) {
3044
- $tagID = $tag;
3045
- } else {
3046
- # add XMP namespace prefix to avoid collisions in variable-namespace tables
3047
- $xns = $xmpNS{$ns} || $ns;
3048
- $tagID = "$xns:$tag";
3049
- # add namespace to top-level structure property
3050
- $structProps[0][0] = "$xns:" . $structProps[0][0] if @structProps;
3051
- }
3052
- }
3053
- my $tagInfo = $et->GetTagInfo($tagTablePtr, $tagID);
3054
-
3055
- $lang = $$attrs{'xml:lang'} if $attrs;
3056
-
3057
- # must add a new tag table entry if this tag isn't pre-defined
3058
- # (or initialize from structure field if this is a pre-defined flattened tag)
3059
- NoLoop:
3060
- while (not $tagInfo or $$tagInfo{Flat}) {
3061
- my (@tagList, @nsList);
3062
- GetXMPTagID($props, \@tagList, \@nsList);
3063
- my ($ta, $t, $ti, $addedFlat, $i, $j);
3064
- # build tag ID strings for each level in the property path
3065
- foreach $ta (@tagList) {
3066
- # insert tag ID in index 1 of tagList list
3067
- $t = $$ta[1] = $t ? $t . ucfirst($$ta[0]) : $$ta[0];
3068
- # generate flattened tags for top-level structure if necessary
3069
- next if defined $addedFlat;
3070
- $ti = $$tagTablePtr{$t} or next;
3071
- next unless ref $ti eq 'HASH' and $$ti{Struct};
3072
- $addedFlat = AddFlattenedTags($tagTablePtr, $t);
3073
- if ($tagInfo) {
3074
- # all done if we just wanted to initialize the flattened tag
3075
- if ($$tagInfo{Flat}) {
3076
- warn "Orphan tagInfo with Flat flag set: $$tagInfo{Name}\n";
3077
- delete $$tagInfo{Flat};
3078
- }
3079
- last NoLoop;
3080
- }
3081
- # all done if we generated the tag we are looking for
3082
- $tagInfo = $$tagTablePtr{$tagID} and last NoLoop if $addedFlat;
3083
- }
3084
- my $name = ucfirst($tag);
3085
-
3086
- # search for the innermost containing structure
3087
- # (in case tag is an unknown field in a known structure)
3088
- # (only necessary if we found a structure above)
3089
- if (defined $addedFlat) {
3090
- my $t2 = '';
3091
- for ($i=$#tagList-1; $i>=0; --$i) {
3092
- $t = $tagList[$i][1];
3093
- $t2 = $tagList[$i+1][0] . ucfirst($t2); # build relative tag id
3094
- $ti = $$tagTablePtr{$t} or next;
3095
- next unless ref $ti eq 'HASH';
3096
- my $strTable = $$ti{Struct} or next;
3097
- my $flat = (defined $$ti{FlatName} ? $$ti{FlatName} : $$ti{Name});
3098
- $name = $flat . ucfirst($t2);
3099
- # don't continue if structure is known but field is not
3100
- last if $$strTable{NAMESPACE} or not exists $$strTable{NAMESPACE};
3101
- # this is a variable-namespace structure, so we must:
3102
- # 1) get tagInfo from corresponding top-level XMP tag if it exists
3103
- # 2) add new entry in this tag table, but with namespace prefix on tag ID
3104
- my $n = $nsList[$i+1]; # namespace of structure field
3105
- # translate to standard ExifTool namespace
3106
- $n = $stdXlatNS{$n} if $stdXlatNS{$n};
3107
- my $xn = $xmpNS{$n} || $n; # standard XMP namespace
3108
- # no need to continue with variable-namespace logic if
3109
- # we are in our own namespace (right?)
3110
- last if $xn eq ($$tagTablePtr{NAMESPACE} || '');
3111
- $tagID = "$xn:$tag"; # add namespace to avoid collisions
3112
- # change structure properties to add the standard XMP namespace
3113
- # prefix for this field (needed for variable-namespace fields)
3114
- if (@structProps) {
3115
- $structProps[$i+1][0] = "$xn:" . $structProps[$i+1][0];
3116
- }
3117
- # copy tagInfo entries from the existing top-level XMP tag
3118
- my $tg = $Image::ExifTool::XMP::Main{$n};
3119
- last unless ref $tg eq 'HASH' and $$tg{SubDirectory};
3120
- my $tbl = GetTagTable($$tg{SubDirectory}{TagTable}) or last;
3121
- my $sti = $et->GetTagInfo($tbl, $t2);
3122
- if (not $sti or $$sti{Flat}) {
3123
- # again, we must initialize flattened tags if necessary
3124
- # (but don't bother to recursively apply full logic to
3125
- # allow nested variable-namespace strucures until someone
3126
- # actually wants to do such a silly thing)
3127
- my $t3 = '';
3128
- for ($j=$i+1; $j<@tagList; ++$j) {
3129
- $t3 = $tagList[$j][0] . ucfirst($t3);
3130
- my $ti3 = $$tbl{$t3} or next;
3131
- next unless ref $ti3 eq 'HASH' and $$ti3{Struct};
3132
- last unless AddFlattenedTags($tbl, $t3);
3133
- $sti = $$tbl{$t2};
3134
- last;
3135
- }
3136
- last unless $sti;
3137
- }
3138
- $tagInfo = {
3139
- %$sti,
3140
- Name => $flat . $$sti{Name},
3141
- WasAdded => 1,
3142
- };
3143
- # be careful not to copy elements we shouldn't...
3144
- delete $$tagInfo{Description}; # Description will be different
3145
- # can't copy group hash because group 1 will be different and
3146
- # we need to check this when writing tag to a specific group
3147
- delete $$tagInfo{Groups};
3148
- $$tagInfo{Groups}{2} = $$sti{Groups}{2} if $$sti{Groups};
3149
- last;
3150
- }
3151
- }
3152
- $tagInfo or $tagInfo = { Name => $name, WasAdded => 1 };
3153
-
3154
- # add tag Namespace entry for tags in variable-namespace tables
3155
- $$tagInfo{Namespace} = $xns if $xns;
3156
- if ($$et{curURI}{$ns} and $$et{curURI}{$ns} =~ m{^http://ns.exiftool.ca/(.*?)/(.*?)/}) {
3157
- my %grps = ( 0 => $1, 1 => $2 );
3158
- # apply a little magic to recover original group names
3159
- # from this exiftool-written RDF/XML file
3160
- if ($grps{1} =~ /^\d/) {
3161
- # URI's with only family 0 are internal tags from the source file,
3162
- # so change the group name to avoid confusion with tags from this file
3163
- $grps{1} = "XML-$grps{0}";
3164
- $grps{0} = 'XML';
3165
- }
3166
- $$tagInfo{Groups} = \%grps;
3167
- # flag to avoid setting group 1 later
3168
- $$tagInfo{StaticGroup1} = 1;
3169
- }
3170
- # construct tag information for this unknown tag
3171
- # -> make this a List or lang-alt tag if necessary
3172
- if (@$props > 2 and $$props[-1] =~ /^rdf:li \d+$/ and
3173
- $$props[-2] =~ /^rdf:(Bag|Seq|Alt)$/)
3174
- {
3175
- if ($lang and $1 eq 'Alt') {
3176
- $$tagInfo{Writable} = 'lang-alt';
3177
- } else {
3178
- $$tagInfo{List} = $1;
3179
- }
3180
- # tried this, but maybe not a good idea for complex structures:
3181
- #} elsif (grep / /, @$props) {
3182
- # $$tagInfo{List} = 1;
3183
- }
3184
- AddTagToTable($tagTablePtr, $tagID, $tagInfo);
3185
- $added = 1;
3186
- last;
3187
- }
3188
- # decode value if necessary (et:encoding was used before exiftool 7.71)
3189
- if ($attrs) {
3190
- my $enc = $$attrs{'rdf:datatype'} || $$attrs{'et:encoding'};
3191
- if ($enc and $enc =~ /base64/) {
3192
- $val = DecodeBase64($val); # (now a value ref)
3193
- $val = $$val unless length $$val > 100 or $$val =~ /[\0-\x08\x0b\0x0c\x0e-\x1f]/;
3194
- }
3195
- }
3196
- if (defined $lang and lc($lang) ne 'x-default') {
3197
- $lang = StandardLangCase($lang);
3198
- my $langInfo = GetLangInfo($tagInfo, $lang);
3199
- $tagInfo = $langInfo if $langInfo;
3200
- }
3201
- # un-escape XML character entities (handling CDATA)
3202
- pos($val) = 0;
3203
- if ($val =~ /<!\[CDATA\[(.*?)\]\]>/sg) {
3204
- my $p = pos $val;
3205
- # unescape everything up to the start of the CDATA section
3206
- # (the length of "<[[CDATA[]]>" is 12 characters)
3207
- my $v = UnescapeXML(substr($val, 0, $p - length($1) - 12)) . $1;
3208
- while ($val =~ /<!\[CDATA\[(.*?)\]\]>/sg) {
3209
- my $p1 = pos $val;
3210
- $v .= UnescapeXML(substr($val, $p, $p1 - length($1) - 12)) . $1;
3211
- $p = $p1;
3212
- }
3213
- $val = $v . UnescapeXML(substr($val, $p));
3214
- } else {
3215
- $val = UnescapeXML($val);
3216
- }
3217
- # decode from UTF8
3218
- $val = $et->Decode($val, 'UTF8');
3219
- # convert rational and date values to a more sensible format
3220
- my $fmt = $$tagInfo{Writable};
3221
- my $new = $$tagInfo{WasAdded} && $$et{OPTIONS}{XMPAutoConv};
3222
- if ($fmt or $new) {
3223
- $rawVal = $val; # save raw value for verbose output
3224
- if (($new or $fmt eq 'rational') and ConvertRational($val)) {
3225
- $rational = $rawVal;
3226
- } else {
3227
- $val = ConvertXMPDate($val, $new) if $new or $fmt eq 'date';
3228
- }
3229
- # protect against large binary data in unknown tags
3230
- $$tagInfo{Binary} = 1 if $new and length($val) > 65536;
3231
- }
3232
- # store the value for this tag
3233
- my $key = $et->FoundTag($tagInfo, $val) or return 0;
3234
- # save original components of rational numbers (used when copying)
3235
- $$et{RATIONAL}{$key} = $rational if defined $rational;
3236
- # save structure/list information if necessary
3237
- if (@structProps and (@structProps > 1 or defined $structProps[0][1]) and
3238
- not $$et{NO_STRUCT})
3239
- {
3240
- $$et{TAG_EXTRA}{$key}{Struct} = \@structProps;
3241
- $$et{IsStruct} = 1;
3242
- }
3243
- if ($ns and not $$tagInfo{StaticGroup1}) {
3244
- # set group1 dynamically according to the namespace
3245
- $et->SetGroup($key, "$$tagTablePtr{GROUPS}{0}-$ns");
3246
- }
3247
- if ($$et{OPTIONS}{Verbose}) {
3248
- if ($added) {
3249
- my $g1 = $et->GetGroup($key, 1);
3250
- $et->VPrint(0, $$et{INDENT}, "[adding $g1:$tag]\n");
3251
- }
3252
- my $tagID = join('/',@$props);
3253
- $et->VerboseInfo($tagID, $tagInfo, Value => $rawVal || $val);
3254
- }
3255
- return 1;
3256
- }
3257
-
3258
- #------------------------------------------------------------------------------
3259
- # Recursively parse nested XMP data element
3260
- # Inputs: 0) ExifTool ref, 1) tag table ref, 2) XMP data ref
3261
- # 3) offset to start of XMP element, 4) offset to end of XMP element
3262
- # 5) reference to array of enclosing XMP property names (undef if none)
3263
- # 6) reference to blank node information hash
3264
- # Returns: Number of contained XMP elements
3265
- sub ParseXMPElement($$$;$$$$)
3266
- {
3267
- my ($et, $tagTablePtr, $dataPt, $start, $end, $propListPt, $blankInfo) = @_;
3268
- my ($count, $nItems) = (0, 0);
3269
- my $isWriting = $$et{XMP_CAPTURE};
3270
- my $isSVG = $$et{XMP_IS_SVG};
3271
- my $saveNS; # save xlatNS lookup if changed for the scope of this element
3272
-
3273
- # get our parse procs
3274
- my ($attrProc, $foundProc);
3275
- if ($$et{XMPParseOpts}) {
3276
- $attrProc = $$et{XMPParseOpts}{AttrProc};
3277
- $foundProc = $$et{XMPParseOpts}{FoundProc} || \&FoundXMP;
3278
- } else {
3279
- $foundProc = \&FoundXMP;
3280
- }
3281
- $start or $start = 0;
3282
- $end or $end = length $$dataPt;
3283
- $propListPt or $propListPt = [ ];
3284
-
3285
- my $processBlankInfo;
3286
- # create empty blank node information hash if necessary
3287
- $blankInfo or $blankInfo = $processBlankInfo = { Prop => { } };
3288
- # keep track of current nodeID at this nesting level
3289
- my $oldNodeID = $$blankInfo{NodeID};
3290
- pos($$dataPt) = $start;
3291
-
3292
- # lookup for translating namespace prefixes
3293
- my $xlatNS = $$et{xlatNS};
3294
-
3295
- Element: for (;;) {
3296
- # all done if there isn't enough data for another element
3297
- # (the smallest possible element is 4 bytes, eg. "<a/>")
3298
- last if pos($$dataPt) > $end - 4;
3299
- # reset nodeID before processing each element
3300
- my $nodeID = $$blankInfo{NodeID} = $oldNodeID;
3301
- # get next element
3302
- last if $$dataPt !~ m{<([?/]?)([-\w:.\x80-\xff]+)([^>]*)>}sg or pos($$dataPt) > $end;
3303
- # (the only reason we match '<[?/]' is to keep from scanning past the
3304
- # "<?xpacket end..." terminator or other closing token, so
3305
- next if $1;
3306
- my ($prop, $attrs) = ($2, $3);
3307
- my $valStart = pos($$dataPt);
3308
- my $valEnd;
3309
- # only look for closing token if this is not an empty element
3310
- # (empty elements end with '/', eg. <a:b/>)
3311
- if ($attrs !~ s/\/$//) {
3312
- my $nesting = 1;
3313
- my $tok;
3314
- for (;;) {
3315
- # this match fails with perl 5.6.2 (perl bug!), but it works without
3316
- # the '(.*?)', so we must do it differently...
3317
- # $$dataPt =~ m/(.*?)<\/$prop>/sg or last Element;
3318
- # my $val2 = $1;
3319
- # find next matching closing token, or the next opening token
3320
- # of a nested same-named element
3321
- if ($$dataPt !~ m{<(/?)$prop([-\w:.\x80-\xff]*)(.*?(/?))>}sg or
3322
- pos($$dataPt) > $end)
3323
- {
3324
- $et->Warn("XMP format error (no closing tag for $prop)");
3325
- last Element;
3326
- }
3327
- next if $2; # ignore opening properties with different names
3328
- if ($1) {
3329
- next if --$nesting;
3330
- $valEnd = pos($$dataPt) - length($prop) - length($3) - 3;
3331
- last; # this element is complete
3332
- }
3333
- # this is a nested opening token (or empty element)
3334
- ++$nesting unless $4;
3335
- }
3336
- } else {
3337
- $valEnd = $valStart;
3338
- }
3339
- $start = pos($$dataPt); # start from here the next time around
3340
-
3341
- # extract property attributes
3342
- my ($parseResource, %attrs, @attrs);
3343
- while ($attrs =~ m/(\S+?)\s*=\s*(['"])(.*?)\2/sg) {
3344
- my ($attr, $val) = ($1, $3);
3345
- # handle namespace prefixes (defined by xmlns:PREFIX, or used with PREFIX:tag)
3346
- if ($attr =~ /(.*?):/) {
3347
- if ($1 eq 'xmlns') {
3348
- my $ns = substr($attr, 6);
3349
- my $stdNS = $uri2ns{$val};
3350
- unless ($stdNS) {
3351
- my $try = $val;
3352
- # patch for Nikon NX2 URI bug for Microsoft PhotoInfo namespace
3353
- $try =~ s{/$}{} or $try .= '/';
3354
- $stdNS = $uri2ns{$try};
3355
- if ($stdNS) {
3356
- $val = $try;
3357
- $et->WarnOnce("Fixed incorrect URI for xmlns:$ns", 1);
3358
- } else {
3359
- # look for same namespace with different version number
3360
- $try = quotemeta $val; # (note: escapes slashes too)
3361
- $try =~ s{\\/\d+\\\.\d+(\\/|$)}{\\/\\d+\\\.\\d+$1};
3362
- my ($good) = grep /^$try$/, keys %uri2ns;
3363
- if ($good) {
3364
- $stdNS = $uri2ns{$good};
3365
- $et->VPrint(0, $$et{INDENT}, "[different $stdNS version: $val]\n");
3366
- }
3367
- }
3368
- }
3369
- # tame wild namespace prefixes (patches Microsoft stupidity)
3370
- my $newNS;
3371
- if ($stdNS) {
3372
- # use standard namespace prefix if pre-defined
3373
- if ($stdNS ne $ns) {
3374
- $newNS = $stdNS;
3375
- } elsif ($$xlatNS{$ns}) {
3376
- # this prefix is re-defined to the standard prefix in this scope
3377
- $newNS = '';
3378
- }
3379
- } elsif ($$et{curNS}{$val}) {
3380
- # use a consistent prefix over the entire XMP for a given namespace URI
3381
- $newNS = $$et{curNS}{$val} if $$et{curNS}{$val} ne $ns;
3382
- } else {
3383
- my $curURI = $$et{curURI};
3384
- my $curNS = $$et{curNS};
3385
- my $usedNS = $ns;
3386
- # use unique prefixes for all namespaces across the entire XMP
3387
- if ($$curURI{$ns} or $nsURI{$ns}) {
3388
- # generate a temporary namespace prefix to resolve any conflict
3389
- my $i = 0;
3390
- ++$i while $$curURI{"tmp$i"};
3391
- $newNS = $usedNS = "tmp$i";
3392
- }
3393
- # keep track of the namespace prefixes and URI's used in this XMP
3394
- $$curNS{$val} = $usedNS;
3395
- $$curURI{$usedNS} = $val;
3396
- }
3397
- if (defined $newNS) {
3398
- # save translation used in containing scope if necessary
3399
- # create new namespace translation for the scope of this element
3400
- $saveNS or $saveNS = $xlatNS, $xlatNS = $$et{xlatNS} = { %$xlatNS };
3401
- if (length $newNS) {
3402
- # use the new namespace prefix
3403
- $$xlatNS{$ns} = $newNS;
3404
- $attr = 'xmlns:' . $newNS;
3405
- } else {
3406
- delete $$xlatNS{$ns};
3407
- }
3408
- }
3409
- } elsif ($$xlatNS{$1}) {
3410
- $attr = $$xlatNS{$1} . substr($attr, length($1));
3411
- }
3412
- }
3413
- push @attrs, $attr; # preserve order
3414
- $attrs{$attr} = $val;
3415
- }
3416
- # tame wild namespace prefixes (patch for Microsoft stupidity)
3417
- if ($prop =~ /(.*?):/ and $$xlatNS{$1}) {
3418
- $prop = $$xlatNS{$1} . substr($prop, length($1));
3419
- }
3420
-
3421
- if ($prop eq 'rdf:li') {
3422
- # impose a reasonable maximum on the number of items in a list
3423
- if ($nItems == 1000) {
3424
- my ($tg,$ns) = GetXMPTagID($propListPt);
3425
- if ($isWriting) {
3426
- $et->Warn("Excessive number of items for $ns:$tg. Processing may be slow", 1);
3427
- } elsif (not $$et{OPTIONS}{IgnoreMinorErrors}) {
3428
- $et->Warn("Extracted only 1000 $ns:$tg items. Ignore minor errors to extract all", 2);
3429
- last;
3430
- }
3431
- }
3432
- # add index to list items so we can keep them in order
3433
- # (this also enables us to keep structure elements grouped properly
3434
- # for lists of structures, like JobRef)
3435
- # Note: the list index is prefixed by the number of digits so sorting
3436
- # alphabetically gives the correct order while still allowing a flexible
3437
- # number of digits -- this scheme allows up to 9 digits in the index,
3438
- # with index numbers ranging from 0 to 999999999. The sequence is:
3439
- # 10,11,12-19,210,211-299,3100,3101-3999,41000...9999999999.
3440
- $prop .= ' ' . length($nItems) . $nItems;
3441
- # reset LIST_TAGS at the start of the outtermost list
3442
- # (avoids accumulating incorrectly-written elements in a correctly-written list)
3443
- if (not $nItems and not grep /^rdf:li /, @$propListPt) {
3444
- $$et{LIST_TAGS} = { };
3445
- }
3446
- ++$nItems;
3447
- } elsif ($prop eq 'rdf:Description') {
3448
- # remove unnecessary rdf:Description elements since parseType='Resource'
3449
- # is more efficient (also necessary to make property path consistent)
3450
- $parseResource = 1 if grep /^rdf:Description$/, @$propListPt;
3451
- } elsif ($prop eq 'xmp:xmpmeta') {
3452
- # patch MicrosoftPhoto unconformity
3453
- $prop = 'x:xmpmeta';
3454
- }
3455
-
3456
- # hook for special parsing of attributes
3457
- my $val;
3458
- if ($attrProc) {
3459
- $val = substr($$dataPt, $valStart, $valEnd - $valStart);
3460
- if (&$attrProc(\@attrs, \%attrs, \$prop, \$val)) {
3461
- # the value was changed, so reset $valStart/$valEnd to use $val instead
3462
- $valStart = $valEnd;
3463
- }
3464
- }
3465
-
3466
- # add nodeID to property path (with leading ' #') if it exists
3467
- if (defined $attrs{'rdf:nodeID'}) {
3468
- $nodeID = $$blankInfo{NodeID} = $attrs{'rdf:nodeID'};
3469
- delete $attrs{'rdf:nodeID'};
3470
- $prop .= ' #' . $nodeID;
3471
- undef $parseResource; # can't ignore if this is a node
3472
- }
3473
-
3474
- # push this property name onto our hierarchy list
3475
- push @$propListPt, $prop unless $parseResource;
3476
-
3477
- if ($isSVG) {
3478
- # ignore everything but top level SVG tags and metadata unless Unknown set
3479
- unless ($$et{OPTIONS}{Unknown} > 1 or $$et{OPTIONS}{Verbose}) {
3480
- if (@$propListPt > 1 and $$propListPt[1] !~ /\b(metadata|desc|title)$/) {
3481
- pop @$propListPt;
3482
- next;
3483
- }
3484
- }
3485
- if ($prop eq 'svg' or $prop eq 'metadata') {
3486
- # add svg namespace prefix if missing to ignore these entries in the tag name
3487
- $$propListPt[-1] = "svg:$prop";
3488
- }
3489
- }
3490
-
3491
- # handle properties inside element attributes (RDF shorthand format):
3492
- # (attributes take the form a:b='c' or a:b="c")
3493
- my ($shortName, $shorthand, $ignored);
3494
- foreach $shortName (@attrs) {
3495
- next unless defined $attrs{$shortName};
3496
- my $propName = $shortName;
3497
- my ($ns, $name);
3498
- if ($propName =~ /(.*?):(.*)/) {
3499
- $ns = $1; # specified namespace
3500
- $name = $2;
3501
- } elsif ($prop =~ /(\S*?):/) {
3502
- $ns = $1; # assume same namespace as parent
3503
- $name = $propName;
3504
- $propName = "$ns:$name"; # generate full property name
3505
- } else {
3506
- # a property qualifier is the only property name that may not
3507
- # have a namespace, and a qualifier shouldn't have attributes,
3508
- # but what the heck, let's allow this anyway
3509
- $ns = '';
3510
- $name = $propName;
3511
- }
3512
- if ($isWriting) {
3513
- # keep track of our namespaces when writing
3514
- if ($ns eq 'xmlns') {
3515
- my $stdNS = $uri2ns{$attrs{$shortName}};
3516
- unless ($stdNS and ($stdNS eq 'x' or $stdNS eq 'iX')) {
3517
- my $nsUsed = $$et{XMP_NS};
3518
- $$nsUsed{$name} = $attrs{$shortName} unless defined $$nsUsed{$name};
3519
- }
3520
- delete $attrs{$shortName}; # (handled by namespace logic)
3521
- next;
3522
- } elsif ($recognizedAttrs{$propName}) {
3523
- # save UUID to use same ID when writing
3524
- if ($propName eq 'rdf:about') {
3525
- if (not $$et{XMP_ABOUT}) {
3526
- $$et{XMP_ABOUT} = $attrs{$shortName};
3527
- } elsif ($$et{XMP_ABOUT} ne $attrs{$shortName}) {
3528
- $et->Error("Different 'rdf:about' attributes not handled", 1);
3529
- }
3530
- }
3531
- next;
3532
- }
3533
- }
3534
- my $shortVal = $attrs{$shortName};
3535
- if ($ignoreNamespace{$ns} or $ignoreProp{$prop}) {
3536
- $ignored = $propName;
3537
- # handle special attributes (extract as tags only once if not empty)
3538
- if (ref $recognizedAttrs{$propName} and $shortVal) {
3539
- my ($tbl, $id, $name) = @{$recognizedAttrs{$propName}};
3540
- my $tval = UnescapeXML($shortVal);
3541
- unless (defined $$et{VALUE}{$name} and $$et{VALUE}{$name} eq $tval) {
3542
- $et->HandleTag(GetTagTable($tbl), $id, $tval);
3543
- }
3544
- }
3545
- next;
3546
- }
3547
- delete $attrs{$shortName}; # don't re-use this attribute
3548
- push @$propListPt, $propName;
3549
- # save this shorthand XMP property
3550
- if (defined $nodeID) {
3551
- SaveBlankInfo($blankInfo, $propListPt, $shortVal);
3552
- } elsif ($isWriting) {
3553
- CaptureXMP($et, $propListPt, $shortVal);
3554
- } else {
3555
- &$foundProc($et, $tagTablePtr, $propListPt, $shortVal);
3556
- }
3557
- pop @$propListPt;
3558
- $shorthand = 1;
3559
- }
3560
- if ($isWriting) {
3561
- if (ParseXMPElement($et, $tagTablePtr, $dataPt, $valStart, $valEnd,
3562
- $propListPt, $blankInfo))
3563
- {
3564
- # (no value since we found more properties within this one)
3565
- # set an error on any ignored attributes here, because they will be lost
3566
- $$et{XMP_ERROR} = "Can't handle XMP attribute '$ignored'" if $ignored;
3567
- } elsif (not $shorthand or $valEnd != $valStart) {
3568
- $val = substr($$dataPt, $valStart, $valEnd - $valStart);
3569
- # remove comments and whitespace from rdf:Description only
3570
- if ($prop eq 'rdf:Description') {
3571
- $val =~ s/<!--.*?-->//g; $val =~ s/^\s+//; $val =~ s/\s+$//;
3572
- }
3573
- if (defined $nodeID) {
3574
- SaveBlankInfo($blankInfo, $propListPt, $val, \%attrs);
3575
- } else {
3576
- CaptureXMP($et, $propListPt, $val, \%attrs);
3577
- }
3578
- }
3579
- } else {
3580
- # look for additional elements contained within this one
3581
- if ($valStart == $valEnd or
3582
- !ParseXMPElement($et, $tagTablePtr, $dataPt, $valStart, $valEnd,
3583
- $propListPt, $blankInfo))
3584
- {
3585
- my $wasEmpty;
3586
- unless (defined $val) {
3587
- $val = substr($$dataPt, $valStart, $valEnd - $valStart);
3588
- # remove comments and whitespace from rdf:Description only
3589
- if ($prop eq 'rdf:Description' and $val) {
3590
- $val =~ s/<!--.*?-->//g; $val =~ s/^\s+//; $val =~ s/\s+$//;
3591
- }
3592
- # if element value is empty, take value from 'resource' attribute
3593
- # (preferentially) or 'about' attribute (if no 'resource')
3594
- if ($val eq '' and ($attrs =~ /\bresource=(['"])(.*?)\1/ or
3595
- $attrs =~ /\babout=(['"])(.*?)\1/))
3596
- {
3597
- $val = $2;
3598
- $wasEmpty = 1;
3599
- }
3600
- }
3601
- # there are no contained elements, so this must be a simple property value
3602
- # (unless we already extracted shorthand values from this element)
3603
- if (length $val or not $shorthand) {
3604
- my $lastProp = $$propListPt[-1];
3605
- if (defined $nodeID) {
3606
- SaveBlankInfo($blankInfo, $propListPt, $val);
3607
- } elsif ($lastProp eq 'rdf:type' and $wasEmpty) {
3608
- # do not extract empty structure types (for now)
3609
- } elsif ($lastProp =~ /^et:(desc|prt|val)$/ and ($count or $1 eq 'desc')) {
3610
- # ignore et:desc, and et:val if preceded by et:prt
3611
- --$count;
3612
- } else {
3613
- &$foundProc($et, $tagTablePtr, $propListPt, $val, \%attrs);
3614
- }
3615
- }
3616
- }
3617
- }
3618
- pop @$propListPt unless $parseResource;
3619
- ++$count;
3620
- last if $start >= $end;
3621
- pos($$dataPt) = $start;
3622
- $$dataPt =~ /\G\s+/gc; # skip white space after closing token
3623
- }
3624
- #
3625
- # process resources referenced by blank nodeID's
3626
- #
3627
- if ($processBlankInfo and %{$$blankInfo{Prop}}) {
3628
- ProcessBlankInfo($et, $tagTablePtr, $blankInfo, $isWriting);
3629
- %$blankInfo = (); # free some memory
3630
- }
3631
- # restore namespace lookup from the containing scope
3632
- $$et{xlatNS} = $saveNS if $saveNS;
3633
-
3634
- return $count; # return the number of elements found at this level
3635
- }
3636
-
3637
- #------------------------------------------------------------------------------
3638
- # Process XMP data
3639
- # Inputs: 0) ExifTool object reference, 1) DirInfo reference, 2) Pointer to tag table
3640
- # Returns: 1 on success
3641
- # Notes: The following flavours of XMP files are currently recognized:
3642
- # - standard XMP with xpacket, x:xmpmeta and rdf:RDF elements
3643
- # - XMP that is missing the xpacket and/or x:xmpmeta elements
3644
- # - mutant Microsoft XMP with xmp:xmpmeta element
3645
- # - XML files beginning with "<xml"
3646
- # - SVG files that begin with "<svg" or "<!DOCTYPE svg"
3647
- # - XMP and XML files beginning with a UTF-8 byte order mark
3648
- # - UTF-8, UTF-16 and UTF-32 encoded XMP
3649
- # - erroneously double-UTF8 encoded XMP
3650
- # - otherwise valid files with leading XML comment
3651
- sub ProcessXMP($$;$)
3652
- {
3653
- my ($et, $dirInfo, $tagTablePtr) = @_;
3654
- my $dataPt = $$dirInfo{DataPt};
3655
- my ($dirStart, $dirLen, $dataLen, $double);
3656
- my ($buff, $fmt, $hasXMP, $isXML, $isRDF, $isSVG);
3657
- my $rtnVal = 0;
3658
- my $bom = 0;
3659
-
3660
- # namespaces and prefixes currently in effect while parsing the file,
3661
- # and lookup to translate brain-dead-Microsoft-Photo-software prefixes
3662
- $$et{curURI} = { };
3663
- $$et{curNS} = { };
3664
- $$et{xlatNS} = { };
3665
-
3666
- # ignore non-standard XMP while in strict MWG compatibility mode
3667
- if ($Image::ExifTool::MWG::strict and not $$et{XMP_CAPTURE} and
3668
- $$et{FILE_TYPE} =~ /^(JPEG|TIFF|PSD)$/)
3669
- {
3670
- my $path = $et->MetadataPath();
3671
- unless ($path =~ /^(JPEG-APP1-XMP|TIFF-IFD0-XMP|PSD-XMP)$/) {
3672
- $et->Warn("Ignored non-standard XMP at $path");
3673
- return 1;
3674
- }
3675
- }
3676
- if ($dataPt) {
3677
- $dirStart = $$dirInfo{DirStart} || 0;
3678
- $dirLen = $$dirInfo{DirLen} || (length($$dataPt) - $dirStart);
3679
- $dataLen = $$dirInfo{DataLen} || length($$dataPt);
3680
- # check leading BOM (may indicate double-encoded UTF)
3681
- pos($$dataPt) = $dirStart;
3682
- $double = $1 if $$dataPt =~ /\G((\0\0)?\xfe\xff|\xff\xfe(\0\0)?|\xef\xbb\xbf)\0*<\0*\?\0*x\0*p\0*a\0*c\0*k\0*e\0*t/g;
3683
- } else {
3684
- my ($type, $buf2, $buf3);
3685
- # read information from XMP file
3686
- my $raf = $$dirInfo{RAF} or return 0;
3687
- $raf->Read($buff, 256) or return 0;
3688
- ($buf2 = $buff) =~ tr/\0//d; # cheap conversion to UTF-8
3689
- # remove leading comments if they exist (eg. ImageIngester)
3690
- while ($buf2 =~ /^\s*<!--/) {
3691
- # remove the comment if it is complete
3692
- if ($buf2 =~ s/^\s*<!--.*?-->\s+//s) {
3693
- # continue with parsing if we have more than 128 bytes remaining
3694
- next if length $buf2 > 128;
3695
- } else {
3696
- # don't read more than 10k when looking for the end of comment
3697
- return 0 if length($buf2) > 10000;
3698
- }
3699
- $raf->Read($buf3, 256) or last; # read more data if available
3700
- $buff .= $buf3;
3701
- $buf3 =~ tr/\0//d;
3702
- $buf2 .= $buf3;
3703
- }
3704
- # check to see if this is XMP format
3705
- # (CS2 writes .XMP files without the "xpacket begin")
3706
- if ($buf2 =~ /^\s*(<\?xpacket begin=|<x(mp)?:x[ma]pmeta)/) {
3707
- $hasXMP = 1;
3708
- } else {
3709
- # also recognize XML files and .XMP files with BOM and without x:xmpmeta
3710
- if ($buf2 =~ /^(\xfe\xff)(<\?xml|<rdf:RDF|<x(mp)?:x[ma]pmeta)/g) {
3711
- $fmt = 'n'; # UTF-16 or 32 MM with BOM
3712
- } elsif ($buf2 =~ /^(\xff\xfe)(<\?xml|<rdf:RDF|<x(mp)?:x[ma]pmeta)/g) {
3713
- $fmt = 'v'; # UTF-16 or 32 II with BOM
3714
- } elsif ($buf2 =~ /^(\xef\xbb\xbf)?(<\?xml|<rdf:RDF|<x(mp)?:x[ma]pmeta)/g) {
3715
- $fmt = 0; # UTF-8 with BOM or unknown encoding without BOM
3716
- } elsif ($buf2 =~ /^(\xfe\xff|\xff\xfe|\xef\xbb\xbf)(<\?xpacket begin=)/g) {
3717
- $double = $1; # double-encoded UTF
3718
- } else {
3719
- return 0; # not recognized XMP or XML
3720
- }
3721
- $bom = 1 if $1;
3722
- if ($2 eq '<?xml') {
3723
- if (defined $fmt and not $fmt and $buf2 =~ /^[^\n\r]*[\n\r]+<\?aid /s) {
3724
- if ($$et{XMP_CAPTURE}) {
3725
- $et->Error("ExifTool does not yet support writing of INX files");
3726
- return 0;
3727
- }
3728
- $type = 'INX';
3729
- } elsif ($buf2 =~ /<x(mp)?:x[ma]pmeta/) {
3730
- $hasXMP = 1;
3731
- } else {
3732
- # identify SVG images and PLIST files by DOCTYPE if available
3733
- if ($buf2 =~ /<!DOCTYPE\s+(\w+)/) {
3734
- if ($1 eq 'svg') {
3735
- $isSVG = 1;
3736
- } elsif ($1 eq 'plist') {
3737
- $type = 'PLIST';
3738
- } else {
3739
- return 0;
3740
- }
3741
- } elsif ($buf2 =~ /<svg[\s>]/) {
3742
- $isSVG = 1;
3743
- } elsif ($buf2 =~ /<rdf:RDF/) {
3744
- $isRDF = 1;
3745
- } elsif ($buf2 =~ /<plist[\s>]/) {
3746
- $type = 'PLIST';
3747
- }
3748
- if ($isSVG and $$et{XMP_CAPTURE}) {
3749
- $et->Error("ExifTool does not yet support writing of SVG images");
3750
- return 0;
3751
- }
3752
- }
3753
- $isXML = 1;
3754
- } elsif ($2 eq '<rdf:RDF') {
3755
- $isRDF = 1; # recognize XMP without x:xmpmeta element
3756
- }
3757
- if ($buff =~ /^\0\0/) {
3758
- $fmt = 'N'; # UTF-32 MM with or without BOM
3759
- } elsif ($buff =~ /^..\0\0/s) {
3760
- $fmt = 'V'; # UTF-32 II with or without BOM
3761
- } elsif (not $fmt) {
3762
- if ($buff =~ /^\0/) {
3763
- $fmt = 'n'; # UTF-16 MM without BOM
3764
- } elsif ($buff =~ /^.\0/s) {
3765
- $fmt = 'v'; # UTF-16 II without BOM
3766
- }
3767
- }
3768
- }
3769
- my $size;
3770
- if ($type) {
3771
- if ($type eq 'PLIST') {
3772
- my $ext = $$et{FILE_EXT};
3773
- $type = $ext if $ext and $ext eq 'MODD';
3774
- $tagTablePtr = GetTagTable('Image::ExifTool::PLIST::Main');
3775
- $$dirInfo{XMPParseOpts}{FoundProc} = \&Image::ExifTool::PLIST::FoundTag;
3776
- }
3777
- } else {
3778
- if ($isSVG) {
3779
- $type = 'SVG';
3780
- } elsif ($isXML and not $hasXMP and not $isRDF) {
3781
- $type = 'XML';
3782
- my $ext = $$et{FILE_EXT};
3783
- $type = $ext if $ext and $ext eq 'COS'; # recognize COS by extension
3784
- }
3785
- }
3786
- $et->SetFileType($type);
3787
-
3788
- my $fast = $et->Options('FastScan');
3789
- return 1 if $fast and $fast == 3;
3790
-
3791
- if ($type and $type eq 'INX') {
3792
- # brute force search for first XMP packet in INX file
3793
- # start: '<![CDATA[<?xpacket begin' (24 bytes)
3794
- # end: '<?xpacket end="r"?>]]>' (22 bytes)
3795
- $raf->Seek(0, 0) or return 0;
3796
- $raf->Read($buff, 65536) or return 1;
3797
- for (;;) {
3798
- last if $buff =~ /<!\[CDATA\[<\?xpacket begin/g;
3799
- $raf->Read($buf2, 65536) or return 1;
3800
- $buff = substr($buff, -24) . $buf2;
3801
- }
3802
- $buff = substr($buff, pos($buff) - 15); # (discard '<![CDATA[' and before)
3803
- for (;;) {
3804
- last if $buff =~ /<\?xpacket end="[rw]"\?>\]\]>/g;
3805
- my $n = length $buff;
3806
- $raf->Read($buf2, 65536) or $et->Warn('Missing xpacket end'), return 1;
3807
- $buff .= $buf2;
3808
- pos($buff) = $n - 22; # don't miss end pattern if it was split
3809
- }
3810
- $size = pos($buff) - 3; # (discard ']]>' and after)
3811
- $buff = substr($buff, 0, $size);
3812
- } else {
3813
- # read the entire file
3814
- $raf->Seek(0, 2) or return 0;
3815
- $size = $raf->Tell() or return 0;
3816
- $raf->Seek(0, 0) or return 0;
3817
- $raf->Read($buff, $size) == $size or return 0;
3818
- }
3819
- $dataPt = \$buff;
3820
- $dirStart = 0;
3821
- $dirLen = $dataLen = $size;
3822
- }
3823
-
3824
- # decode the first layer of double-encoded UTF text (if necessary)
3825
- if ($double) {
3826
- my ($buf2, $fmt);
3827
- $buff = substr($$dataPt, $dirStart + length $double); # remove leading BOM
3828
- Image::ExifTool::SetWarning(undef); # clear old warning
3829
- local $SIG{'__WARN__'} = \&Image::ExifTool::SetWarning;
3830
- # assume that character data has been re-encoded in UTF, so re-pack
3831
- # as characters and look for warnings indicating a false assumption
3832
- if ($double eq "\xef\xbb\xbf") {
3833
- require Image::ExifTool::Charset;
3834
- my $uni = Image::ExifTool::Charset::Decompose(undef,$buff,'UTF8');
3835
- $buf2 = pack('C*', @$uni);
3836
- } else {
3837
- if (length($double) == 2) {
3838
- $fmt = ($double eq "\xfe\xff") ? 'n' : 'v';
3839
- } else {
3840
- $fmt = ($double eq "\0\0\xfe\xff") ? 'N' : 'V';
3841
- }
3842
- $buf2 = pack('C*', unpack("$fmt*",$buff));
3843
- }
3844
- if (Image::ExifTool::GetWarning()) {
3845
- $et->Warn('Superfluous BOM at start of XMP');
3846
- $dataPt = \$buff; # use XMP with the BOM removed
3847
- } else {
3848
- $et->Warn('XMP is double UTF-encoded');
3849
- $dataPt = \$buf2; # use the decoded XMP
3850
- }
3851
- $dirStart = 0;
3852
- $dirLen = $dataLen = length $$dataPt;
3853
- }
3854
-
3855
- # extract XMP as a block if specified
3856
- my $blockName = $$dirInfo{BlockInfo} ? $$dirInfo{BlockInfo}{Name} : 'XMP';
3857
- if (($$et{REQ_TAG_LOOKUP}{lc $blockName} or ($$et{TAGS_FROM_FILE} and
3858
- not $$et{EXCL_TAG_LOOKUP}{lc $blockName})) and not $isSVG)
3859
- {
3860
- $et->FoundTag($$dirInfo{BlockInfo} || 'XMP', substr($$dataPt, $dirStart, $dirLen));
3861
- }
3862
-
3863
- $tagTablePtr or $tagTablePtr = GetTagTable('Image::ExifTool::XMP::Main');
3864
- if ($et->Options('Verbose') and not $$et{XMP_CAPTURE}) {
3865
- my $dirType = $isSVG ? 'SVG' : $$tagTablePtr{GROUPS}{1};
3866
- $et->VerboseDir($dirType, 0, $dirLen);
3867
- }
3868
- #
3869
- # convert UTF-16 or UTF-32 encoded XMP to UTF-8 if necessary
3870
- #
3871
- my $begin = '<?xpacket begin=';
3872
- my $dirEnd = $dirStart + $dirLen;
3873
- pos($$dataPt) = $dirStart;
3874
- delete $$et{XMP_IS_XML};
3875
- delete $$et{XMP_IS_SVG};
3876
- if ($isXML or $isRDF) {
3877
- $$et{XMP_IS_XML} = $isXML;
3878
- $$et{XMP_IS_SVG} = $isSVG;
3879
- $$et{XMP_NO_XPACKET} = 1 + $bom;
3880
- } elsif ($$dataPt =~ /\G\Q$begin\E/gc) {
3881
- delete $$et{XMP_NO_XPACKET};
3882
- } elsif ($$dataPt =~ /<x(mp)?:x[ma]pmeta/gc and
3883
- pos($$dataPt) > $dirStart and pos($$dataPt) < $dirEnd)
3884
- {
3885
- $$et{XMP_NO_XPACKET} = 1 + $bom;
3886
- } else {
3887
- delete $$et{XMP_NO_XPACKET};
3888
- # check for UTF-16 encoding (insert one \0 between characters)
3889
- $begin = join "\0", split //, $begin;
3890
- # must reset pos because it was killed by previous unsuccessful //g match
3891
- pos($$dataPt) = $dirStart;
3892
- if ($$dataPt =~ /\G(\0)?\Q$begin\E\0./sg) {
3893
- # validate byte ordering by checking for U+FEFF character
3894
- if ($1) {
3895
- # should be big-endian since we had a leading \0
3896
- $fmt = 'n' if $$dataPt =~ /\G\xfe\xff/g;
3897
- } else {
3898
- $fmt = 'v' if $$dataPt =~ /\G\0\xff\xfe/g;
3899
- }
3900
- } else {
3901
- # check for UTF-32 encoding (with three \0's between characters)
3902
- $begin =~ s/\0/\0\0\0/g;
3903
- pos($$dataPt) = $dirStart;
3904
- if ($$dataPt !~ /\G(\0\0\0)?\Q$begin\E\0\0\0./sg) {
3905
- $fmt = 0; # set format to zero as indication we didn't find encoded XMP
3906
- } elsif ($1) {
3907
- # should be big-endian
3908
- $fmt = 'N' if $$dataPt =~ /\G\0\0\xfe\xff/g;
3909
- } else {
3910
- $fmt = 'V' if $$dataPt =~ /\G\0\0\0\xff\xfe\0\0/g;
3911
- }
3912
- }
3913
- defined $fmt or $et->Warn('XMP character encoding error');
3914
- }
3915
- if ($fmt) {
3916
- # trim if necessary to avoid converting non-UTF data
3917
- if ($dirStart or $dirEnd != length($$dataPt)) {
3918
- $buff = substr($$dataPt, $dirStart, $dirLen);
3919
- $dataPt = \$buff;
3920
- }
3921
- # convert into UTF-8
3922
- if ($] >= 5.006001) {
3923
- $buff = pack('C0U*', unpack("$fmt*",$$dataPt));
3924
- } else {
3925
- $buff = Image::ExifTool::PackUTF8(unpack("$fmt*",$$dataPt));
3926
- }
3927
- $dataPt = \$buff;
3928
- $dirStart = 0;
3929
- $dirLen = length $$dataPt;
3930
- $dirEnd = $dirStart + $dirLen;
3931
- }
3932
- # avoid scanning for XMP later in case ScanForXMP is set
3933
- $$et{FoundXMP} = 1 if $tagTablePtr eq \%Image::ExifTool::XMP::Main;
3934
-
3935
- # set XMP parsing options
3936
- $$et{XMPParseOpts} = $$dirInfo{XMPParseOpts};
3937
-
3938
- # ignore any specified properties (XML hack)
3939
- if ($$dirInfo{IgnoreProp}) {
3940
- %ignoreProp = %{$$dirInfo{IgnoreProp}};
3941
- } else {
3942
- undef %ignoreProp;
3943
- }
3944
-
3945
- # need to preserve list indices to be able to handle multi-dimensional lists
3946
- my $keepFlat;
3947
- if ($$et{OPTIONS}{Struct}) {
3948
- if ($$et{OPTIONS}{Struct} eq '2') {
3949
- $keepFlat = 1; # preserve flattened tags
3950
- # setting NO_LIST to 0 combines list items in a TAG_EXTRA "NoList" element
3951
- # to allow them to be re-listed later if necessary. A "NoListDel" element
3952
- # is also created for tags that wouldn't have existed.
3953
- $$et{NO_LIST} = 0;
3954
- } else {
3955
- $$et{NO_LIST} = 1;
3956
- }
3957
- }
3958
-
3959
- # don't generate structures if this isn't real XMP
3960
- $$et{NO_STRUCT} = 1 if $$dirInfo{BlockInfo} or $$dirInfo{NoStruct};
3961
-
3962
- # parse the XMP
3963
- if (ParseXMPElement($et, $tagTablePtr, $dataPt, $dirStart, $dirEnd)) {
3964
- $rtnVal = 1;
3965
- } elsif ($$dirInfo{DirName} and $$dirInfo{DirName} eq 'XMP') {
3966
- # if DirName was 'XMP' we expect well-formed XMP, so set Warning since it wasn't
3967
- $et->Warn('Invalid XMP');
3968
- }
3969
- delete $$et{NO_STRUCT};
3970
-
3971
- # return DataPt if successful in case we want it for writing
3972
- $$dirInfo{DataPt} = $dataPt if $rtnVal and $$dirInfo{RAF};
3973
-
3974
- # restore structures if necessary
3975
- if ($$et{IsStruct}) {
3976
- require 'Image/ExifTool/XMPStruct.pl';
3977
- RestoreStruct($et, $keepFlat);
3978
- delete $$et{IsStruct};
3979
- }
3980
- # reset NO_LIST flag (must do this _after_ RestoreStruct() above)
3981
- delete $$et{NO_LIST};
3982
- delete $$et{XMPParseOpts};
3983
- delete $$et{curURI};
3984
- delete $$et{curNS};
3985
- delete $$et{xlatNS};
3986
-
3987
- return $rtnVal;
3988
- }
3989
-
3990
-
3991
- 1; #end
3992
-
3993
- __END__
3994
-
3995
- =head1 NAME
3996
-
3997
- Image::ExifTool::XMP - Read XMP meta information
3998
-
3999
- =head1 SYNOPSIS
4000
-
4001
- This module is loaded automatically by Image::ExifTool when required.
4002
-
4003
- =head1 DESCRIPTION
4004
-
4005
- XMP stands for Extensible Metadata Platform. It is a format based on XML
4006
- that Adobe developed for embedding metadata information in image files.
4007
- This module contains the definitions required by Image::ExifTool to read XMP
4008
- information.
4009
-
4010
- =head1 AUTHOR
4011
-
4012
- Copyright 2003-2015, Phil Harvey (phil at owl.phy.queensu.ca)
4013
-
4014
- This library is free software; you can redistribute it and/or modify it
4015
- under the same terms as Perl itself.
4016
-
4017
- =head1 REFERENCES
4018
-
4019
- =over 4
4020
-
4021
- =item L<http://www.adobe.com/devnet/xmp/>
4022
-
4023
- =item L<http://www.w3.org/TR/rdf-syntax-grammar/>
4024
-
4025
- =item L<http://www.iptc.org/IPTC4XMP/>
4026
-
4027
- =back
4028
-
4029
- =head1 SEE ALSO
4030
-
4031
- L<Image::ExifTool::TagNames/XMP Tags>,
4032
- L<Image::ExifTool(3pm)|Image::ExifTool>
4033
-
4034
- =cut