exiftool_vendored 10.31.0 → 10.40.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of exiftool_vendored might be problematic. Click here for more details.

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