exiftool_vendored 10.31.0 → 10.40.0

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

Potentially problematic release.


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

Files changed (1296) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Image-ExifTool-10.40/Changes +7693 -0
  3. data/bin/Image-ExifTool-10.40/MANIFEST +998 -0
  4. data/bin/Image-ExifTool-10.40/META.json +51 -0
  5. data/bin/Image-ExifTool-10.40/META.yml +31 -0
  6. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/Makefile.PL +0 -0
  7. data/bin/Image-ExifTool-10.40/README +240 -0
  8. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/exif2iptc.args +0 -0
  9. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/exif2xmp.args +0 -0
  10. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/gps2xmp.args +0 -0
  11. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/iptc2exif.args +0 -0
  12. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/iptc2xmp.args +0 -0
  13. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/iptcCore.args +0 -0
  14. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/pdf2xmp.args +0 -0
  15. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/xmp2exif.args +0 -0
  16. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/xmp2gps.args +0 -0
  17. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/xmp2iptc.args +0 -0
  18. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/arg_files/xmp2pdf.args +0 -0
  19. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/config_files/bibble.config +0 -0
  20. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/config_files/convert_regions.config +0 -0
  21. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/config_files/example.config +0 -0
  22. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/config_files/fotoware.config +0 -0
  23. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/config_files/gps2utm.config +0 -0
  24. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/config_files/photoshop_paths.config +0 -0
  25. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/config_files/picasa_faces.config +0 -0
  26. data/bin/Image-ExifTool-10.40/config_files/time_zone.config +76 -0
  27. data/bin/Image-ExifTool-10.40/exiftool +6462 -0
  28. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/fmt_files/gpx.fmt +0 -0
  29. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/fmt_files/gpx_wpt.fmt +0 -0
  30. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/fmt_files/kml.fmt +0 -0
  31. data/bin/Image-ExifTool-10.40/html/ExifTool.html +2122 -0
  32. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/MIE1.1-20070121.pdf +0 -0
  33. data/bin/Image-ExifTool-10.40/html/Shift.html +179 -0
  34. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/AFCP.html +0 -0
  35. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/AIFF.html +0 -0
  36. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/APE.html +0 -0
  37. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/APP12.html +0 -0
  38. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/ASF.html +0 -0
  39. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Apple.html +0 -0
  40. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Audible.html +0 -0
  41. data/bin/Image-ExifTool-10.40/html/TagNames/BMP.html +233 -0
  42. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/BPG.html +0 -0
  43. data/bin/Image-ExifTool-10.40/html/TagNames/Canon.html +9741 -0
  44. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/CanonCustom.html +0 -0
  45. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/CanonRaw.html +0 -0
  46. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/CanonVRD.html +0 -0
  47. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Casio.html +0 -0
  48. data/bin/Image-ExifTool-10.40/html/TagNames/Composite.html +745 -0
  49. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/DICOM.html +0 -0
  50. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/DJI.html +0 -0
  51. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/DNG.html +0 -0
  52. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/DPX.html +0 -0
  53. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/DV.html +0 -0
  54. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/DarwinCore.html +0 -0
  55. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/DjVu.html +0 -0
  56. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/EXE.html +0 -0
  57. data/bin/Image-ExifTool-10.40/html/TagNames/EXIF.html +3484 -0
  58. data/bin/Image-ExifTool-10.40/html/TagNames/Extra.html +471 -0
  59. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/FLAC.html +0 -0
  60. data/bin/Image-ExifTool-10.40/html/TagNames/FLIF.html +84 -0
  61. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/FLIR.html +0 -0
  62. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Flash.html +0 -0
  63. data/bin/Image-ExifTool-10.40/html/TagNames/FlashPix.html +1475 -0
  64. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Font.html +0 -0
  65. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/FotoStation.html +0 -0
  66. data/bin/Image-ExifTool-10.40/html/TagNames/FujiFilm.html +867 -0
  67. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/GE.html +0 -0
  68. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/GIF.html +0 -0
  69. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/GIMP.html +0 -0
  70. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/GPS.html +0 -0
  71. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/GeoTiff.html +0 -0
  72. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/H264.html +0 -0
  73. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/HP.html +0 -0
  74. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/HTML.html +0 -0
  75. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/ICC_Profile.html +0 -0
  76. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/ID3.html +0 -0
  77. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/IPTC.html +0 -0
  78. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/ISO.html +0 -0
  79. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/ITC.html +0 -0
  80. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/JFIF.html +0 -0
  81. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/JPEG.html +0 -0
  82. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/JVC.html +0 -0
  83. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Jpeg2000.html +0 -0
  84. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Kodak.html +0 -0
  85. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/KyoceraRaw.html +0 -0
  86. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/LNK.html +0 -0
  87. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Leaf.html +0 -0
  88. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Lytro.html +0 -0
  89. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/M2TS.html +0 -0
  90. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MIE.html +0 -0
  91. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MIFF.html +0 -0
  92. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MNG.html +0 -0
  93. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MOI.html +0 -0
  94. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MPC.html +0 -0
  95. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MPEG.html +0 -0
  96. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MPF.html +0 -0
  97. data/bin/Image-ExifTool-10.40/html/TagNames/MWG.html +584 -0
  98. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MXF.html +0 -0
  99. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Matroska.html +0 -0
  100. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Microsoft.html +0 -0
  101. data/bin/Image-ExifTool-10.40/html/TagNames/Minolta.html +2634 -0
  102. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/MinoltaRaw.html +0 -0
  103. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Motorola.html +0 -0
  104. data/bin/Image-ExifTool-10.40/html/TagNames/Nikon.html +6016 -0
  105. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/NikonCapture.html +0 -0
  106. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/NikonCustom.html +0 -0
  107. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Nintendo.html +0 -0
  108. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/OOXML.html +0 -0
  109. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Ogg.html +0 -0
  110. data/bin/Image-ExifTool-10.40/html/TagNames/Olympus.html +3655 -0
  111. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/OpenEXR.html +0 -0
  112. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Opus.html +0 -0
  113. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PDF.html +0 -0
  114. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PGF.html +0 -0
  115. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PICT.html +0 -0
  116. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PLIST.html +0 -0
  117. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PLUS.html +0 -0
  118. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PNG.html +0 -0
  119. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PSP.html +0 -0
  120. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Palm.html +0 -0
  121. data/bin/Image-ExifTool-10.40/html/TagNames/Panasonic.html +1701 -0
  122. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PanasonicRaw.html +0 -0
  123. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Pentax.html +0 -0
  124. data/bin/Image-ExifTool-10.40/html/TagNames/PhaseOne.html +263 -0
  125. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PhotoCD.html +0 -0
  126. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PhotoMechanic.html +0 -0
  127. data/bin/Image-ExifTool-10.40/html/TagNames/Photoshop.html +739 -0
  128. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PostScript.html +0 -0
  129. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/PrintIM.html +0 -0
  130. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Qualcomm.html +0 -0
  131. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/QuickTime.html +0 -0
  132. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/RIFF.html +0 -0
  133. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/RSRC.html +0 -0
  134. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/RTF.html +0 -0
  135. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Radiance.html +0 -0
  136. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Rawzor.html +0 -0
  137. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Real.html +0 -0
  138. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Reconyx.html +0 -0
  139. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Ricoh.html +0 -0
  140. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Samsung.html +0 -0
  141. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Sanyo.html +0 -0
  142. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Scalado.html +0 -0
  143. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Shortcuts.html +0 -0
  144. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Sigma.html +0 -0
  145. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/SigmaRaw.html +0 -0
  146. data/bin/Image-ExifTool-10.40/html/TagNames/Sony.html +10305 -0
  147. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/SonyIDC.html +0 -0
  148. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Stim.html +0 -0
  149. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Theora.html +0 -0
  150. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Torrent.html +0 -0
  151. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Unknown.html +0 -0
  152. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/VCard.html +0 -0
  153. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/Vorbis.html +0 -0
  154. data/bin/Image-ExifTool-10.40/html/TagNames/XMP.html +10158 -0
  155. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/ZIP.html +0 -0
  156. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/iWork.html +0 -0
  157. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/index.html +0 -0
  158. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/TagNames/style.css +0 -0
  159. data/bin/Image-ExifTool-10.40/html/ancient_history.html +8365 -0
  160. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/canon_raw.html +0 -0
  161. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/commentary.html +0 -0
  162. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/config.html +0 -0
  163. data/bin/Image-ExifTool-10.40/html/data_members.html +286 -0
  164. data/bin/Image-ExifTool-10.40/html/exiftool_pod.html +1873 -0
  165. data/bin/Image-ExifTool-10.40/html/faq.html +1591 -0
  166. data/bin/Image-ExifTool-10.40/html/filename.html +353 -0
  167. data/bin/Image-ExifTool-10.40/html/geotag.html +661 -0
  168. data/bin/Image-ExifTool-10.40/html/history.html +317 -0
  169. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/htmldump.html +0 -0
  170. data/bin/Image-ExifTool-10.40/html/idiosyncracies.html +272 -0
  171. data/bin/Image-ExifTool-10.40/html/index.html +1363 -0
  172. data/bin/Image-ExifTool-10.40/html/install.html +261 -0
  173. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/metafiles.html +0 -0
  174. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/overview.png +0 -0
  175. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/standards.html +0 -0
  176. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/struct.html +0 -0
  177. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/style.css +0 -0
  178. data/bin/Image-ExifTool-10.40/html/under.html +137 -0
  179. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/verbose.html +0 -0
  180. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/html/writing.html +0 -0
  181. data/bin/Image-ExifTool-10.40/lib/File/RandomAccess.pm +378 -0
  182. data/bin/Image-ExifTool-10.40/lib/File/RandomAccess.pod +231 -0
  183. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool.pm +7773 -0
  184. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool.pod +2569 -0
  185. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/AES.pm +501 -0
  186. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/AFCP.pm +286 -0
  187. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/AIFF.pm +289 -0
  188. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/APE.pm +282 -0
  189. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/APP12.pm +322 -0
  190. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/ASF.pm +885 -0
  191. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Apple.pm +153 -0
  192. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Audible.pm +317 -0
  193. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/BMP.pm +361 -0
  194. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/BPG.pm +251 -0
  195. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/BZZ.pm +472 -0
  196. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/BigTIFF.pm +282 -0
  197. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/BuildTagLookup.pm +2562 -0
  198. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Canon.pm +8929 -0
  199. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/CanonCustom.pm +2667 -0
  200. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/CanonRaw.pm +910 -0
  201. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/CanonVRD.pm +2273 -0
  202. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/CaptureOne.pm +235 -0
  203. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Casio.pm +2060 -0
  204. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Charset.pm +423 -0
  205. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Arabic.pm +0 -0
  206. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Baltic.pm +0 -0
  207. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Cyrillic.pm +0 -0
  208. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Greek.pm +0 -0
  209. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Hebrew.pm +0 -0
  210. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/JIS.pm +0 -0
  211. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Latin.pm +0 -0
  212. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Latin2.pm +0 -0
  213. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacArabic.pm +0 -0
  214. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacChineseCN.pm +0 -0
  215. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacChineseTW.pm +0 -0
  216. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacCroatian.pm +0 -0
  217. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacCyrillic.pm +0 -0
  218. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacGreek.pm +0 -0
  219. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacHebrew.pm +0 -0
  220. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacIceland.pm +0 -0
  221. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacJapanese.pm +0 -0
  222. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacKorean.pm +0 -0
  223. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacLatin2.pm +0 -0
  224. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacRSymbol.pm +0 -0
  225. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacRoman.pm +0 -0
  226. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacRomanian.pm +0 -0
  227. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacThai.pm +0 -0
  228. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/MacTurkish.pm +0 -0
  229. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/PDFDoc.pm +0 -0
  230. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/ShiftJIS.pm +0 -0
  231. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Symbol.pm +0 -0
  232. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Thai.pm +0 -0
  233. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Turkish.pm +0 -0
  234. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/lib/Image/ExifTool/Charset/Vietnam.pm +0 -0
  235. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/DICOM.pm +3874 -0
  236. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/DJI.pm +71 -0
  237. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/DNG.pm +835 -0
  238. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/DPX.pm +182 -0
  239. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/DV.pm +319 -0
  240. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/DarwinCore.pm +322 -0
  241. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/DjVu.pm +376 -0
  242. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/EXE.pm +1401 -0
  243. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Exif.pm +6097 -0
  244. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/FLAC.pm +297 -0
  245. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/FLIF.pm +353 -0
  246. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/FLIR.pm +1535 -0
  247. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Fixup.pm +366 -0
  248. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Flash.pm +755 -0
  249. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/FlashPix.pm +1960 -0
  250. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Font.pm +647 -0
  251. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/FotoStation.pm +261 -0
  252. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/FujiFilm.pm +1264 -0
  253. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/GE.pm +81 -0
  254. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/GIF.pm +542 -0
  255. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/GIMP.pm +258 -0
  256. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/GPS.pm +559 -0
  257. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/GeoTiff.pm +2263 -0
  258. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Geotag.pm +1287 -0
  259. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/H264.pm +1110 -0
  260. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/HP.pm +263 -0
  261. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/HTML.pm +576 -0
  262. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/HtmlDump.pm +898 -0
  263. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/ICC_Profile.pm +1013 -0
  264. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/ID3.pm +1570 -0
  265. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/IPTC.pm +1264 -0
  266. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/ISO.pm +206 -0
  267. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/ITC.pm +215 -0
  268. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Import.pm +329 -0
  269. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/InDesign.pm +277 -0
  270. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/JPEG.pm +605 -0
  271. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/JPEGDigest.pm +2616 -0
  272. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/JVC.pm +130 -0
  273. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Jpeg2000.pm +898 -0
  274. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Kodak.pm +2096 -0
  275. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/KyoceraRaw.pm +173 -0
  276. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/LNK.pm +723 -0
  277. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/cs.pm +1588 -0
  278. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/de.pm +8692 -0
  279. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/en_ca.pm +940 -0
  280. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/en_gb.pm +983 -0
  281. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/es.pm +4019 -0
  282. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/fi.pm +2854 -0
  283. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/fr.pm +4758 -0
  284. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/it.pm +7918 -0
  285. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/ja.pm +5835 -0
  286. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/ko.pm +2330 -0
  287. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/nl.pm +3222 -0
  288. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/pl.pm +1276 -0
  289. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/ru.pm +768 -0
  290. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/sv.pm +638 -0
  291. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/tr.pm +544 -0
  292. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/zh_cn.pm +1330 -0
  293. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lang/zh_tw.pm +801 -0
  294. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Leaf.pm +517 -0
  295. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Lytro.pm +217 -0
  296. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/M2TS.pm +729 -0
  297. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MIE.pm +2564 -0
  298. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MIEUnits.pod +377 -0
  299. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MIFF.pm +279 -0
  300. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MNG.pm +684 -0
  301. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MOI.pm +158 -0
  302. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MPC.pm +156 -0
  303. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MPEG.pm +736 -0
  304. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MPF.pm +288 -0
  305. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MWG.pm +757 -0
  306. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MXF.pm +3031 -0
  307. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MakerNotes.pm +1745 -0
  308. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Matroska.pm +932 -0
  309. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Microsoft.pm +904 -0
  310. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Minolta.pm +2996 -0
  311. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/MinoltaRaw.pm +535 -0
  312. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Motorola.pm +62 -0
  313. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Nikon.pm +8173 -0
  314. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/NikonCapture.pm +940 -0
  315. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/NikonCustom.pm +8682 -0
  316. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Nintendo.pm +128 -0
  317. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/OOXML.pm +409 -0
  318. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Ogg.pm +240 -0
  319. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Olympus.pm +3998 -0
  320. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/OpenEXR.pm +323 -0
  321. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Opus.pm +98 -0
  322. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PDF.pm +2367 -0
  323. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PGF.pm +143 -0
  324. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PICT.pm +1260 -0
  325. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PLIST.pm +448 -0
  326. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PLUS.pm +2607 -0
  327. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PNG.pm +1255 -0
  328. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PPM.pm +169 -0
  329. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PSP.pm +306 -0
  330. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Palm.pm +403 -0
  331. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Panasonic.pm +2378 -0
  332. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PanasonicRaw.pm +643 -0
  333. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Pentax.pm +6135 -0
  334. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PhaseOne.pm +725 -0
  335. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PhotoCD.pm +507 -0
  336. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PhotoMechanic.pm +256 -0
  337. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Photoshop.pm +952 -0
  338. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PostScript.pm +699 -0
  339. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/PrintIM.pm +125 -0
  340. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Qualcomm.pm +1344 -0
  341. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/QuickTime.pm +6708 -0
  342. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/README +1010 -0
  343. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/RIFF.pm +1587 -0
  344. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/RSRC.pm +241 -0
  345. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/RTF.pm +383 -0
  346. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Radiance.pm +144 -0
  347. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Rawzor.pm +189 -0
  348. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Real.pm +739 -0
  349. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Reconyx.pm +190 -0
  350. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Ricoh.pm +1150 -0
  351. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Samsung.pm +1271 -0
  352. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Sanyo.pm +440 -0
  353. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Scalado.pm +141 -0
  354. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Shift.pl +627 -0
  355. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Shortcuts.pm +338 -0
  356. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Sigma.pm +764 -0
  357. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/SigmaRaw.pm +670 -0
  358. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Sony.pm +9800 -0
  359. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/SonyIDC.pm +333 -0
  360. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Stim.pm +196 -0
  361. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/TagInfoXML.pm +827 -0
  362. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/TagLookup.pm +9515 -0
  363. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/TagNames.pod +30714 -0
  364. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Theora.pm +145 -0
  365. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Torrent.pm +317 -0
  366. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Unknown.pm +66 -0
  367. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/VCard.pm +405 -0
  368. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Vorbis.pm +255 -0
  369. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WriteCanonRaw.pl +637 -0
  370. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WriteExif.pl +2483 -0
  371. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WriteIPTC.pl +706 -0
  372. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WritePDF.pl +771 -0
  373. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WritePNG.pl +390 -0
  374. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WritePhotoshop.pl +266 -0
  375. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WritePostScript.pl +772 -0
  376. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WriteQuickTime.pl +358 -0
  377. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/WriteXMP.pl +1381 -0
  378. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/Writer.pl +6322 -0
  379. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/XMP.pm +3897 -0
  380. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/XMP2.pl +1705 -0
  381. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/XMPStruct.pl +843 -0
  382. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/ZIP.pm +667 -0
  383. data/bin/Image-ExifTool-10.40/lib/Image/ExifTool/iWork.pm +223 -0
  384. data/bin/Image-ExifTool-10.40/perl-Image-ExifTool.spec +113 -0
  385. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/AFCP.t +0 -0
  386. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/AFCP_2.out +0 -0
  387. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/AFCP_3.out +0 -0
  388. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/AIFF.t +0 -0
  389. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/AIFF_2.out +0 -0
  390. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/APE.t +0 -0
  391. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/APE_2.out +0 -0
  392. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/APE_3.out +0 -0
  393. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ASF.t +0 -0
  394. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ASF_2.out +0 -0
  395. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Apple.t +0 -0
  396. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Apple_2.out +0 -0
  397. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Audible.t +0 -0
  398. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Audible_2.out +0 -0
  399. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/BMP.t +0 -0
  400. data/bin/Image-ExifTool-10.40/t/BMP_2.out +24 -0
  401. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/BPG.t +0 -0
  402. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/BPG_2.out +0 -0
  403. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/BigTIFF.t +0 -0
  404. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/BigTIFF_2.out +0 -0
  405. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Canon.t +0 -0
  406. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonRaw.t +0 -0
  407. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonRaw_2.out +0 -0
  408. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonRaw_4.out +0 -0
  409. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonRaw_5.out +0 -0
  410. data/bin/Image-ExifTool-10.40/t/CanonRaw_6.out +233 -0
  411. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonRaw_7.out +0 -0
  412. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD.t +0 -0
  413. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_11.out +0 -0
  414. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_12.out +0 -0
  415. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_13.out +0 -0
  416. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_14.out +0 -0
  417. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_15.out +0 -0
  418. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_16.out +0 -0
  419. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_17.out +0 -0
  420. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_18.out +0 -0
  421. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_19.out +0 -0
  422. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_2.out +0 -0
  423. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_20.out +0 -0
  424. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_21.out +0 -0
  425. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_3.out +0 -0
  426. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_4.out +0 -0
  427. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_5.out +0 -0
  428. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_6.out +0 -0
  429. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_7.out +0 -0
  430. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_8.out +0 -0
  431. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/CanonVRD_9.out +0 -0
  432. data/bin/Image-ExifTool-10.40/t/Canon_2.out +358 -0
  433. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Canon_3.out +0 -0
  434. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Casio.t +0 -0
  435. data/bin/Image-ExifTool-10.40/t/Casio_2.out +72 -0
  436. data/bin/Image-ExifTool-10.40/t/Casio_3.out +102 -0
  437. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Casio_4.out +0 -0
  438. data/bin/Image-ExifTool-10.40/t/Casio_5.out +80 -0
  439. data/bin/Image-ExifTool-10.40/t/Casio_6.out +117 -0
  440. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DICOM.t +0 -0
  441. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DICOM_2.out +0 -0
  442. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DNG.t +0 -0
  443. data/bin/Image-ExifTool-10.40/t/DNG_2.out +329 -0
  444. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DNG_3.out +0 -0
  445. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DPX.t +0 -0
  446. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DPX_2.out +0 -0
  447. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DV.t +0 -0
  448. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DV_2.out +0 -0
  449. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DjVu.t +0 -0
  450. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/DjVu_2.out +0 -0
  451. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/EXE.t +0 -0
  452. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/EXE_2.out +0 -0
  453. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/EXE_3.out +0 -0
  454. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/EXE_4.out +0 -0
  455. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/EXE_5.out +0 -0
  456. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/EXE_6.out +0 -0
  457. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/EXE_7.out +0 -0
  458. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool.t +0 -0
  459. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_16.out +0 -0
  460. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_17.out +0 -0
  461. data/bin/Image-ExifTool-10.40/t/ExifTool_2.out +427 -0
  462. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_20.out +0 -0
  463. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_21.out +0 -0
  464. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_22.out +0 -0
  465. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_23.out +0 -0
  466. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_24.out +0 -0
  467. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_25.out +0 -0
  468. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_26.out +0 -0
  469. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_27.out +0 -0
  470. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_28.out +0 -0
  471. data/bin/Image-ExifTool-10.40/t/ExifTool_29.out +426 -0
  472. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_3.out +0 -0
  473. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_30.out +0 -0
  474. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_4.out +0 -0
  475. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_5.out +0 -0
  476. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_6.out +0 -0
  477. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_7.out +0 -0
  478. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_8.out +0 -0
  479. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ExifTool_9.out +0 -0
  480. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLAC.t +0 -0
  481. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLAC_2.out +0 -0
  482. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLAC_3.out +0 -0
  483. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLIF.t +0 -0
  484. data/bin/Image-ExifTool-10.40/t/FLIF_2.out +51 -0
  485. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLIF_3.out +0 -0
  486. data/bin/Image-ExifTool-10.40/t/FLIF_4.out +18 -0
  487. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLIF_5.out +0 -0
  488. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLIF_6.out +0 -0
  489. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLIR.t +0 -0
  490. data/bin/Image-ExifTool-10.40/t/FLIR_2.out +118 -0
  491. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FLIR_3.out +0 -0
  492. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Flash.t +0 -0
  493. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FlashPix.t +0 -0
  494. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FlashPix_2.out +0 -0
  495. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Flash_2.out +0 -0
  496. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Flash_3.out +0 -0
  497. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Font.t +0 -0
  498. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Font_2.out +0 -0
  499. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Font_3.out +0 -0
  500. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Font_4.out +0 -0
  501. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Font_5.out +0 -0
  502. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Font_6.out +0 -0
  503. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Font_7.out +0 -0
  504. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FotoStation.t +0 -0
  505. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FotoStation_2.out +0 -0
  506. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FotoStation_3.out +0 -0
  507. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FujiFilm.t +0 -0
  508. data/bin/Image-ExifTool-10.40/t/FujiFilm_2.out +89 -0
  509. data/bin/Image-ExifTool-10.40/t/FujiFilm_3.out +90 -0
  510. data/bin/Image-ExifTool-10.40/t/FujiFilm_4.out +143 -0
  511. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/FujiFilm_5.out +0 -0
  512. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GE.t +0 -0
  513. data/bin/Image-ExifTool-10.40/t/GE_2.out +86 -0
  514. data/bin/Image-ExifTool-10.40/t/GE_3.out +86 -0
  515. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GIF.t +0 -0
  516. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GIF_2.out +0 -0
  517. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GIF_3.out +0 -0
  518. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GIF_4.out +0 -0
  519. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GIMP.t +0 -0
  520. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GIMP_2.out +0 -0
  521. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GPS.t +0 -0
  522. data/bin/Image-ExifTool-10.40/t/GPS_2.out +96 -0
  523. data/bin/Image-ExifTool-10.40/t/GPS_3.out +98 -0
  524. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GeoTiff.t +0 -0
  525. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GeoTiff_2.out +0 -0
  526. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GeoTiff_3.out +0 -0
  527. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/GeoTiff_4.out +0 -0
  528. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag.t +0 -0
  529. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_10.out +0 -0
  530. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_11.out +0 -0
  531. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_2.out +0 -0
  532. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_3.out +0 -0
  533. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_5.out +0 -0
  534. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_6.out +0 -0
  535. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_7.out +0 -0
  536. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_8.out +0 -0
  537. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Geotag_9.out +0 -0
  538. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/HTML.t +0 -0
  539. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/HTML_2.out +0 -0
  540. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/IPTC.t +0 -0
  541. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/IPTC_2.out +0 -0
  542. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/IPTC_4.out +0 -0
  543. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/IPTC_5.out +0 -0
  544. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/IPTC_6.out +0 -0
  545. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/IPTC_7.out +0 -0
  546. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/IPTC_8.out +0 -0
  547. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ISO.t +0 -0
  548. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ISO_2.out +0 -0
  549. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ITC.t +0 -0
  550. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ITC_2.out +0 -0
  551. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/InDesign.t +0 -0
  552. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/InDesign_2.out +0 -0
  553. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/InDesign_3.out +0 -0
  554. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/InDesign_4.out +0 -0
  555. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/JVC.t +0 -0
  556. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/JVC_2.out +0 -0
  557. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/JVC_3.out +0 -0
  558. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Jpeg2000.t +0 -0
  559. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Jpeg2000_2.out +0 -0
  560. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Jpeg2000_3.out +0 -0
  561. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Jpeg2000_4.out +0 -0
  562. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Kodak.t +0 -0
  563. data/bin/Image-ExifTool-10.40/t/Kodak_2.out +111 -0
  564. data/bin/Image-ExifTool-10.40/t/Kodak_3.out +121 -0
  565. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/KyoceraRaw.t +0 -0
  566. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/KyoceraRaw_2.out +0 -0
  567. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/LNK.t +0 -0
  568. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/LNK_2.out +0 -0
  569. data/bin/Image-ExifTool-10.40/t/Lang.t +42 -0
  570. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Lang_1.out +0 -0
  571. data/bin/Image-ExifTool-10.40/t/Lang_10.out +47 -0
  572. data/bin/Image-ExifTool-10.40/t/Lang_11.out +47 -0
  573. data/bin/Image-ExifTool-10.40/t/Lang_12.out +47 -0
  574. data/bin/Image-ExifTool-10.40/t/Lang_13.out +47 -0
  575. data/bin/Image-ExifTool-10.40/t/Lang_14.out +47 -0
  576. data/bin/Image-ExifTool-10.40/t/Lang_15.out +47 -0
  577. data/bin/Image-ExifTool-10.40/t/Lang_16.out +47 -0
  578. data/bin/Image-ExifTool-10.40/t/Lang_17.out +47 -0
  579. data/bin/Image-ExifTool-10.40/t/Lang_18.out +47 -0
  580. data/bin/Image-ExifTool-10.40/t/Lang_2.out +47 -0
  581. data/bin/Image-ExifTool-10.40/t/Lang_3.out +47 -0
  582. data/bin/Image-ExifTool-10.40/t/Lang_4.out +47 -0
  583. data/bin/Image-ExifTool-10.40/t/Lang_5.out +47 -0
  584. data/bin/Image-ExifTool-10.40/t/Lang_6.out +47 -0
  585. data/bin/Image-ExifTool-10.40/t/Lang_7.out +47 -0
  586. data/bin/Image-ExifTool-10.40/t/Lang_8.out +47 -0
  587. data/bin/Image-ExifTool-10.40/t/Lang_9.out +47 -0
  588. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Lytro.t +0 -0
  589. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Lytro_2.out +0 -0
  590. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/M2TS.t +0 -0
  591. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/M2TS_2.out +0 -0
  592. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MIE.t +0 -0
  593. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MIE_2.out +0 -0
  594. data/bin/Image-ExifTool-10.40/t/MIE_3.out +136 -0
  595. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MIE_5.out +0 -0
  596. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MIE_6.out +0 -0
  597. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MIFF.t +0 -0
  598. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MIFF_2.out +0 -0
  599. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MOI.t +0 -0
  600. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MOI_2.out +0 -0
  601. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MP3.t +0 -0
  602. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MP3_2.out +0 -0
  603. data/bin/Image-ExifTool-10.40/t/MWG.t +99 -0
  604. data/bin/Image-ExifTool-10.40/t/MWG_2.out +13 -0
  605. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MWG_3.out +0 -0
  606. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MWG_4.out +0 -0
  607. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MWG_5.out +0 -0
  608. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MWG_6.out +0 -0
  609. data/bin/Image-ExifTool-10.40/t/MWG_7.out +11 -0
  610. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MXF.t +0 -0
  611. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/MXF_2.out +0 -0
  612. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Matroska.t +0 -0
  613. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Matroska_2.out +0 -0
  614. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Minolta.t +0 -0
  615. data/bin/Image-ExifTool-10.40/t/Minolta_2.out +135 -0
  616. data/bin/Image-ExifTool-10.40/t/Minolta_3.out +148 -0
  617. data/bin/Image-ExifTool-10.40/t/Minolta_4.out +150 -0
  618. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Motorola.t +0 -0
  619. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Motorola_2.out +0 -0
  620. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Nikon.t +0 -0
  621. data/bin/Image-ExifTool-10.40/t/Nikon_2.out +84 -0
  622. data/bin/Image-ExifTool-10.40/t/Nikon_3.out +100 -0
  623. data/bin/Image-ExifTool-10.40/t/Nikon_4.out +176 -0
  624. data/bin/Image-ExifTool-10.40/t/Nikon_5.out +169 -0
  625. data/bin/Image-ExifTool-10.40/t/Nikon_7.out +261 -0
  626. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Nikon_8.out +0 -0
  627. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Olympus.t +0 -0
  628. data/bin/Image-ExifTool-10.40/t/Olympus_2.out +81 -0
  629. data/bin/Image-ExifTool-10.40/t/Olympus_3.out +83 -0
  630. data/bin/Image-ExifTool-10.40/t/Olympus_4.out +194 -0
  631. data/bin/Image-ExifTool-10.40/t/Olympus_5.out +266 -0
  632. data/bin/Image-ExifTool-10.40/t/Olympus_6.out +153 -0
  633. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Olympus_7.out +0 -0
  634. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Olympus_8.out +0 -0
  635. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/OpenEXR.t +0 -0
  636. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/OpenEXR_2.out +0 -0
  637. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Opus.t +0 -0
  638. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Opus_2.out +0 -0
  639. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF.t +0 -0
  640. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_10.out +0 -0
  641. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_11.out +0 -0
  642. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_12.out +0 -0
  643. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_14.out +0 -0
  644. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_15.out +0 -0
  645. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_16.out +0 -0
  646. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_17.out +0 -0
  647. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_18.out +0 -0
  648. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_19.out +0 -0
  649. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_2.out +0 -0
  650. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_20.out +0 -0
  651. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_22.out +0 -0
  652. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_4.out +0 -0
  653. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_5.out +0 -0
  654. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_6.out +0 -0
  655. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_7.out +0 -0
  656. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_8.out +0 -0
  657. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PDF_9.out +0 -0
  658. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PGF.t +0 -0
  659. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PGF_2.out +0 -0
  660. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PICT.t +0 -0
  661. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PICT_2.out +0 -0
  662. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PLIST.t +0 -0
  663. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PLIST_2.out +0 -0
  664. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PLIST_3.out +0 -0
  665. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PLUS.t +0 -0
  666. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PLUS_2.out +0 -0
  667. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PNG.t +0 -0
  668. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PNG_2.out +0 -0
  669. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PNG_3.out +0 -0
  670. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PNG_4.out +0 -0
  671. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PNG_5.out +0 -0
  672. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PPM.t +0 -0
  673. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PPM_2.out +0 -0
  674. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PPM_3.out +0 -0
  675. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PSP.t +0 -0
  676. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PSP_2.out +0 -0
  677. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Palm.t +0 -0
  678. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Palm_2.out +0 -0
  679. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Panasonic.t +0 -0
  680. data/bin/Image-ExifTool-10.40/t/Panasonic_2.out +101 -0
  681. data/bin/Image-ExifTool-10.40/t/Panasonic_3.out +121 -0
  682. data/bin/Image-ExifTool-10.40/t/Panasonic_4.out +206 -0
  683. data/bin/Image-ExifTool-10.40/t/Panasonic_5.out +244 -0
  684. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Pentax.t +0 -0
  685. data/bin/Image-ExifTool-10.40/t/Pentax_2.out +225 -0
  686. data/bin/Image-ExifTool-10.40/t/Pentax_3.out +266 -0
  687. data/bin/Image-ExifTool-10.40/t/Pentax_4.out +132 -0
  688. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PhaseOne.t +0 -0
  689. data/bin/Image-ExifTool-10.40/t/PhaseOne_2.out +99 -0
  690. data/bin/Image-ExifTool-10.40/t/PhaseOne_3.out +170 -0
  691. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PhotoCD.t +0 -0
  692. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PhotoCD_2.out +0 -0
  693. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PhotoMechanic.t +0 -0
  694. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PhotoMechanic_2.out +0 -0
  695. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PhotoMechanic_3.out +0 -0
  696. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Photoshop.t +0 -0
  697. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Photoshop_2.out +0 -0
  698. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Photoshop_3.out +0 -0
  699. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PostScript.t +0 -0
  700. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PostScript_2.out +0 -0
  701. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/PostScript_3.out +0 -0
  702. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/QuickTime.t +0 -0
  703. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/QuickTime_2.out +0 -0
  704. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/QuickTime_3.out +0 -0
  705. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/QuickTime_4.out +0 -0
  706. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/QuickTime_5.out +0 -0
  707. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/RIFF.t +0 -0
  708. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/RIFF_2.out +0 -0
  709. data/bin/Image-ExifTool-10.40/t/RIFF_3.out +55 -0
  710. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/RIFF_4.out +0 -0
  711. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/RTF.t +0 -0
  712. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/RTF_2.out +0 -0
  713. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Radiance.t +0 -0
  714. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Radiance_2.out +0 -0
  715. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Real.t +0 -0
  716. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Real_2.out +0 -0
  717. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Real_3.out +0 -0
  718. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Real_4.out +0 -0
  719. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Ricoh.t +0 -0
  720. data/bin/Image-ExifTool-10.40/t/Ricoh_2.out +72 -0
  721. data/bin/Image-ExifTool-10.40/t/Ricoh_3.out +100 -0
  722. data/bin/Image-ExifTool-10.40/t/Ricoh_4.out +114 -0
  723. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Sanyo.t +0 -0
  724. data/bin/Image-ExifTool-10.40/t/Sanyo_2.out +103 -0
  725. data/bin/Image-ExifTool-10.40/t/Sanyo_3.out +113 -0
  726. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Sigma.t +0 -0
  727. data/bin/Image-ExifTool-10.40/t/Sigma_2.out +93 -0
  728. data/bin/Image-ExifTool-10.40/t/Sigma_3.out +96 -0
  729. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Sigma_4.out +0 -0
  730. data/bin/Image-ExifTool-10.40/t/Sigma_5.out +194 -0
  731. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Sony.t +0 -0
  732. data/bin/Image-ExifTool-10.40/t/Sony_2.out +86 -0
  733. data/bin/Image-ExifTool-10.40/t/Sony_3.out +87 -0
  734. data/bin/Image-ExifTool-10.40/t/Sony_5.out +34 -0
  735. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/TestLib.pm +0 -0
  736. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Torrent.t +0 -0
  737. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Torrent_2.out +0 -0
  738. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Unknown.t +0 -0
  739. data/bin/Image-ExifTool-10.40/t/Unknown_2.out +92 -0
  740. data/bin/Image-ExifTool-10.40/t/Unknown_3.out +92 -0
  741. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/VCard.t +0 -0
  742. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/VCard_2.out +0 -0
  743. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/VCard_3.out +0 -0
  744. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Vorbis.t +0 -0
  745. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Vorbis_2.out +0 -0
  746. data/bin/Image-ExifTool-10.40/t/Writer.t +1071 -0
  747. data/bin/Image-ExifTool-10.40/t/Writer_10.out +246 -0
  748. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_11.out +0 -0
  749. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_13.out +0 -0
  750. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_14.out +0 -0
  751. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_15.out +0 -0
  752. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_16.out +0 -0
  753. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_17.out +0 -0
  754. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_18.out +0 -0
  755. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_19.out +0 -0
  756. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_2.out +0 -0
  757. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_22.out +0 -0
  758. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_24.out +0 -0
  759. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_25.out +0 -0
  760. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_26.out +0 -0
  761. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_27.out +0 -0
  762. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_28.out +0 -0
  763. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_29.out +0 -0
  764. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_30.out +0 -0
  765. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_31.out +0 -0
  766. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_32.out +0 -0
  767. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_33.out +0 -0
  768. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_34.out +0 -0
  769. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_35.out +0 -0
  770. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_36.out +0 -0
  771. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_37.out +0 -0
  772. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_38.out +0 -0
  773. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_39.out +0 -0
  774. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_4.out +0 -0
  775. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_40.out +0 -0
  776. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_41.out +0 -0
  777. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_42.out +0 -0
  778. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_43.out +0 -0
  779. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_44.out +0 -0
  780. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_45.out +0 -0
  781. data/bin/Image-ExifTool-10.40/t/Writer_46.out +111 -0
  782. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_47.out +0 -0
  783. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_48.out +0 -0
  784. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_50.out +0 -0
  785. data/bin/Image-ExifTool-10.40/t/Writer_51.out +414 -0
  786. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_52.out +0 -0
  787. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_53.out +0 -0
  788. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_54.out +0 -0
  789. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_55.out +0 -0
  790. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_56.out +0 -0
  791. data/bin/Image-ExifTool-10.40/t/Writer_58.out +44 -0
  792. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_6.out +0 -0
  793. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/Writer_7.out +0 -0
  794. data/bin/Image-ExifTool-10.40/t/Writer_9.out +243 -0
  795. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP.t +0 -0
  796. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_10.out +0 -0
  797. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_11.out +0 -0
  798. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_12.out +0 -0
  799. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_13.out +0 -0
  800. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_14.out +0 -0
  801. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_15.out +0 -0
  802. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_16.out +0 -0
  803. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_17.out +0 -0
  804. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_18.out +0 -0
  805. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_19.out +0 -0
  806. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_2.out +0 -0
  807. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_20.out +0 -0
  808. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_21.out +0 -0
  809. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_22.out +0 -0
  810. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_23.out +0 -0
  811. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_24.out +0 -0
  812. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_25.out +0 -0
  813. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_26.out +0 -0
  814. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_27.out +0 -0
  815. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_28.out +0 -0
  816. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_29.out +0 -0
  817. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_3.out +0 -0
  818. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_30.out +0 -0
  819. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_31.out +0 -0
  820. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_32.out +0 -0
  821. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_34.out +0 -0
  822. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_36.out +0 -0
  823. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_37.out +0 -0
  824. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_39.out +0 -0
  825. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_40.out +0 -0
  826. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_41.out +0 -0
  827. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_42.out +0 -0
  828. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_43.out +0 -0
  829. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_44.out +0 -0
  830. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_45.out +0 -0
  831. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_5.out +0 -0
  832. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_6.out +0 -0
  833. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_7.out +0 -0
  834. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_8.out +0 -0
  835. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/XMP_9.out +0 -0
  836. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ZIP.t +0 -0
  837. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ZIP_2.out +0 -0
  838. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ZIP_3.out +0 -0
  839. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ZIP_4.out +0 -0
  840. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ZIP_5.out +0 -0
  841. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ZIP_6.out +0 -0
  842. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/ZIP_7.out +0 -0
  843. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/AFCP.jpg +0 -0
  844. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/AIFF.aif +0 -0
  845. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/APE.ape +0 -0
  846. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/APE.mpc +0 -0
  847. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/ASF.wmv +0 -0
  848. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Apple.jpg +0 -0
  849. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Audible.aa +0 -0
  850. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/BMP.bmp +0 -0
  851. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/BPG.bpg +0 -0
  852. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/BigTIFF.btf +0 -0
  853. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Canon.jpg +0 -0
  854. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Canon1DmkIII.jpg +0 -0
  855. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/CanonRaw.cr2 +0 -0
  856. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/CanonRaw.crw +0 -0
  857. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/CanonVRD.dr4 +0 -0
  858. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/CanonVRD.vrd +0 -0
  859. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/CaptureOne.eip +0 -0
  860. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Casio.jpg +0 -0
  861. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Casio2.jpg +0 -0
  862. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/CasioQVCI.jpg +0 -0
  863. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/DICOM.dcm +0 -0
  864. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/DNG.dng +0 -0
  865. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/DPX.dpx +0 -0
  866. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/DV.dv +0 -0
  867. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/DjVu.djvu +0 -0
  868. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/EXE.a +0 -0
  869. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/EXE.dylib +0 -0
  870. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/EXE.elf +0 -0
  871. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/EXE.exe +0 -0
  872. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/EXE.macho +0 -0
  873. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/EXE.so +0 -0
  874. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/ExifTool.jpg +0 -0
  875. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/ExifTool.tif +0 -0
  876. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/ExtendedXMP.jpg +0 -0
  877. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FLAC.flac +0 -0
  878. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FLAC.ogg +0 -0
  879. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FLIF.flif +0 -0
  880. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FLIR.fpf +0 -0
  881. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FLIR.jpg +0 -0
  882. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Flash.flv +0 -0
  883. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Flash.swf +0 -0
  884. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FlashPix.ppt +0 -0
  885. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Font.afm +0 -0
  886. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Font.dfont +0 -0
  887. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Font.pfa +0 -0
  888. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Font.pfb +0 -0
  889. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Font.pfm +0 -0
  890. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Font.ttf +0 -0
  891. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FotoStation.jpg +0 -0
  892. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FujiFilm.jpg +0 -0
  893. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/FujiFilm.raf +0 -0
  894. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/GE.jpg +0 -0
  895. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/GIF.gif +0 -0
  896. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/GIMP.xcf +0 -0
  897. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/GPS.jpg +0 -0
  898. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/GeoTiff.tif +0 -0
  899. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Geotag.gpx +0 -0
  900. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Geotag.igc +0 -0
  901. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Geotag.kml +0 -0
  902. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Geotag.log +0 -0
  903. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Geotag.xml +0 -0
  904. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Geotag2.log +0 -0
  905. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Geotag3.log +0 -0
  906. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/HTML.html +0 -0
  907. data/bin/Image-ExifTool-10.40/t/images/ICC_Profile.icc +0 -0
  908. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/IPTC.jpg +0 -0
  909. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/ISO.iso +0 -0
  910. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/ITC.itc +0 -0
  911. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/InDesign.indd +0 -0
  912. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/JVC.jpg +0 -0
  913. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/JVC2.jpg +0 -0
  914. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Jpeg2000.j2c +0 -0
  915. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Jpeg2000.jp2 +0 -0
  916. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Kodak.jpg +0 -0
  917. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/KyoceraRaw.raw +0 -0
  918. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/LNK.lnk +0 -0
  919. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Lytro.lfp +0 -0
  920. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/M2TS.mts +0 -0
  921. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/MIE.mie +0 -0
  922. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/MIFF.miff +0 -0
  923. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/MOI.moi +0 -0
  924. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/MP3.mp3 +0 -0
  925. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/MWG.jpg +0 -0
  926. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/MXF.mxf +0 -0
  927. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Matroska.mkv +0 -0
  928. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Minolta.jpg +0 -0
  929. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Minolta.mrw +0 -0
  930. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Motorola.jpg +0 -0
  931. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Nikon.jpg +0 -0
  932. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Nikon.nef +0 -0
  933. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/NikonD2Hs.jpg +0 -0
  934. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/NikonD70.jpg +0 -0
  935. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/OOXML.docx +0 -0
  936. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Olympus.dss +0 -0
  937. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Olympus.jpg +0 -0
  938. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Olympus2.jpg +0 -0
  939. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/OlympusE1.jpg +0 -0
  940. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/OpenDoc.ods +0 -0
  941. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/OpenEXR.exr +0 -0
  942. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Opus.opus +0 -0
  943. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PDF.pdf +0 -0
  944. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PDF2.pdf +0 -0
  945. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PGF.pgf +0 -0
  946. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PICT.pict +0 -0
  947. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PLIST-bin.plist +0 -0
  948. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PLIST-xml.plist +0 -0
  949. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PLUS.xmp +0 -0
  950. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PNG.png +0 -0
  951. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PPM.ppm +0 -0
  952. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PSP.psp +0 -0
  953. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Palm.mobi +0 -0
  954. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Panasonic.jpg +0 -0
  955. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Panasonic.rw2 +0 -0
  956. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Pentax.avi +0 -0
  957. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Pentax.jpg +0 -0
  958. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PhaseOne.iiq +0 -0
  959. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PhotoCD.pcd +0 -0
  960. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PhotoMechanic.jpg +0 -0
  961. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Photoshop.psd +0 -0
  962. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/PostScript.eps +0 -0
  963. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/QuickTime.m4a +0 -0
  964. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/QuickTime.mov +0 -0
  965. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/RIFF.avi +0 -0
  966. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/RIFF.wav +0 -0
  967. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/RIFF.webp +0 -0
  968. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/RTF.rtf +0 -0
  969. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Radiance.hdr +0 -0
  970. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Real.ra +0 -0
  971. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Real.ram +0 -0
  972. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Real.rm +0 -0
  973. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Ricoh.jpg +0 -0
  974. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Ricoh2.jpg +0 -0
  975. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Sanyo.jpg +0 -0
  976. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Sigma.jpg +0 -0
  977. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Sigma.x3f +0 -0
  978. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/SigmaDP2.x3f +0 -0
  979. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Sony.jpg +0 -0
  980. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Sony.pmp +0 -0
  981. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Torrent.torrent +0 -0
  982. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Unknown.jpg +0 -0
  983. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/VCard.ics +0 -0
  984. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/VCard.vcf +0 -0
  985. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Vorbis.ogg +0 -0
  986. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/Writer.jpg +0 -0
  987. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP.inx +0 -0
  988. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP.jpg +0 -0
  989. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP.svg +0 -0
  990. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP.xml +0 -0
  991. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP.xmp +0 -0
  992. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP2.xmp +0 -0
  993. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP3.xmp +0 -0
  994. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP4.xmp +0 -0
  995. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP5.xmp +0 -0
  996. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/XMP6.xmp +0 -0
  997. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/ZIP.gz +0 -0
  998. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/ZIP.zip +0 -0
  999. data/bin/{Image-ExifTool-10.31 → Image-ExifTool-10.40}/t/images/iWork.numbers +0 -0
  1000. data/lib/exiftool_vendored/version.rb +1 -1
  1001. metadata +1000 -997
  1002. data/bin/Image-ExifTool-10.31/Changes +0 -7604
  1003. data/bin/Image-ExifTool-10.31/MANIFEST +0 -995
  1004. data/bin/Image-ExifTool-10.31/META.json +0 -51
  1005. data/bin/Image-ExifTool-10.31/META.yml +0 -31
  1006. data/bin/Image-ExifTool-10.31/README +0 -239
  1007. data/bin/Image-ExifTool-10.31/config_files/time_zone.config +0 -56
  1008. data/bin/Image-ExifTool-10.31/exiftool +0 -6431
  1009. data/bin/Image-ExifTool-10.31/html/ExifTool.html +0 -2114
  1010. data/bin/Image-ExifTool-10.31/html/Shift.html +0 -209
  1011. data/bin/Image-ExifTool-10.31/html/TagNames/BMP.html +0 -110
  1012. data/bin/Image-ExifTool-10.31/html/TagNames/Canon.html +0 -9740
  1013. data/bin/Image-ExifTool-10.31/html/TagNames/Composite.html +0 -739
  1014. data/bin/Image-ExifTool-10.31/html/TagNames/EXIF.html +0 -3482
  1015. data/bin/Image-ExifTool-10.31/html/TagNames/Extra.html +0 -469
  1016. data/bin/Image-ExifTool-10.31/html/TagNames/FLIF.html +0 -79
  1017. data/bin/Image-ExifTool-10.31/html/TagNames/FlashPix.html +0 -1465
  1018. data/bin/Image-ExifTool-10.31/html/TagNames/FujiFilm.html +0 -849
  1019. data/bin/Image-ExifTool-10.31/html/TagNames/MWG.html +0 -584
  1020. data/bin/Image-ExifTool-10.31/html/TagNames/Minolta.html +0 -2633
  1021. data/bin/Image-ExifTool-10.31/html/TagNames/Nikon.html +0 -6002
  1022. data/bin/Image-ExifTool-10.31/html/TagNames/Olympus.html +0 -3655
  1023. data/bin/Image-ExifTool-10.31/html/TagNames/Panasonic.html +0 -1700
  1024. data/bin/Image-ExifTool-10.31/html/TagNames/PhaseOne.html +0 -253
  1025. data/bin/Image-ExifTool-10.31/html/TagNames/Photoshop.html +0 -739
  1026. data/bin/Image-ExifTool-10.31/html/TagNames/Sony.html +0 -10219
  1027. data/bin/Image-ExifTool-10.31/html/TagNames/XMP.html +0 -9332
  1028. data/bin/Image-ExifTool-10.31/html/ancient_history.html +0 -8209
  1029. data/bin/Image-ExifTool-10.31/html/data_members.html +0 -280
  1030. data/bin/Image-ExifTool-10.31/html/exiftool_pod.html +0 -2567
  1031. data/bin/Image-ExifTool-10.31/html/faq.html +0 -1589
  1032. data/bin/Image-ExifTool-10.31/html/filename.html +0 -352
  1033. data/bin/Image-ExifTool-10.31/html/geotag.html +0 -658
  1034. data/bin/Image-ExifTool-10.31/html/history.html +0 -375
  1035. data/bin/Image-ExifTool-10.31/html/idiosyncracies.html +0 -272
  1036. data/bin/Image-ExifTool-10.31/html/index.html +0 -1358
  1037. data/bin/Image-ExifTool-10.31/html/install.html +0 -259
  1038. data/bin/Image-ExifTool-10.31/html/under.html +0 -128
  1039. data/bin/Image-ExifTool-10.31/lib/File/RandomAccess.pm +0 -378
  1040. data/bin/Image-ExifTool-10.31/lib/File/RandomAccess.pod +0 -231
  1041. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool.pm +0 -7765
  1042. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool.pod +0 -2556
  1043. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/AES.pm +0 -501
  1044. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/AFCP.pm +0 -286
  1045. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/AIFF.pm +0 -289
  1046. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/APE.pm +0 -282
  1047. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/APP12.pm +0 -322
  1048. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/ASF.pm +0 -885
  1049. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Apple.pm +0 -153
  1050. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Audible.pm +0 -317
  1051. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/BMP.pm +0 -179
  1052. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/BPG.pm +0 -251
  1053. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/BZZ.pm +0 -472
  1054. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/BigTIFF.pm +0 -282
  1055. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/BuildTagLookup.pm +0 -2563
  1056. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Canon.pm +0 -8926
  1057. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/CanonCustom.pm +0 -2667
  1058. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/CanonRaw.pm +0 -910
  1059. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/CanonVRD.pm +0 -2273
  1060. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/CaptureOne.pm +0 -235
  1061. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Casio.pm +0 -2058
  1062. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Charset.pm +0 -423
  1063. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/DICOM.pm +0 -3874
  1064. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/DJI.pm +0 -71
  1065. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/DNG.pm +0 -835
  1066. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/DPX.pm +0 -182
  1067. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/DV.pm +0 -319
  1068. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/DarwinCore.pm +0 -322
  1069. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/DjVu.pm +0 -376
  1070. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/EXE.pm +0 -1401
  1071. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Exif.pm +0 -6038
  1072. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/FLAC.pm +0 -297
  1073. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/FLIF.pm +0 -345
  1074. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/FLIR.pm +0 -1533
  1075. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Fixup.pm +0 -366
  1076. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Flash.pm +0 -755
  1077. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/FlashPix.pm +0 -1935
  1078. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Font.pm +0 -647
  1079. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/FotoStation.pm +0 -261
  1080. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/FujiFilm.pm +0 -1257
  1081. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/GE.pm +0 -81
  1082. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/GIF.pm +0 -542
  1083. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/GIMP.pm +0 -258
  1084. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/GPS.pm +0 -558
  1085. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/GeoTiff.pm +0 -2263
  1086. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Geotag.pm +0 -1287
  1087. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/H264.pm +0 -1110
  1088. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/HP.pm +0 -263
  1089. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/HTML.pm +0 -576
  1090. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/HtmlDump.pm +0 -898
  1091. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/ICC_Profile.pm +0 -1013
  1092. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/ID3.pm +0 -1570
  1093. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/IPTC.pm +0 -1264
  1094. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/ISO.pm +0 -206
  1095. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/ITC.pm +0 -215
  1096. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Import.pm +0 -329
  1097. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/InDesign.pm +0 -277
  1098. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/JPEG.pm +0 -605
  1099. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/JPEGDigest.pm +0 -2616
  1100. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/JVC.pm +0 -130
  1101. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Jpeg2000.pm +0 -898
  1102. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Kodak.pm +0 -2096
  1103. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/KyoceraRaw.pm +0 -173
  1104. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/LNK.pm +0 -723
  1105. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/cs.pm +0 -1588
  1106. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/de.pm +0 -8692
  1107. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/en_ca.pm +0 -934
  1108. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/en_gb.pm +0 -977
  1109. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/es.pm +0 -4019
  1110. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/fi.pm +0 -2854
  1111. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/fr.pm +0 -4758
  1112. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/it.pm +0 -7918
  1113. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/ja.pm +0 -5835
  1114. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/ko.pm +0 -2330
  1115. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/nl.pm +0 -3222
  1116. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/pl.pm +0 -1276
  1117. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/ru.pm +0 -768
  1118. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/sv.pm +0 -638
  1119. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/tr.pm +0 -544
  1120. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/zh_cn.pm +0 -1330
  1121. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lang/zh_tw.pm +0 -801
  1122. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Leaf.pm +0 -517
  1123. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Lytro.pm +0 -217
  1124. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/M2TS.pm +0 -729
  1125. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MIE.pm +0 -2564
  1126. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MIEUnits.pod +0 -377
  1127. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MIFF.pm +0 -279
  1128. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MNG.pm +0 -684
  1129. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MOI.pm +0 -158
  1130. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MPC.pm +0 -156
  1131. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MPEG.pm +0 -736
  1132. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MPF.pm +0 -292
  1133. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MWG.pm +0 -751
  1134. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MXF.pm +0 -3031
  1135. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MakerNotes.pm +0 -1745
  1136. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Matroska.pm +0 -932
  1137. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Microsoft.pm +0 -904
  1138. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Minolta.pm +0 -2993
  1139. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/MinoltaRaw.pm +0 -535
  1140. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Motorola.pm +0 -62
  1141. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Nikon.pm +0 -8155
  1142. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/NikonCapture.pm +0 -940
  1143. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/NikonCustom.pm +0 -8682
  1144. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Nintendo.pm +0 -128
  1145. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/OOXML.pm +0 -409
  1146. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Ogg.pm +0 -240
  1147. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Olympus.pm +0 -3989
  1148. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/OpenEXR.pm +0 -323
  1149. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Opus.pm +0 -98
  1150. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PDF.pm +0 -2367
  1151. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PGF.pm +0 -143
  1152. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PICT.pm +0 -1260
  1153. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PLIST.pm +0 -448
  1154. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PLUS.pm +0 -2607
  1155. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PNG.pm +0 -1255
  1156. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PPM.pm +0 -169
  1157. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PSP.pm +0 -306
  1158. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Palm.pm +0 -403
  1159. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Panasonic.pm +0 -2374
  1160. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PanasonicRaw.pm +0 -643
  1161. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Pentax.pm +0 -6133
  1162. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PhaseOne.pm +0 -707
  1163. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PhotoCD.pm +0 -507
  1164. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PhotoMechanic.pm +0 -256
  1165. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Photoshop.pm +0 -939
  1166. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PostScript.pm +0 -699
  1167. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/PrintIM.pm +0 -125
  1168. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Qualcomm.pm +0 -1344
  1169. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/QuickTime.pm +0 -6697
  1170. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/README +0 -1000
  1171. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/RIFF.pm +0 -1587
  1172. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/RSRC.pm +0 -241
  1173. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/RTF.pm +0 -383
  1174. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Radiance.pm +0 -144
  1175. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Rawzor.pm +0 -189
  1176. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Real.pm +0 -739
  1177. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Reconyx.pm +0 -190
  1178. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Ricoh.pm +0 -1148
  1179. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Samsung.pm +0 -1269
  1180. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Sanyo.pm +0 -440
  1181. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Scalado.pm +0 -141
  1182. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Shift.pl +0 -627
  1183. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Shortcuts.pm +0 -338
  1184. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Sigma.pm +0 -760
  1185. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/SigmaRaw.pm +0 -670
  1186. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Sony.pm +0 -9634
  1187. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/SonyIDC.pm +0 -332
  1188. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Stim.pm +0 -196
  1189. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/TagInfoXML.pm +0 -827
  1190. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/TagLookup.pm +0 -9367
  1191. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/TagNames.pod +0 -30437
  1192. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Theora.pm +0 -145
  1193. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Torrent.pm +0 -317
  1194. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Unknown.pm +0 -66
  1195. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/VCard.pm +0 -405
  1196. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Vorbis.pm +0 -255
  1197. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WriteCanonRaw.pl +0 -637
  1198. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WriteExif.pl +0 -2472
  1199. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WriteIPTC.pl +0 -706
  1200. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WritePDF.pl +0 -771
  1201. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WritePNG.pl +0 -390
  1202. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WritePhotoshop.pl +0 -266
  1203. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WritePostScript.pl +0 -772
  1204. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WriteQuickTime.pl +0 -358
  1205. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/WriteXMP.pl +0 -1381
  1206. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/Writer.pl +0 -6260
  1207. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/XMP.pm +0 -4087
  1208. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/XMP2.pl +0 -1321
  1209. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/XMPStruct.pl +0 -843
  1210. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/ZIP.pm +0 -667
  1211. data/bin/Image-ExifTool-10.31/lib/Image/ExifTool/iWork.pm +0 -223
  1212. data/bin/Image-ExifTool-10.31/perl-Image-ExifTool.spec +0 -113
  1213. data/bin/Image-ExifTool-10.31/t/BMP_2.out +0 -23
  1214. data/bin/Image-ExifTool-10.31/t/CanonRaw_6.out +0 -233
  1215. data/bin/Image-ExifTool-10.31/t/Canon_2.out +0 -358
  1216. data/bin/Image-ExifTool-10.31/t/Casio_2.out +0 -72
  1217. data/bin/Image-ExifTool-10.31/t/Casio_3.out +0 -102
  1218. data/bin/Image-ExifTool-10.31/t/Casio_5.out +0 -80
  1219. data/bin/Image-ExifTool-10.31/t/Casio_6.out +0 -117
  1220. data/bin/Image-ExifTool-10.31/t/DNG_2.out +0 -329
  1221. data/bin/Image-ExifTool-10.31/t/ExifTool_2.out +0 -427
  1222. data/bin/Image-ExifTool-10.31/t/ExifTool_29.out +0 -426
  1223. data/bin/Image-ExifTool-10.31/t/FLIF_2.out +0 -50
  1224. data/bin/Image-ExifTool-10.31/t/FLIF_4.out +0 -17
  1225. data/bin/Image-ExifTool-10.31/t/FLIR_2.out +0 -118
  1226. data/bin/Image-ExifTool-10.31/t/FujiFilm_2.out +0 -89
  1227. data/bin/Image-ExifTool-10.31/t/FujiFilm_3.out +0 -90
  1228. data/bin/Image-ExifTool-10.31/t/FujiFilm_4.out +0 -143
  1229. data/bin/Image-ExifTool-10.31/t/GE_2.out +0 -86
  1230. data/bin/Image-ExifTool-10.31/t/GE_3.out +0 -86
  1231. data/bin/Image-ExifTool-10.31/t/GPS_2.out +0 -96
  1232. data/bin/Image-ExifTool-10.31/t/GPS_3.out +0 -98
  1233. data/bin/Image-ExifTool-10.31/t/Kodak_2.out +0 -111
  1234. data/bin/Image-ExifTool-10.31/t/Kodak_3.out +0 -121
  1235. data/bin/Image-ExifTool-10.31/t/Lang.t +0 -40
  1236. data/bin/Image-ExifTool-10.31/t/Lang_10.out +0 -46
  1237. data/bin/Image-ExifTool-10.31/t/Lang_11.out +0 -46
  1238. data/bin/Image-ExifTool-10.31/t/Lang_12.out +0 -46
  1239. data/bin/Image-ExifTool-10.31/t/Lang_13.out +0 -46
  1240. data/bin/Image-ExifTool-10.31/t/Lang_14.out +0 -46
  1241. data/bin/Image-ExifTool-10.31/t/Lang_15.out +0 -46
  1242. data/bin/Image-ExifTool-10.31/t/Lang_16.out +0 -46
  1243. data/bin/Image-ExifTool-10.31/t/Lang_17.out +0 -46
  1244. data/bin/Image-ExifTool-10.31/t/Lang_18.out +0 -46
  1245. data/bin/Image-ExifTool-10.31/t/Lang_2.out +0 -46
  1246. data/bin/Image-ExifTool-10.31/t/Lang_3.out +0 -46
  1247. data/bin/Image-ExifTool-10.31/t/Lang_4.out +0 -46
  1248. data/bin/Image-ExifTool-10.31/t/Lang_5.out +0 -46
  1249. data/bin/Image-ExifTool-10.31/t/Lang_6.out +0 -46
  1250. data/bin/Image-ExifTool-10.31/t/Lang_7.out +0 -46
  1251. data/bin/Image-ExifTool-10.31/t/Lang_8.out +0 -46
  1252. data/bin/Image-ExifTool-10.31/t/Lang_9.out +0 -46
  1253. data/bin/Image-ExifTool-10.31/t/MIE_3.out +0 -136
  1254. data/bin/Image-ExifTool-10.31/t/MWG.t +0 -90
  1255. data/bin/Image-ExifTool-10.31/t/MWG_2.out +0 -13
  1256. data/bin/Image-ExifTool-10.31/t/Minolta_2.out +0 -135
  1257. data/bin/Image-ExifTool-10.31/t/Minolta_3.out +0 -148
  1258. data/bin/Image-ExifTool-10.31/t/Minolta_4.out +0 -150
  1259. data/bin/Image-ExifTool-10.31/t/Nikon_2.out +0 -84
  1260. data/bin/Image-ExifTool-10.31/t/Nikon_3.out +0 -100
  1261. data/bin/Image-ExifTool-10.31/t/Nikon_4.out +0 -176
  1262. data/bin/Image-ExifTool-10.31/t/Nikon_5.out +0 -169
  1263. data/bin/Image-ExifTool-10.31/t/Nikon_7.out +0 -261
  1264. data/bin/Image-ExifTool-10.31/t/Olympus_2.out +0 -81
  1265. data/bin/Image-ExifTool-10.31/t/Olympus_3.out +0 -83
  1266. data/bin/Image-ExifTool-10.31/t/Olympus_4.out +0 -194
  1267. data/bin/Image-ExifTool-10.31/t/Olympus_5.out +0 -266
  1268. data/bin/Image-ExifTool-10.31/t/Olympus_6.out +0 -153
  1269. data/bin/Image-ExifTool-10.31/t/Panasonic_2.out +0 -101
  1270. data/bin/Image-ExifTool-10.31/t/Panasonic_3.out +0 -121
  1271. data/bin/Image-ExifTool-10.31/t/Panasonic_4.out +0 -206
  1272. data/bin/Image-ExifTool-10.31/t/Panasonic_5.out +0 -244
  1273. data/bin/Image-ExifTool-10.31/t/Pentax_2.out +0 -225
  1274. data/bin/Image-ExifTool-10.31/t/Pentax_3.out +0 -266
  1275. data/bin/Image-ExifTool-10.31/t/Pentax_4.out +0 -131
  1276. data/bin/Image-ExifTool-10.31/t/PhaseOne_2.out +0 -99
  1277. data/bin/Image-ExifTool-10.31/t/PhaseOne_3.out +0 -170
  1278. data/bin/Image-ExifTool-10.31/t/RIFF_3.out +0 -54
  1279. data/bin/Image-ExifTool-10.31/t/Ricoh_2.out +0 -72
  1280. data/bin/Image-ExifTool-10.31/t/Ricoh_3.out +0 -100
  1281. data/bin/Image-ExifTool-10.31/t/Ricoh_4.out +0 -114
  1282. data/bin/Image-ExifTool-10.31/t/Sanyo_2.out +0 -103
  1283. data/bin/Image-ExifTool-10.31/t/Sanyo_3.out +0 -113
  1284. data/bin/Image-ExifTool-10.31/t/Sigma_2.out +0 -93
  1285. data/bin/Image-ExifTool-10.31/t/Sigma_3.out +0 -96
  1286. data/bin/Image-ExifTool-10.31/t/Sigma_5.out +0 -194
  1287. data/bin/Image-ExifTool-10.31/t/Sony_2.out +0 -86
  1288. data/bin/Image-ExifTool-10.31/t/Sony_3.out +0 -87
  1289. data/bin/Image-ExifTool-10.31/t/Sony_5.out +0 -34
  1290. data/bin/Image-ExifTool-10.31/t/Unknown_2.out +0 -92
  1291. data/bin/Image-ExifTool-10.31/t/Unknown_3.out +0 -92
  1292. data/bin/Image-ExifTool-10.31/t/Writer.t +0 -999
  1293. data/bin/Image-ExifTool-10.31/t/Writer_10.out +0 -246
  1294. data/bin/Image-ExifTool-10.31/t/Writer_46.out +0 -107
  1295. data/bin/Image-ExifTool-10.31/t/Writer_51.out +0 -414
  1296. data/bin/Image-ExifTool-10.31/t/Writer_9.out +0 -243
@@ -0,0 +1,282 @@
1
+ #------------------------------------------------------------------------------
2
+ # File: BigTIFF.pm
3
+ #
4
+ # Description: Read Big TIFF meta information
5
+ #
6
+ # Revisions: 07/03/2007 - P. Harvey Created
7
+ #
8
+ # References: 1) http://www.awaresystems.be/imaging/tiff/bigtiff.html
9
+ #------------------------------------------------------------------------------
10
+
11
+ package Image::ExifTool::BigTIFF;
12
+
13
+ use strict;
14
+ use vars qw($VERSION);
15
+ use Image::ExifTool qw(:DataAccess :Utils);
16
+ use Image::ExifTool::Exif;
17
+
18
+ $VERSION = '1.06';
19
+
20
+ my $maxOffset = 0x7fffffff; # currently supported maximum data offset/size
21
+
22
+ #------------------------------------------------------------------------------
23
+ # Process Big IFD directory
24
+ # Inputs: 0) ExifTool object ref, 1) dirInfo ref, 2) tag table ref
25
+ # Returns: 1 on success, otherwise returns 0 and sets a Warning
26
+ sub ProcessBigIFD($$$)
27
+ {
28
+ my ($et, $dirInfo, $tagTablePtr) = @_;
29
+ my $raf = $$dirInfo{RAF};
30
+ my $verbose = $$et{OPTIONS}{Verbose};
31
+ my $htmlDump = $$et{HTML_DUMP};
32
+ my $dirName = $$dirInfo{DirName};
33
+ my $dirStart = $$dirInfo{DirStart};
34
+
35
+ $verbose = -1 if $htmlDump; # mix htmlDump into verbose so we can test for both at once
36
+
37
+ # loop through IFD chain
38
+ for (;;) {
39
+ if ($dirStart > $maxOffset and not $et->Options('LargeFileSupport')) {
40
+ $et->Warn('Huge offsets not supported (LargeFileSupport not set)');
41
+ last;
42
+ }
43
+ unless ($raf->Seek($dirStart, 0)) {
44
+ $et->Warn("Bad $dirName offset");
45
+ return 0;
46
+ }
47
+ my ($dirBuff, $index);
48
+ unless ($raf->Read($dirBuff, 8) == 8) {
49
+ $et->Warn("Truncated $dirName count");
50
+ return 0;
51
+ }
52
+ my $numEntries = Image::ExifTool::Get64u(\$dirBuff, 0);
53
+ $verbose > 0 and $et->VerboseDir($dirName, $numEntries);
54
+ my $bsize = $numEntries * 20;
55
+ if ($bsize > $maxOffset) {
56
+ $et->Warn('Huge directory counts not yet supported');
57
+ last;
58
+ }
59
+ my $bufPos = $raf->Tell();
60
+ unless ($raf->Read($dirBuff, $bsize) == $bsize) {
61
+ $et->Warn("Truncated $dirName directory");
62
+ return 0;
63
+ }
64
+ my $nextIFD;
65
+ $raf->Read($nextIFD, 8) == 8 or undef $nextIFD; # try to read next IFD pointer
66
+ if ($htmlDump) {
67
+ $et->HDump($bufPos-8, 8, "$dirName entries", "Entry count: $numEntries");
68
+ if (defined $nextIFD) {
69
+ my $tip = sprintf("Offset: 0x%.8x", Image::ExifTool::Get64u(\$nextIFD, 0));
70
+ $et->HDump($bufPos + 20 * $numEntries, 8, "Next IFD", $tip, 0);
71
+ }
72
+ }
73
+ # loop through all entries in this BigTIFF IFD
74
+ for ($index=0; $index<$numEntries; ++$index) {
75
+ my $entry = 20 * $index;
76
+ my $tagID = Get16u(\$dirBuff, $entry);
77
+ my $format = Get16u(\$dirBuff, $entry+2);
78
+ my $count = Image::ExifTool::Get64u(\$dirBuff, $entry+4);
79
+ my $formatSize = $Image::ExifTool::Exif::formatSize[$format];
80
+ unless (defined $formatSize) {
81
+ $et->HDump($bufPos+$entry,20,"[invalid IFD entry]",
82
+ "Bad format value: $format", 1);
83
+ # warn unless the IFD was just padded with zeros
84
+ $et->Warn(sprintf("Unknown format ($format) for $dirName tag 0x%x",$tagID));
85
+ return 0; # assume corrupted IFD
86
+ }
87
+ my $formatStr = $Image::ExifTool::Exif::formatName[$format];
88
+ my $size = $count * $formatSize;
89
+ my $tagInfo = $et->GetTagInfo($tagTablePtr, $tagID);
90
+ next unless defined $tagInfo or $verbose;
91
+ my $valuePtr = $entry + 12;
92
+ my ($valBuff, $valBase, $rational);
93
+ if ($size > 8) {
94
+ if ($size > $maxOffset) {
95
+ $et->Warn("Can't handle $dirName entry $index (huge size)");
96
+ next;
97
+ }
98
+ $valuePtr = Image::ExifTool::Get64u(\$dirBuff, $valuePtr);
99
+ if ($valuePtr > $maxOffset and not $et->Options('LargeFileSupport')) {
100
+ $et->Warn("Can't handle $dirName entry $index (LargeFileSupport not set)");
101
+ next;
102
+ }
103
+ unless ($raf->Seek($valuePtr, 0) and $raf->Read($valBuff, $size) == $size) {
104
+ $et->Warn("Error reading $dirName entry $index");
105
+ next;
106
+ }
107
+ $valBase = 0;
108
+ } else {
109
+ $valBuff = substr($dirBuff, $valuePtr, $size);
110
+ $valBase = $bufPos;
111
+ }
112
+ if (defined $tagInfo and not $tagInfo) {
113
+ # GetTagInfo() required the value for a Condition
114
+ $tagInfo = $et->GetTagInfo($tagTablePtr, $tagID, \$valBuff);
115
+ }
116
+ my $val = ReadValue(\$valBuff, 0, $formatStr, $count, $size, \$rational);
117
+ if ($htmlDump) {
118
+ my $tval = $val;
119
+ # show numerator/denominator separately for rational numbers
120
+ $tval .= " ($rational)" if defined $rational;
121
+ my ($tagName, $colName);
122
+ if ($tagID == 0x927c and $dirName eq 'ExifIFD') {
123
+ $tagName = 'MakerNotes';
124
+ } elsif ($tagInfo) {
125
+ $tagName = $$tagInfo{Name};
126
+ } else {
127
+ $tagName = sprintf("Tag 0x%.4x",$tagID);
128
+ }
129
+ my $dname = sprintf("$dirName-%.2d", $index);
130
+ # build our tool tip
131
+ my $tip = sprintf("Tag ID: 0x%.4x\n", $tagID) .
132
+ "Format: $formatStr\[$count]\nSize: $size bytes\n";
133
+ if ($size > 8) {
134
+ $tip .= sprintf("Value offset: 0x%.8x\n", $valuePtr);
135
+ $colName = "<span class=H>$tagName</span>";
136
+ } else {
137
+ $colName = $tagName;
138
+ }
139
+ $tval = substr($tval,0,28) . '[...]' if length($tval) > 32;
140
+ if ($formatStr =~ /^(string|undef|binary)/) {
141
+ # translate non-printable characters
142
+ $tval =~ tr/\x00-\x1f\x7f-\xff/./;
143
+ } elsif ($tagInfo and Image::ExifTool::IsInt($tval)) {
144
+ if ($$tagInfo{IsOffset}) {
145
+ $tval = sprintf('0x%.4x', $tval);
146
+ } elsif ($$tagInfo{PrintHex}) {
147
+ $tval = sprintf('0x%x', $tval);
148
+ }
149
+ }
150
+ $tip .= "Value: $tval";
151
+ $et->HDump($entry+$bufPos, 20, "$dname $colName", $tip, 1);
152
+ if ($size > 8) {
153
+ # add value data block
154
+ my $flg = ($tagInfo and $$tagInfo{SubDirectory} and $$tagInfo{MakerNotes}) ? 4 : 0;
155
+ $et->HDump($valuePtr,$size,"$tagName value",'SAME', $flg);
156
+ }
157
+ }
158
+ if ($tagInfo and $$tagInfo{SubIFD}) {
159
+ # process all SubIFD's as BigTIFF
160
+ $verbose > 0 and $et->VerboseInfo($tagID, $tagInfo,
161
+ Table => $tagTablePtr,
162
+ Index => $index,
163
+ Value => $val,
164
+ DataPt => \$valBuff,
165
+ DataPos => $valBase + $valuePtr,
166
+ Start => 0,
167
+ Size => $size,
168
+ Format => $formatStr,
169
+ Count => $count,
170
+ );
171
+ my @offsets = split ' ', $val;
172
+ my $i;
173
+ for ($i=0; $i<scalar(@offsets); ++$i) {
174
+ my $subdirName = $$tagInfo{Name};
175
+ $subdirName .= $i if $i;
176
+ my %subdirInfo = (
177
+ RAF => $raf,
178
+ DataPos => 0,
179
+ DirStart => $offsets[$i],
180
+ DirName => $subdirName,
181
+ Parent => $dirInfo,
182
+ );
183
+ $et->ProcessDirectory(\%subdirInfo, $tagTablePtr, \&ProcessBigIFD);
184
+ }
185
+ } else {
186
+ my $tagKey = $et->HandleTag($tagTablePtr, $tagID, $val,
187
+ Index => $index,
188
+ DataPt => \$valBuff,
189
+ DataPos => $valBase + $valuePtr,
190
+ Start => 0,
191
+ Size => $size,
192
+ Format => $formatStr,
193
+ TagInfo => $tagInfo,
194
+ RAF => $raf,
195
+ );
196
+ $tagKey and $et->SetGroup($tagKey, $dirName);
197
+ }
198
+ }
199
+ last unless $dirName =~ /^(IFD|SubIFD)(\d*)$/;
200
+ $dirName = $1 . (($2 || 0) + 1);
201
+ defined $nextIFD or $et->Warn("Bad $dirName pointer"), return 0;
202
+ $dirStart = Image::ExifTool::Get64u(\$nextIFD, 0);
203
+ $dirStart or last;
204
+ }
205
+ return 1;
206
+ }
207
+
208
+ #------------------------------------------------------------------------------
209
+ # Extract meta information from a BigTIFF image
210
+ # Inputs: 0) ExifTool object reference, 1) dirInfo reference
211
+ # Returns: 1 on success, 0 if this wasn't a valid BigTIFF image
212
+ sub ProcessBTF($$)
213
+ {
214
+ my ($et, $dirInfo) = @_;
215
+ my $raf = $$dirInfo{RAF};
216
+ my $buff;
217
+
218
+ return 0 unless $raf->Read($buff, 16) == 16;
219
+ return 0 unless $buff =~ /^(MM\0\x2b\0\x08\0\0|II\x2b\0\x08\0\0\0)/;
220
+ if ($$dirInfo{OutFile}) {
221
+ $et->Error('ExifTool does not support writing of BigTIFF images');
222
+ return 1;
223
+ }
224
+ $et->SetFileType('BTF'); # set the FileType tag
225
+ SetByteOrder(substr($buff, 0, 2));
226
+ my $offset = Image::ExifTool::Get64u(\$buff, 8);
227
+ if ($$et{HTML_DUMP}) {
228
+ my $o = (GetByteOrder() eq 'II') ? 'Little' : 'Big';
229
+ $et->HDump(0, 8, "BigTIFF header", "Byte order: $o endian", 0);
230
+ $et->HDump(8, 8, "IFD0 pointer", sprintf("Offset: 0x%.8x",$offset), 0);
231
+ }
232
+ my %dirInfo = (
233
+ RAF => $raf,
234
+ DataPos => 0,
235
+ DirStart => $offset,
236
+ DirName => 'IFD0',
237
+ Parent => 'BigTIFF',
238
+ );
239
+ my $tagTablePtr = GetTagTable('Image::ExifTool::Exif::Main');
240
+ $et->ProcessDirectory(\%dirInfo, $tagTablePtr, \&ProcessBigIFD);
241
+ return 1;
242
+ }
243
+
244
+ 1; # end
245
+
246
+ __END__
247
+
248
+ =head1 NAME
249
+
250
+ Image::ExifTool::BigTIFF - Read Big TIFF meta information
251
+
252
+ =head1 SYNOPSIS
253
+
254
+ This module is used by Image::ExifTool
255
+
256
+ =head1 DESCRIPTION
257
+
258
+ This module contains routines required by Image::ExifTool to read meta
259
+ information in BigTIFF images.
260
+
261
+ =head1 AUTHOR
262
+
263
+ Copyright 2003-2017, Phil Harvey (phil at owl.phy.queensu.ca)
264
+
265
+ This library is free software; you can redistribute it and/or modify it
266
+ under the same terms as Perl itself.
267
+
268
+ =head1 REFERENCES
269
+
270
+ =over 4
271
+
272
+ =item L<http://www.awaresystems.be/imaging/tiff/bigtiff.html>
273
+
274
+ =back
275
+
276
+ =head1 SEE ALSO
277
+
278
+ L<Image::ExifTool::TagNames/EXIF Tags>,
279
+ L<Image::ExifTool(3pm)|Image::ExifTool>
280
+
281
+ =cut
282
+
@@ -0,0 +1,2562 @@
1
+ #------------------------------------------------------------------------------
2
+ # File: BuildTagLookup.pm
3
+ #
4
+ # Description: Utility to build tag lookup tables in Image::ExifTool::TagLookup.pm
5
+ #
6
+ # Revisions: 12/31/2004 - P. Harvey Created
7
+ # 02/15/2005 - PH Added ability to generate TagNames documentation
8
+ #
9
+ # Notes: Documentation for the tag tables may either be placed in the
10
+ # %docs hash below or in a NOTES entry in the table itself, and
11
+ # individual tags may have their own Notes entry.
12
+ #------------------------------------------------------------------------------
13
+
14
+ package Image::ExifTool::BuildTagLookup;
15
+
16
+ use strict;
17
+ require Exporter;
18
+
19
+ BEGIN {
20
+ # prevent ExifTool from loading the user config file
21
+ $Image::ExifTool::configFile = '';
22
+ $Image::ExifTool::debug = 1; # enabled debug messages
23
+ }
24
+
25
+ use vars qw($VERSION @ISA);
26
+ use Image::ExifTool qw(:Utils :Vars);
27
+ use Image::ExifTool::Exif;
28
+ use Image::ExifTool::Shortcuts;
29
+ use Image::ExifTool::HTML qw(EscapeHTML);
30
+ use Image::ExifTool::IPTC;
31
+ use Image::ExifTool::XMP;
32
+ use Image::ExifTool::Canon;
33
+ use Image::ExifTool::Nikon;
34
+
35
+ $VERSION = '3.01';
36
+ @ISA = qw(Exporter);
37
+
38
+ sub NumbersFirst($$);
39
+ sub SortedTagTablekeys($);
40
+
41
+ # global variables to control sorting order of table entries
42
+ my $numbersFirst = 1; # set to -1 to sort numbers last, or 2 to put negative numbers last
43
+ my $caseInsensitive; # flag to ignore case when sorting tag names
44
+
45
+ # list of all tables in plug-in modules
46
+ my @pluginTables = ('Image::ExifTool::MWG::Composite');
47
+
48
+ # colors for html pages
49
+ my $noteFont = "<span class=n>";
50
+ my $noteFontSmall = "<span class='n s'>";
51
+
52
+ my $docType = q{<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
53
+ "http://www.w3.org/TR/html4/loose.dtd">
54
+ };
55
+
56
+ my $homePage = 'http://owl.phy.queensu.ca/~phil/exiftool';
57
+
58
+ # tweak the ordering of tables in the documentation
59
+ my %tweakOrder = (
60
+ # this => comes after this
61
+ # ------- -----------------
62
+ JPEG => '-', # JPEG comes first
63
+ IPTC => 'Exif', # put IPTC after EXIF,
64
+ GPS => 'XMP', # etc...
65
+ Composite => 'Extra',
66
+ GeoTiff => 'GPS',
67
+ CanonVRD=> 'CanonCustom',
68
+ FLIR => 'Casio',
69
+ FujiFilm => 'FLIR',
70
+ Kodak => 'JVC',
71
+ Leaf => 'Kodak',
72
+ Minolta => 'Leaf',
73
+ Motorola => 'Minolta',
74
+ Nikon => 'Motorola',
75
+ NikonCustom => 'Nikon',
76
+ NikonCapture => 'NikonCustom',
77
+ Nintendo => 'NikonCapture',
78
+ Pentax => 'Panasonic',
79
+ SonyIDC => 'Sony',
80
+ Unknown => 'SonyIDC',
81
+ DNG => 'Unknown',
82
+ PrintIM => 'ICC_Profile',
83
+ Vorbis => 'Ogg',
84
+ ID3 => 'PostScript',
85
+ MinoltaRaw => 'KyoceraRaw',
86
+ KyoceraRaw => 'CanonRaw',
87
+ SigmaRaw => 'PanasonicRaw',
88
+ Lytro => 'SigmaRaw',
89
+ PhotoMechanic => 'FotoStation',
90
+ Microsoft => 'PhotoMechanic',
91
+ 'Microsoft::MP'=> 'Microsoft::MP1',
92
+ GIMP => 'Microsoft',
93
+ 'Nikon::CameraSettingsD300' => 'Nikon::ShotInfoD300b',
94
+ 'Pentax::LensData' => 'Pentax::LensInfo2',
95
+ 'Sony::SRF2' => 'Sony::SRF',
96
+ DarwinCore => 'AFCP',
97
+ 'MWG::Regions' => 'MWG::Composite',
98
+ 'MWG::Keywords' => 'MWG::Regions',
99
+ 'MWG::Collections' => 'MWG::Keywords',
100
+ );
101
+
102
+ # list of all recognized Format strings
103
+ # (not a complete list, but this is all we use so far)
104
+ # (also, formats like "var_X[Y]" are allowed for any valid X)
105
+ my %formatOK = (
106
+ %Image::ExifTool::Exif::formatNumber,
107
+ 0 => 1,
108
+ 1 => 1,
109
+ real => 1,
110
+ integer => 1,
111
+ date => 1,
112
+ boolean => 1,
113
+ rational => 1,
114
+ 'lang-alt' => 1,
115
+ fixed16u => 1,
116
+ fixed16s => 1,
117
+ fixed32u => 1,
118
+ fixed32s => 1,
119
+ extended => 1,
120
+ resize => 1,
121
+ digits => 1,
122
+ int16uRev => 1,
123
+ int32uRev => 1,
124
+ rational32u => 1,
125
+ rational32s => 1,
126
+ pstring => 1,
127
+ var_string => 1,
128
+ var_int16u => 1,
129
+ var_pstr32 => 1,
130
+ var_ustr32 => 1,
131
+ var_ue7 => 1, # (BPG)
132
+ # Matroska
133
+ signed => 1,
134
+ unsigned => 1,
135
+ utf8 => 1,
136
+ );
137
+
138
+ # Descriptions for the TagNames documentation
139
+ # (descriptions may also be defined in tag table NOTES)
140
+ # Note: POD headers in these descriptions start with '~' instead of '=' to keep
141
+ # from confusing POD parsers which apparently parse inside quoted strings.
142
+ my %docs = (
143
+ PodHeader => q{
144
+ ~head1 NAME
145
+
146
+ Image::ExifTool::TagNames - ExifTool tag name documentation
147
+
148
+ ~head1 DESCRIPTION
149
+
150
+ This document contains a complete list of ExifTool tag names, organized into
151
+ tables based on information type. Tag names are used to reference specific
152
+ meta information extracted from or written to a file.
153
+
154
+ ~head1 TAG TABLES
155
+ },
156
+ ExifTool => q{
157
+ The tables listed below give the names of all tags recognized by ExifTool.
158
+ },
159
+ ExifTool2 => q{
160
+ B<Tag ID>, B<Index#> or B<Sequence> is given in the first column of each
161
+ table. A B<Tag ID> is the computer-readable equivalent of a tag name, and
162
+ is the identifier that is actually stored in the file. B<Index#> refers to
163
+ the location of a value when found at a fixed position within a data block
164
+ (B<#> is the multiplier for calculating a byte offset: B<1>, B<2>, B<4> or
165
+ B<8>). B<Sequence> gives the order of values for a serial data stream.
166
+
167
+ A B<Tag Name> is the handle by which the information is accessed in
168
+ ExifTool. In some instances, more than one name may correspond to a single
169
+ tag ID. In these cases, the actual name used depends on the context in
170
+ which the information is found. Case is not significant for tag names. A
171
+ question mark (C<?>) after a tag name indicates that the information is
172
+ either not understood, not verified, or not very useful -- these tags are
173
+ not extracted by ExifTool unless the Unknown (-u) option is enabled. Be
174
+ aware that some tag names are different than the descriptions printed out by
175
+ default when extracting information with exiftool. To see the tag names
176
+ instead of the descriptions, use C<exiftool -s>.
177
+
178
+ The B<Writable> column indicates whether the tag is writable by ExifTool.
179
+ Anything but an C<N> in this column means the tag is writable. A C<Y>
180
+ indicates writable information that is either unformatted or written using
181
+ the existing format. Other expressions give details about the information
182
+ format, and vary depending on the general type of information. The format
183
+ name may be followed by a number in square brackets to indicate the number
184
+ of values written, or the number of characters in a fixed-length string
185
+ (including a null terminator which is added if required).
186
+
187
+ A plus sign (C<+>) after an entry in the B<Writable> column indicates a
188
+ I<List> tag which supports multiple values and allows individual values to
189
+ be added and deleted. A slash (C</>) indicates a tag that ExifTool will
190
+ I<Avoid> when writing. These tags are not created when writing if another
191
+ same-named tag may be created instead. To write these tags, the group
192
+ should be specified. A tilde (C<~>) indicates a tag this is writable only
193
+ when the print conversion is disabled (by setting PrintConv to 0, using the
194
+ -n option, or suffixing the tag name with a C<#> character). An exclamation
195
+ point (C<!>) indicates a tag that is considered I<Unsafe> to write under
196
+ normal circumstances. These tags are not written unless specified
197
+ explicitly (ie. not when wildcards or "all" are used), and care should be
198
+ taken when editing them manually since they may affect the way an image is
199
+ rendered. An asterisk (C<*>) indicates a I<Protected> tag which is not
200
+ writable directly, but is written automatically by ExifTool (often when a
201
+ corresponding Composite or Extra tag is written). A colon (C<:>) indicates a
202
+ I<Mandatory> tag which may be added automatically when writing.
203
+
204
+ The HTML version of these tables also lists possible B<Values> for
205
+ discrete-valued tags, as well as B<Notes> for some tags. The B<Values> are
206
+ listed as the computer-readable and human-readable values on the left and
207
+ right hand side of an equals sign (C<=>) respectively. The human-readable
208
+ values are used by default when reading and writing, but the
209
+ computer-readable values may be accessed by disabling the value conversion
210
+ with the -n option on the command line, by setting the ValueConv option to 0
211
+ in the API, or or on a per-tag basis by adding a hash (C<#>) after the tag
212
+ name.
213
+
214
+ B<Note>: If you are familiar with common meta-information tag names, you may
215
+ find that some ExifTool tag names are different than expected. The usual
216
+ reason for this is to make the tag names more consistent across different
217
+ types of meta information. To determine a tag name, either consult this
218
+ documentation or run C<exiftool -s> on a file containing the information in
219
+ question.
220
+
221
+ I<(This documentation is the result of years of research, testing and
222
+ reverse engineering, and is the most complete metadata tag list available
223
+ anywhere on the internet. It is provided not only for ExifTool users, but
224
+ more importantly as a public service to help augment the collective
225
+ knowledge, and is often used as a primary source of information in the
226
+ development of other metadata software. Please help keep this documentation
227
+ as accurate and complete as possible, and feed any new discoveries back to
228
+ ExifTool. A big thanks to everyone who has helped with this so far!)>
229
+ },
230
+ EXIF => q{
231
+ EXIF stands for "Exchangeable Image File Format". This type of information
232
+ is formatted according to the TIFF specification, and may be found in JPG,
233
+ TIFF, PNG, JP2, PGF, MIFF, HDP, PSP and XCF images, as well as many
234
+ TIFF-based RAW images, and even some AVI and MOV videos.
235
+
236
+ The EXIF meta information is organized into different Image File Directories
237
+ (IFD's) within an image. The names of these IFD's correspond to the
238
+ ExifTool family 1 group names. When writing EXIF information, the default
239
+ B<Group> listed below is used unless another group is specified.
240
+
241
+ The table below lists all EXIF tags. Also listed are TIFF, DNG, HDP and
242
+ other tags which are not part of the EXIF specification, but may co-exist
243
+ with EXIF tags in some images. Tags which are part of the EXIF 2.31
244
+ specification have an underlined B<Tag Name> in the HTML version of this
245
+ documentation. See
246
+ L<http://www.cipa.jp/std/documents/e/DC-008-Translation-2016-E.pdf> for the
247
+ official EXIF 2.31 specification.
248
+ },
249
+ GPS => q{
250
+ These GPS tags are part of the EXIF standard, and are stored in a separate
251
+ IFD within the EXIF information.
252
+
253
+ ExifTool is very flexible about the input format when writing lat/long
254
+ coordinates, and will accept from 1 to 3 floating point numbers (for decimal
255
+ degrees, degrees and minutes, or degrees, minutes and seconds) separated by
256
+ just about anything, and will format them properly according to the EXIF
257
+ specification.
258
+
259
+ Some GPS tags have values which are fixed-length strings. For these, the
260
+ indicated string lengths include a null terminator which is added
261
+ automatically by ExifTool. Remember that the descriptive values are used
262
+ when writing (eg. 'Above Sea Level', not '0') unless the print conversion is
263
+ disabled (with '-n' on the command line or the PrintConv option in the API,
264
+ or by suffixing the tag name with a C<#> character).
265
+
266
+ When adding GPS information to an image, it is important to set all of the
267
+ following tags: GPSLatitude, GPSLatitudeRef, GPSLongitude, GPSLongitudeRef,
268
+ and GPSAltitude and GPSAltitudeRef if the altitude is known. ExifTool will
269
+ write the required GPSVersionID tag automatically if new a GPS IFD is added
270
+ to an image.
271
+ },
272
+ XMP => q{
273
+ XMP stands for "Extensible Metadata Platform", an XML/RDF-based metadata
274
+ format which is being pushed by Adobe. Information in this format can be
275
+ embedded in many different image file types including JPG, JP2, TIFF, GIF,
276
+ EPS, PDF, PSD, IND, INX, PNG, DJVU, SVG, PGF, MIFF, XCF, CRW, DNG and a
277
+ variety of proprietary TIFF-based RAW images, as well as MOV, AVI, ASF, WMV,
278
+ FLV, SWF and MP4 videos, and WMA and audio formats supporting ID3v2
279
+ information.
280
+
281
+ The XMP B<Tag ID>'s aren't listed because in most cases they are identical
282
+ to the B<Tag Name> (aside from differences in case). Tags with different
283
+ ID's are mentioned in the B<Notes> column of the HTML version of this
284
+ document.
285
+
286
+ All XMP information is stored as character strings. The B<Writable> column
287
+ specifies the information format: C<string> is an unformatted string,
288
+ C<integer> is a string of digits (possibly beginning with a '+' or '-'),
289
+ C<real> is a floating point number, C<rational> is entered as a floating
290
+ point number but stored as two C<integer> strings separated by a '/'
291
+ character, C<date> is a date/time string entered in the format "YYYY:mm:dd
292
+ HH:MM:SS[.ss][+/-HH:MM]", C<boolean> is either "True" or "False", C<struct>
293
+ indicates a structured tag, and C<lang-alt> is a tag that supports alternate
294
+ languages.
295
+
296
+ When reading, C<struct> tags are extracted only if the Struct (-struct)
297
+ option is used. Otherwise the corresponding I<Flattened> tags, indicated by
298
+ an underline (C<_>) after the B<Writable> type, are extracted. When
299
+ copying, by default both structured and flattened tags are available, but
300
+ the flattened tags are considered "unsafe" so they they aren't copied unless
301
+ specified explicitly. The Struct option may be disabled by setting Struct
302
+ to 0 via the API or with --struct on the command line to copy only flattened
303
+ tags, or enabled by setting Struct to 1 via the API or with -struct on the
304
+ command line to copy only as structures. When writing, the Struct option
305
+ has no effect, and both structured and flattened tags may be written. See
306
+ L<http://owl.phy.queensu.ca/~phil/exiftool/struct.html> for more details.
307
+
308
+ Individual languages for C<lang-alt> tags are accessed by suffixing the tag
309
+ name with a '-', followed by an RFC 3066 language code (eg. "XMP:Title-fr",
310
+ or "Rights-en-US"). (See L<http://www.ietf.org/rfc/rfc3066.txt> for the RFC
311
+ 3066 specification.) A C<lang-alt> tag with no language code accesses the
312
+ "x-default" language, but causes other languages for this tag to be deleted
313
+ when writing. The "x-default" language code may be specified when writing
314
+ to preserve other existing languages (eg. "XMP-dc:Description-x-default").
315
+ When reading, "x-default" is not specified.
316
+
317
+ The XMP tags are organized according to schema B<Namespace> in the following
318
+ tables. Note that a few of the longer namespace prefixes given below have
319
+ been shortened for convenience (since the family 1 group names are derived
320
+ from these by adding a leading "XMP-"). In cases where a tag name exists in
321
+ more than one namespace, less common namespaces are avoided when writing.
322
+ However, any namespace may be written by specifying a family 1 group name
323
+ for the tag, eg) XMP-exif:Contrast or XMP-crs:Contrast. When deciding on
324
+ which tags to add to an image, using standard schemas such as
325
+ L<dc|/XMP dc Tags>, L<xmp|/XMP xmp Tags>, L<iptcCore|/XMP iptcCore Tags>
326
+ and L<iptcExt|/XMP iptcExt Tags> is recommended if possible.
327
+
328
+ For structures, the heading of the first column is B<Field Name>. Field
329
+ names are very similar to tag names, except they are used to identify fields
330
+ inside structures instead of stand-alone tags. See
331
+ L<the Field Name section of the Structured Information documentation|http://owl.phy.queensu.ca/~phil/exiftool/struct.html#Fields> for more
332
+ details.
333
+
334
+ ExifTool will extract XMP information even if it is not listed in these
335
+ tables, but other tags are not writable unless added as user-defined tags in
336
+ the L<ExifTool config file|../config.html>. For example, the C<pdfx> namespace doesn't have a
337
+ predefined set of tag names because it is used to store application-defined
338
+ PDF information, so although this information will be extracted, it is only
339
+ writable if the corresponding user-defined tags have been created.
340
+
341
+ The tables below list tags from the official XMP specification (with an
342
+ underlined B<Namespace> in the HTML version of this documentation), as well
343
+ as extensions from various other sources. See
344
+ L<http://www.adobe.com/devnet/xmp/> for the official XMP specification.
345
+ },
346
+ IPTC => q{
347
+ The tags listed below are part of the International Press Telecommunications
348
+ Council (IPTC) and the Newspaper Association of America (NAA) Information
349
+ Interchange Model (IIM). This is an older meta information format, slowly
350
+ being phased out in favor of XMP -- the newer IPTCCore specification uses
351
+ XMP format. IPTC information may be found in JPG, TIFF, PNG, MIFF, PS, PDF,
352
+ PSD, XCF and DNG images.
353
+
354
+ IPTC information is separated into different records, each of which has its
355
+ own set of tags. See
356
+ L<http://www.iptc.org/std/IIM/4.1/specification/IIMV4.1.pdf> for the
357
+ official IPTC IIM specification.
358
+
359
+ This specification dictates a length for ASCII (C<string> or C<digits>) and
360
+ binary (C<undef>) values. These lengths are given in square brackets after
361
+ the B<Writable> format name. For tags where a range of lengths is allowed,
362
+ the minimum and maximum lengths are separated by a comma within the
363
+ brackets. IPTC strings are not null terminated. When writing, ExifTool
364
+ issues a minor warning and truncates the value if it is longer than allowed
365
+ by the IPTC specification. Minor errors may be ignored with the
366
+ IgnoreMinorErrors (-m) option, allowing longer values to be written, but
367
+ beware that values like this may cause problems for some other IPTC readers.
368
+ ExifTool will happily read IPTC values of any length.
369
+
370
+ Separate IPTC date and time tags may be written with a combined date/time
371
+ value and ExifTool automagically takes the appropriate part of the date/time
372
+ string depending on whether a date or time tag is being written. This is
373
+ very useful when copying date/time values to IPTC from other metadata
374
+ formats.
375
+
376
+ IPTC time values include a timezone offset. If written with a value which
377
+ doesn't include a timezone then the current local timezone offset is used
378
+ (unless written with a combined date/time, in which case the local timezone
379
+ offset at the specified date/time is used, which may be different due to
380
+ changes in daylight savings time).
381
+
382
+ Note that it is not uncommon for IPTC to be found in non-standard locations
383
+ in JPEG and TIFF-based images. When reading, the family 1 group name has a
384
+ number added for non-standard IPTC ("IPTC2", "IPTC3", etc), but when writing
385
+ only "IPTC" may be specified as the group. To keep the IPTC consistent,
386
+ ExifTool updates tags in all existing IPTC locations, but will create a new
387
+ IPTC group only in the standard location.
388
+ },
389
+ Photoshop => q{
390
+ Photoshop tags are found in PSD and PSB files, as well as inside embedded
391
+ Photoshop information in many other file types (JPEG, TIFF, PDF, PNG to name
392
+ a few).
393
+
394
+ Many Photoshop tags are marked as Unknown (indicated by a question mark
395
+ after the tag name) because the information they provide is not very useful
396
+ under normal circumstances. These unknown tags are not extracted unless the
397
+ Unknown (-u) option is used. See
398
+ L<http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/> for the
399
+ official specification
400
+
401
+ Photoshop path tags (Tag ID's 0x7d0 to 0xbb5) are not defined by default,
402
+ but a config file included in the full ExifTool distribution
403
+ (config_files/photoshop_paths.config) contains the tag definitions to allow
404
+ access to this information.
405
+ },
406
+ PrintIM => q{
407
+ The format of the PrintIM information is known, however no PrintIM tags have
408
+ been decoded. Use the Unknown (-u) option to extract PrintIM information.
409
+ },
410
+ GeoTiff => q{
411
+ ExifTool extracts the following tags from GeoTIFF images. See
412
+ L<http://www.remotesensing.org/geotiff/spec/geotiffhome.html> for the
413
+ complete GeoTIFF specification. Also included in the table below are
414
+ ChartTIFF tags (see L<http://www.charttiff.com/whitepapers.shtml>). GeoTIFF
415
+ tags are not writable individually, but they may be copied en mass via the
416
+ block tags GeoTiffDirectory, GeoTiffDoubleParams and GeoTiffAsciiParams.
417
+ },
418
+ JFIF => q{
419
+ The following information is extracted from the JPEG JFIF header. See
420
+ L<https://www.w3.org/Graphics/JPEG/jfif3.pdf> for the JFIF 1.02
421
+ specification.
422
+ },
423
+ Kodak => q{
424
+ Many Kodak models don't store the maker notes in standard IFD format, and
425
+ these formats vary with different models. Some information has been
426
+ decoded, but much of the Kodak information remains unknown.
427
+ },
428
+ 'Kodak SpecialEffects' => q{
429
+ The Kodak SpecialEffects and Borders tags are found in sub-IFD's within the
430
+ Kodak JPEG APP3 "Meta" segment.
431
+ },
432
+ Minolta => q{
433
+ These tags are used by Minolta, Konica/Minolta as well as some Sony cameras.
434
+ Minolta doesn't make things easy for decoders because the meaning of some
435
+ tags and the location where some information is stored is different for
436
+ different camera models. (Take MinoltaQuality for example, which may be
437
+ located in 5 different places.)
438
+ },
439
+ Olympus => q{
440
+ Tags 0x0000 through 0x0103 are used by some older Olympus cameras, and are
441
+ the same as Konica/Minolta tags. These tags are also used for some models
442
+ from other brands such as Acer, BenQ, Epson, Hitachi, HP, Maginon, Minolta,
443
+ Pentax, Ricoh, Samsung, Sanyo, SeaLife, Sony, Supra and Vivitar.
444
+ },
445
+ Panasonic => q{
446
+ These tags are used in Panasonic/Leica cameras.
447
+ },
448
+ Pentax => q{
449
+ These tags are used in Pentax/Asahi cameras.
450
+ },
451
+ CanonRaw => q{
452
+ These tags apply to CRW-format Canon RAW files and information in the APP0
453
+ "CIFF" segment of JPEG images. When writing CanonRaw/CIFF information, the
454
+ length of the information is preserved (and the new information is truncated
455
+ or padded as required) unless B<Writable> is C<resize>. Currently, only
456
+ JpgFromRaw and ThumbnailImage are allowed to change size.
457
+
458
+ CRW images also support the addition of a CanonVRD trailer, which in turn
459
+ supports XMP. This trailer is created automatically if necessary when
460
+ ExifTool is used to write XMP to a CRW image.
461
+ },
462
+ NikonCustom => q{
463
+ Unfortunately, the NikonCustom settings are stored in a binary data block
464
+ which changes from model to model. This means that significant effort must
465
+ be spent in decoding these for each model, usually requiring hundreds of
466
+ test images from a dedicated Nikon owner. For this reason, the NikonCustom
467
+ settings have not been decoded for all models. The tables below list the
468
+ custom settings for the currently supported models.
469
+ },
470
+ Unknown => q{
471
+ The following tags are decoded in unsupported maker notes. Use the Unknown
472
+ (-u) option to display other unknown tags.
473
+ },
474
+ PDF => q{
475
+ The tags listed in the PDF tables below are those which are used by ExifTool
476
+ to extract meta information, but they are only a small fraction of the total
477
+ number of available PDF tags. See
478
+ L<http://www.adobe.com/devnet/pdf/pdf_reference.html> for the official PDF
479
+ specification.
480
+
481
+ ExifTool supports reading and writing PDF documents up to version 1.7
482
+ extension level 3, including support for RC4, AES-128 and AES-256
483
+ encryption. A Password option is provided to allow processing of
484
+ password-protected PDF files.
485
+
486
+ ExifTool may be used to write native PDF and XMP metadata to PDF files. It
487
+ uses an incremental update technique that has the advantages of being both
488
+ fast and reversible. The original PDF can be easily recovered by deleting
489
+ the C<PDF-update> pseudo-group (with C<-PDF-update:all=> on the command
490
+ line). However, there are two main disadvantages to this technique:
491
+
492
+ 1) A linearized PDF file is no longer linearized after the update, so it
493
+ must be subsequently re-linearized if this is required.
494
+
495
+ 2) All metadata edits are reversible. While this would normally be
496
+ considered an advantage, it is a potential security problem because old
497
+ information is never actually deleted from the file.
498
+ },
499
+ DNG => q{
500
+ The main DNG tags are found in the EXIF table. The tables below define only
501
+ information found within structures of these main DNG tag values. See
502
+ L<http://www.adobe.com/products/dng/> for the official DNG specification.
503
+ },
504
+ MPEG => q{
505
+ The MPEG format doesn't specify any file-level meta information. In lieu of
506
+ this, information is extracted from the first audio and video frame headers
507
+ in the file.
508
+ },
509
+ Real => q{
510
+ ExifTool recognizes three basic types of Real audio/video files: 1)
511
+ RealMedia (RM, RV and RMVB), 2) RealAudio (RA), and 3) Real Metafile (RAM
512
+ and RPM).
513
+ },
514
+ Extra => q{
515
+ The extra tags represent extra information extracted or generated by
516
+ ExifTool that is not directly associated with another tag group. The
517
+ B<Group> column lists the family 1 group name when reading. Tags with a "-"
518
+ in this column are write-only.
519
+
520
+ Tags in the family 1 "System" group are referred to as "pseudo" tags because
521
+ they don't represent real metadata in the file. Instead, this information
522
+ is stored in the directory structure of the filesystem. Seven writable
523
+ "pseudo" tags (FileName, Directory, FileModifyDate, FileCreateDate,
524
+ FilePermissions, HardLink and TestName) may be written without modifying the
525
+ file itself. The TestName tag is used for dry-run testing before writing
526
+ FileName.
527
+ },
528
+ Composite => q{
529
+ The values of the composite tags are B<Derived From> the values of other
530
+ tags. These are convenience tags which are calculated after all other
531
+ information is extracted. Only a few of these tags are writable directly,
532
+ the others are changed by writing the corresponding B<Derived From> tags.
533
+ User-defined Composite tags, also useful for custom-formatting of tag
534
+ values, may created via the L<ExifTool configuration file|../config.html>.
535
+ },
536
+ Shortcuts => q{
537
+ Shortcut tags are convenience tags that represent one or more other tag
538
+ names. They are used like regular tags to read and write the information
539
+ for a specified set of tags.
540
+
541
+ The shortcut tags below have been pre-defined, but user-defined shortcuts
542
+ may be added via the %Image::ExifTool::UserDefined::Shortcuts lookup in the
543
+ ~/.ExifTool_config file. See the Image::ExifTool::Shortcuts documentation
544
+ for more details.
545
+ },
546
+ MWG => q{
547
+ The Metadata Working Group (MWG) recommends techniques to allow certain
548
+ overlapping EXIF, IPTC and XMP tags to be reconciled when reading, and
549
+ synchronized when writing. The MWG Composite tags below are designed to aid
550
+ in the implementation of these recommendations. As well, the MWG defines
551
+ new XMP tags which are listed in the subsequent tables below. See
552
+ L<http://www.metadataworkinggroup.org/> for the official MWG specification.
553
+ },
554
+ PodTrailer => q{
555
+ ~head1 NOTES
556
+
557
+ This document generated automatically by
558
+ L<Image::ExifTool::BuildTagLookup|Image::ExifTool::BuildTagLookup>.
559
+
560
+ ~head1 AUTHOR
561
+
562
+ Copyright 2003-2017, Phil Harvey (phil at owl.phy.queensu.ca)
563
+
564
+ This library is free software; you can redistribute it and/or modify it
565
+ under the same terms as Perl itself.
566
+
567
+ ~head1 SEE ALSO
568
+
569
+ L<Image::ExifTool(3pm)|Image::ExifTool>
570
+
571
+ ~cut
572
+ },
573
+ );
574
+
575
+ # notes for Shortcuts tags
576
+ my %shortcutNotes = (
577
+ AllDates => q{
578
+ contrary to the shortcut name, this represents only the common EXIF
579
+ date/time tags. To access all date/time tags, use Time:All instead
580
+ },
581
+ MakerNotes => q{
582
+ useful when copying tags between files to either copy the maker notes as a
583
+ block or prevent it from being copied
584
+ },
585
+ ColorSpaceTags => q{
586
+ standard tags which carry color space information. Useful for preserving
587
+ color space when deleting all other metadata
588
+ },
589
+ CommonIFD0 => q{
590
+ common metadata tags found in IFD0 of TIFF-format images. Used to simpify
591
+ deletion of all metadata from these images. See
592
+ L<FAQ number 7|../faq.html#Q7> for details
593
+ },
594
+ Unsafe => q{
595
+ I<Unsafe> tags in JPEG images which are normally not copied. Defined here
596
+ as a shortcut to use when rebuilding JPEG EXIF from scratch. See
597
+ L<FAQ number 20|../faq.html#Q20> for more information
598
+ },
599
+ LargeTags => q{
600
+ large binary data tags which may be excluded to reduce memory usage if
601
+ memory limitations are a problem
602
+ },
603
+ );
604
+
605
+
606
+
607
+ # EXIF table tag ID's which are part of the EXIF 2.3 specification
608
+ # (used only to add underlines in HTML version of EXIF Tag Table)
609
+ my %exifSpec = (
610
+ 0x100 => 1, 0x214 => 1, 0x9205 => 1, 0xa210 => 1,
611
+ 0x101 => 1, 0x8298 => 1, 0x9206 => 1, 0xa214 => 1,
612
+ 0x102 => 1, 0x829a => 1, 0x9207 => 1, 0xa215 => 1,
613
+ 0x103 => 1, 0x829d => 1, 0x9208 => 1, 0xa217 => 1,
614
+ 0x106 => 1, 0x8769 => 1, 0x9209 => 1, 0xa300 => 1,
615
+ 0x10e => 1, 0x8822 => 1, 0x920a => 1, 0xa301 => 1,
616
+ 0x10f => 1, 0x8824 => 1, 0x9214 => 1, 0xa302 => 1,
617
+ 0x110 => 1, 0x8825 => 1, 0x927c => 1, 0xa401 => 1,
618
+ 0x111 => 1, 0x8827 => 1, 0x9286 => 1, 0xa402 => 1,
619
+ 0x112 => 1, 0x8828 => 1, 0x9290 => 1, 0xa403 => 1,
620
+ 0x115 => 1, 0x8830 => 1, 0x9291 => 1, 0xa404 => 1,
621
+ 0x116 => 1, 0x8831 => 1, 0x9292 => 1, 0xa405 => 1,
622
+ 0x117 => 1, 0x8832 => 1, 0x9400 => 1, 0xa406 => 1,
623
+ 0x11a => 1, 0x8833 => 1, 0x9401 => 1, 0xa407 => 1,
624
+ 0x11b => 1, 0x8834 => 1, 0x9402 => 1, 0xa408 => 1,
625
+ 0x11c => 1, 0x8835 => 1, 0x9403 => 1, 0xa409 => 1,
626
+ 0x128 => 1, 0x9000 => 1, 0x9404 => 1, 0xa40a => 1,
627
+ 0x12d => 1, 0x9003 => 1, 0x9405 => 1, 0xa40b => 1,
628
+ 0x131 => 1, 0x9004 => 1, 0xa000 => 1, 0xa40c => 1,
629
+ 0x132 => 1, 0x9010 => 1, 0xa001 => 1, 0xa420 => 1,
630
+ 0x13b => 1, 0x9011 => 1, 0xa002 => 1, 0xa430 => 1,
631
+ 0x13e => 1, 0x9012 => 1, 0xa003 => 1, 0xa431 => 1,
632
+ 0x13f => 1, 0x9101 => 1, 0xa004 => 1, 0xa432 => 1,
633
+ 0x201 => 1, 0x9102 => 1, 0xa005 => 1, 0xa433 => 1,
634
+ 0x202 => 1, 0x9201 => 1, 0xa20b => 1, 0xa434 => 1,
635
+ 0x211 => 1, 0x9202 => 1, 0xa20c => 1, 0xa435 => 1,
636
+ 0x212 => 1, 0x9203 => 1, 0xa20e => 1,
637
+ 0x213 => 1, 0x9204 => 1, 0xa20f => 1,
638
+ );
639
+ # same thing for RIFF INFO tags found in the EXIF spec
640
+ my %riffSpec = (
641
+ IARL => 1, ICRD => 1, IGNR => 1, IPLT => 1, ISRC => 1,
642
+ IART => 1, ICRP => 1, IKEY => 1, IPRD => 1, ISRF => 1,
643
+ ICMS => 1, IDIM => 1, ILGT => 1, ISBJ => 1, ITCH => 1,
644
+ ICMT => 1, IDPI => 1, IMED => 1, ISFT => 1,
645
+ ICOP => 1, IENG => 1, INAM => 1, ISHP => 1,
646
+ );
647
+ # same thing for XMP namespaces
648
+ my %xmpSpec = (
649
+ aux => 1, 'x' => 1,
650
+ crs => 1, xmp => 1,
651
+ dc => 1, xmpBJ => 1,
652
+ exif => 1, xmpDM => 1,
653
+ pdf => 1, xmpMM => 1,
654
+ pdfx => 1, xmpNote => 1,
655
+ photoshop => 1, xmpRights => 1,
656
+ tiff => 1, xmpTPg => 1,
657
+ );
658
+
659
+ #------------------------------------------------------------------------------
660
+ # New - create new BuildTagLookup object
661
+ # Inputs: 0) reference to BuildTagLookup object or BuildTagLookup class name
662
+ sub new
663
+ {
664
+ local $_;
665
+ my $that = shift;
666
+ my $class = ref($that) || $that || 'Image::ExifTool::BuildTagLookup';
667
+ my $self = bless {}, $class;
668
+ my (%subdirs, %isShortcut, %allStructs);
669
+ my %count = (
670
+ 'unique tag names' => 0,
671
+ 'total tags' => 0,
672
+ );
673
+ #
674
+ # loop through all tables, accumulating TagLookup and TagName information
675
+ #
676
+ my (%tagNameInfo, %id, %longID, %longName, %shortName, %tableNum,
677
+ %tagLookup, %tagExists, %noLookup, %tableWritable, %sepTable, %case,
678
+ %structs, %compositeModules, %isPlugin, %flattened, %structLookup);
679
+ $self->{TAG_NAME_INFO} = \%tagNameInfo;
680
+ $self->{ID_LOOKUP} = \%id;
681
+ $self->{LONG_ID} = \%longID;
682
+ $self->{LONG_NAME} = \%longName;
683
+ $self->{SHORT_NAME} = \%shortName;
684
+ $self->{TABLE_NUM} = \%tableNum;
685
+ $self->{TAG_LOOKUP} = \%tagLookup;
686
+ $self->{TAG_EXISTS} = \%tagExists;
687
+ $self->{FLATTENED} = \%flattened;
688
+ $self->{TABLE_WRITABLE} = \%tableWritable;
689
+ $self->{SEPARATE_TABLE} = \%sepTable;
690
+ $self->{STRUCTURES} = \%structs;
691
+ $self->{STRUCT_LOOKUP} = \%structLookup; # lookup for Struct hash ref based on Struct name
692
+ $self->{COMPOSITE_MODULES} = \%compositeModules;
693
+ $self->{COUNT} = \%count;
694
+
695
+ Image::ExifTool::LoadAllTables();
696
+ my @tableNames = sort keys %allTables;
697
+ # add Shortcuts after other tables
698
+ push @tableNames, 'Image::ExifTool::Shortcuts::Main';
699
+ # add plug-in modules last
700
+ foreach (@pluginTables) {
701
+ push @tableNames, $_;
702
+ $isPlugin{$_} = 1;
703
+ }
704
+
705
+ my $tableNum = 0;
706
+ my $et = new Image::ExifTool;
707
+ my ($tableName, $tag);
708
+ # create lookup for short table names
709
+ foreach $tableName (@tableNames) {
710
+ my $short = $tableName;
711
+ $short =~ s/^Image::ExifTool:://;
712
+ $short =~ s/::Main$//;
713
+ $short =~ s/::/ /;
714
+ $short =~ s/^(.+)Tags$/\u$1/ unless $short eq 'Nikon AVITags';
715
+ $short =~ s/^Exif\b/EXIF/;
716
+ # change underlines to dashes in XMP-mwg group names
717
+ # (we used underlines just because Perl variables can't contain dashes)
718
+ $short =~ s/^XMP mwg_/XMP mwg-/;
719
+ $shortName{$tableName} = $short; # remember short name
720
+ $tableNum{$tableName} = $tableNum++;
721
+ }
722
+ # validate DICOM UID values
723
+ foreach (values %Image::ExifTool::DICOM::uid) {
724
+ next unless /[\0-\x1f\x7f-\xff]/;
725
+ warn "Warning: Special characters in DICOM UID value ($_)\n";
726
+ }
727
+ # make lookup table to check for shortcut tags
728
+ foreach $tag (keys %Image::ExifTool::Shortcuts::Main) {
729
+ my $entry = $Image::ExifTool::Shortcuts::Main{$tag};
730
+ # ignore if shortcut tag name includes itself
731
+ next if ref $entry eq 'ARRAY' and grep /^$tag$/, @$entry;
732
+ $isShortcut{lc($tag)} = 1;
733
+ }
734
+ foreach $tableName (@tableNames) {
735
+ # create short table name
736
+ my $short = $shortName{$tableName};
737
+ my $info = $tagNameInfo{$tableName} = [ ];
738
+ my $isPlugin = $isPlugin{$tableName};
739
+ my ($table, $shortcut, %isOffset, %datamember, %hasSubdir);
740
+ if ($short eq 'Shortcuts') {
741
+ # can't use GetTagTable() for Shortcuts (not a normal table)
742
+ $table = \%Image::ExifTool::Shortcuts::Main;
743
+ $shortcut = 1;
744
+ } elsif ($isPlugin) {
745
+ $table = GetTagTable($tableName);
746
+ # don't add to allTables list because this messes our table order
747
+ delete $allTables{$tableName};
748
+ pop @tableOrder;
749
+ } else {
750
+ $table = GetTagTable($tableName);
751
+ }
752
+ my $tableNum = $tableNum{$tableName};
753
+ my $writeProc = $$table{WRITE_PROC};
754
+ my $vars = $$table{VARS} || { };
755
+ $longID{$tableName} = 0;
756
+ $longName{$tableName} = 0;
757
+ # save all tag names
758
+ my ($tagID, $binaryTable, $noID, $hexID, $isIPTC, $isXMP);
759
+ $isIPTC = 1 if $writeProc and $writeProc eq \&Image::ExifTool::IPTC::WriteIPTC;
760
+ # generate flattened tag names for structure fields if this is an XMP table
761
+ if ($$table{GROUPS} and $$table{GROUPS}{0} eq 'XMP') {
762
+ Image::ExifTool::XMP::AddFlattenedTags($table);
763
+ $isXMP = 1;
764
+ }
765
+ $noID = 1 if $isXMP or $short =~ /^(Shortcuts|ASF.*)$/ or $$vars{NO_ID};
766
+ $hexID = $$vars{HEX_ID};
767
+ my $processBinaryData = ($$table{PROCESS_PROC} and (
768
+ $$table{PROCESS_PROC} eq \&Image::ExifTool::ProcessBinaryData or
769
+ $$table{PROCESS_PROC} eq \&Image::ExifTool::Nikon::ProcessNikonEncrypted));
770
+ if ($$vars{ID_LABEL} or $processBinaryData) {
771
+ my $s = $$table{FORMAT} ? Image::ExifTool::FormatSize($$table{FORMAT}) || 1 : 1;
772
+ $binaryTable = 1;
773
+ $id{$tableName} = $$vars{ID_LABEL} || "Index$s";
774
+ } elsif ($isIPTC and $$table{PROCESS_PROC}) { #only the main IPTC table has a PROCESS_PROC
775
+ $id{$tableName} = 'Record';
776
+ } elsif (not $noID) {
777
+ $id{$tableName} = 'Tag ID';
778
+ }
779
+ $caseInsensitive = $isXMP;
780
+ $numbersFirst = 2;
781
+ $numbersFirst = -1 if $$table{VARS} and $$table{VARS}{ALPHA_FIRST};
782
+ my @keys = SortedTagTableKeys($table);
783
+ $numbersFirst = 1;
784
+ my $defFormat = $table->{FORMAT};
785
+ # use default format for binary data tables
786
+ $defFormat = 'int8u' if not $defFormat and $binaryTable;
787
+
788
+ TagID: foreach $tagID (@keys) {
789
+ my ($tagInfo, @tagNames, $subdir, @values);
790
+ my (@infoArray, @require, @writeGroup, @writable);
791
+ if ($shortcut) {
792
+ # must build a dummy tagInfo list since Shortcuts is not a normal table
793
+ $tagInfo = {
794
+ Name => $tagID,
795
+ Notes => $shortcutNotes{$tagID},
796
+ Writable => 1,
797
+ Require => { },
798
+ };
799
+ my $i;
800
+ for ($i=0; $i<@{$$table{$tagID}}; ++$i) {
801
+ $tagInfo->{Require}->{$i} = $table->{$tagID}->[$i];
802
+ }
803
+ @infoArray = ( $tagInfo );
804
+ } else {
805
+ @infoArray = GetTagInfoList($table,$tagID);
806
+ }
807
+ foreach $tagInfo (@infoArray) {
808
+ my $name = $$tagInfo{Name};
809
+ unless ($$tagInfo{SubDirectory} or $$tagInfo{Struct}) {
810
+ my $lc = lc $name;
811
+ warn "Different case for $tableName $name $case{$lc}\n" if $case{$lc} and $case{$lc} ne $name;
812
+ $case{$lc} = $name;
813
+ }
814
+ my $format = $$tagInfo{Format};
815
+ # validate Name (must not start with a digit or else XML output will not be valid;
816
+ # must not start with a dash or exiftool command line may get confused)
817
+ if ($name !~ /^[_A-Za-z][-\w]+$/ and
818
+ # single-character subdirectory names are allowed
819
+ (not $$tagInfo{SubDirectory} or $name !~ /^[_A-Za-z]$/))
820
+ {
821
+ warn "Warning: Invalid tag name $short '$name'\n";
822
+ }
823
+ # validate list type
824
+ if ($$tagInfo{List} and $$tagInfo{List} !~ /^(1|Alt|Bag|Seq|array|string)$/) {
825
+ warn "Warning: Unknown List type ($$tagInfo{List}) for $name in $tableName\n";
826
+ }
827
+ # accumulate information for consistency check of BinaryData tables
828
+ if ($processBinaryData and $$table{WRITABLE}) {
829
+ # can't currently write tag if Condition accesses $valPt
830
+ if ($$tagInfo{Condition} and not $$tagInfo{SubDirectory} and
831
+ $$tagInfo{Condition} =~ /\$valPt/ and
832
+ ($$tagInfo{Writable} or not defined $$tagInfo{Writable}))
833
+ {
834
+ warn "Warning: Tag not writable due to Condition - $short $name\n";
835
+ }
836
+ $isOffset{$tagID} = $name if $$tagInfo{IsOffset};
837
+ $hasSubdir{$tagID} = $name if $$tagInfo{SubDirectory};
838
+ # require DATAMEMBER for writable var-format tags, Hook and DataMember tags
839
+ if ($format and $format =~ /^var_/) {
840
+ $datamember{$tagID} = $name;
841
+ unless (defined $$tagInfo{Writable} and not $$tagInfo{Writable}) {
842
+ warn "Warning: Var-format tag is writable - $short $name\n"
843
+ }
844
+ # also need DATAMEMBER for tags used in length of var-sized value
845
+ while ($format =~ /\$val\{(.*?)\}/g) {
846
+ my $id = $1;
847
+ $id = hex($id) if $id =~ /^0x/; # convert from hex if necessary
848
+ $datamember{$id} = $$table{$id}{Name} if ref $$table{$id} eq 'HASH';
849
+ unless ($datamember{$id}) {
850
+ warn "Warning: Unknown ID ($id) used in Format - $short $name\n";
851
+ }
852
+ }
853
+ } elsif ($$tagInfo{Hook} or ($$tagInfo{RawConv} and
854
+ $$tagInfo{RawConv} =~ /\$self(->)?\{\w+\}\s*=(?!~)/))
855
+ {
856
+ $datamember{$tagID} = $name;
857
+ }
858
+ if ($format and $format =~ /\$val\{/ and
859
+ ($$tagInfo{Writable} or not defined $$tagInfo{Writable}))
860
+ {
861
+ warn "Warning: \$var{} used in Format of writable tag - $short $name\n"
862
+ }
863
+ }
864
+ if ($$tagInfo{Hidden}) {
865
+ if ($tagInfo == $infoArray[0]) {
866
+ next TagID; # hide all tags with this ID if first tag in list is hidden
867
+ } else {
868
+ next; # only hide this tag
869
+ }
870
+ }
871
+ my $writable;
872
+ if (defined $$tagInfo{Writable}) {
873
+ $writable = $$tagInfo{Writable};
874
+ # validate Writable
875
+ unless ($formatOK{$writable} or ($writable =~ /(.*)\[/ and $formatOK{$1})) {
876
+ warn "Warning: Unknown Writable ($writable) - $short $name\n",
877
+ }
878
+ } elsif (not $$tagInfo{SubDirectory}) {
879
+ $writable = $$table{WRITABLE};
880
+ }
881
+ # validate some characteristics of obvious date/time tags
882
+ if ($$tagInfo{PrintConv} and $$tagInfo{PrintConv} eq '$self->ConvertDateTime($val)') {
883
+ my @g = $et->GetGroup($tagInfo);
884
+ warn "$short $name should be in 'Time' group!\n" unless $g[2] eq 'Time';
885
+ if ($writable and not defined $$tagInfo{Shift} and $short ne 'PostScript') {
886
+ warn "$short $name is not shiftable!\n";
887
+ }
888
+ if ($writable and (not $$tagInfo{PrintConvInv} or
889
+ $$tagInfo{PrintConvInv} !~ /InverseDateTime/))
890
+ {
891
+ warn "$short $name missing InverseDateTime PrintConvInv\n";
892
+ }
893
+ } elsif ($name =~ /DateTime(?!Stamp)/ and (not $$tagInfo{Groups}{2} or
894
+ $$tagInfo{Groups}{2} ne 'Time') and $short ne 'DICOM') {
895
+ warn "$short $name should be in 'Time' group!\n";
896
+ }
897
+ # validate Description (can't contain special characters)
898
+ if ($$tagInfo{Description} and
899
+ $$tagInfo{Description} ne EscapeHTML($$tagInfo{Description}))
900
+ {
901
+ # this is a problem because the Escape option currently only
902
+ # escapes descriptions if the default Lang option isn't default
903
+ warn "$name description contains special characters!\n";
904
+ }
905
+ # generate structure lookup
906
+ my $struct = $$tagInfo{Struct};
907
+ my $strTable;
908
+ if (ref $struct) {
909
+ $strTable = $struct;
910
+ $struct = $$strTable{STRUCT_NAME};
911
+ if ($struct) {
912
+ my $oldTable = $structLookup{$struct};
913
+ if ($oldTable and $oldTable ne $strTable) {
914
+ warn "Duplicate XMP structure with name $struct\n";
915
+ } else {
916
+ $structLookup{$struct} = $strTable;
917
+ }
918
+ } else {
919
+ warn "Missing STRUCT_NAME for structure in $$tagInfo{Name}\n";
920
+ undef $strTable;
921
+ }
922
+ } elsif ($struct) {
923
+ $strTable = $structLookup{$struct};
924
+ unless ($strTable) {
925
+ $struct = "XMP $struct" unless $struct =~ / /;
926
+ warn "Missing $struct structure!\n";
927
+ undef $struct;
928
+ }
929
+ }
930
+ # validate SubIFD flag
931
+ my $subdir = $$tagInfo{SubDirectory};
932
+ my $isSub = ($subdir and $$subdir{Start} and $$subdir{Start} =~ /\$val\b/);
933
+ if ($$tagInfo{SubIFD}) {
934
+ warn "Warning: Wrong SubDirectory Start for SubIFD tag - $short $name\n" unless $isSub;
935
+ } else {
936
+ warn "Warning: SubIFD flag not set for $short $name\n" if $isSub;
937
+ }
938
+ if ($$tagInfo{Notes}) {
939
+ my $note = $$tagInfo{Notes};
940
+ # remove leading/trailing blank lines
941
+ $note =~ s/^\s+//; $note =~ s/\s+$//;
942
+ # remove leading/trailing spaces on each line
943
+ $note =~ s/(^[ \t]+|[ \t]+$)//mg;
944
+ push @values, "($note)";
945
+ } elsif ($isXMP and lc $tagID ne lc $name) {
946
+ # add note about different XMP Tag ID
947
+ if ($$tagInfo{RootTagInfo}) {
948
+ push @values, "($tagID)";
949
+ } else {
950
+ push @values,"(called $tagID by the spec)";
951
+ }
952
+ }
953
+ my $writeGroup;
954
+ if ($short eq 'Extra') {
955
+ my @g = $et->GetGroup($tagInfo);
956
+ $writeGroup = $$tagInfo{WriteOnly} ? '-' : $g[1];
957
+ } else {
958
+ $writeGroup = $$tagInfo{WriteGroup};
959
+ }
960
+ unless ($writeGroup) {
961
+ $writeGroup = $$table{WRITE_GROUP} if $writable;
962
+ $writeGroup = '-' unless $writeGroup;
963
+ }
964
+ if (defined $format) {
965
+ # validate Format
966
+ unless ($formatOK{$format} or $short eq 'PICT' or
967
+ ($format =~ /^(var_)?(.*)\[/ and $formatOK{$2}))
968
+ {
969
+ warn "Warning: Unknown Format ($format) for $short $name\n";
970
+ }
971
+ } else {
972
+ $format = $defFormat;
973
+ }
974
+ if ($subdir) {
975
+ my $subTable = $$subdir{TagTable} || $tableName;
976
+ push @values, $shortName{$subTable}
977
+ } elsif ($struct) {
978
+ push @values, $struct;
979
+ $structs{$struct} = 1;
980
+ }
981
+ my $type;
982
+ foreach $type ('Require','Desire') {
983
+ my $require = $$tagInfo{$type};
984
+ if (ref $require) {
985
+ foreach (sort { $a <=> $b } keys %$require) {
986
+ push @require, $$require{$_};
987
+ }
988
+ } elsif ($require) {
989
+ push @require, $require;
990
+ }
991
+ }
992
+ my $printConv = $$tagInfo{PrintConv};
993
+ if ($$tagInfo{Mask}) {
994
+ my $val = $$tagInfo{Mask};
995
+ push @values, sprintf('[Mask 0x%.2x]',$val);
996
+ $$tagInfo{PrintHex} = 1 unless defined $$tagInfo{PrintHex};
997
+ # verify that all values are within the mask
998
+ if (ref $printConv eq 'HASH') {
999
+ # convert mask if necessary
1000
+ if ($$tagInfo{ValueConv}) {
1001
+ my $v = eval $$tagInfo{ValueConv};
1002
+ $val = $v if defined $v;
1003
+ }
1004
+ foreach (keys %$printConv) {
1005
+ next if $_ !~ /^\d+$/ or ($_ & $val) == $_;
1006
+ my $hex = sprintf '0x%.2x', $_;
1007
+ warn "$short $name PrintConv value $hex is not in Mask!\n";
1008
+ }
1009
+ }
1010
+ }
1011
+ if (ref($printConv) =~ /^(HASH|ARRAY)$/) {
1012
+ my (@printConvList, @indexList, $index);
1013
+ if (ref $printConv eq 'ARRAY') {
1014
+ for ($index=0; $index<@$printConv; ++$index) {
1015
+ next if ref $$printConv[$index] ne 'HASH';
1016
+ next unless %{$$printConv[$index]};
1017
+ push @printConvList, $$printConv[$index];
1018
+ push @indexList, $index;
1019
+ # collapse values with identical PrintConv's
1020
+ if (@printConvList >= 2 and $printConvList[-1] eq $printConvList[-2]) {
1021
+ if (ref $indexList[-2]) {
1022
+ push @{$indexList[-2]}, $indexList[-1];
1023
+ } else {
1024
+ $indexList[-2] = [ $indexList[-2], $indexList[-1] ];
1025
+ }
1026
+ pop @printConvList;
1027
+ pop @indexList;
1028
+ }
1029
+ }
1030
+ $printConv = shift @printConvList;
1031
+ $index = shift @indexList;
1032
+ }
1033
+ while (defined $printConv) {
1034
+ if (defined $index) {
1035
+ # (print indices of original values if reorganized)
1036
+ my $s = '';
1037
+ my $idx = $$tagInfo{Relist} ? $tagInfo->{Relist}->[$index] : $index;
1038
+ if (ref $idx) {
1039
+ $s = 's' if @$idx > 1;
1040
+ # collapse consecutive number ranges
1041
+ my ($i, @i, $rngStart);
1042
+ for ($i=0; $i<@$idx; ++$i) {
1043
+ if ($i < @$idx - 1 and $$idx[$i+1] == $$idx[$i] + 1) {
1044
+ $rngStart = $i unless defined $rngStart;
1045
+ next;
1046
+ }
1047
+ push @i, defined($rngStart) ? "$rngStart-$i" : $i;
1048
+ }
1049
+ ($idx = join ', ', @i) =~ s/(.*),/$1 and/;
1050
+ } elsif (not $$tagInfo{Relist}) {
1051
+ while (@printConvList and $printConv eq $printConvList[0]) {
1052
+ shift @printConvList;
1053
+ $index = shift @indexList;
1054
+ }
1055
+ if ($idx != $index) {
1056
+ $idx = "$idx-$index";
1057
+ $s = 's';
1058
+ }
1059
+ }
1060
+ push @values, "[Value$s $idx]";
1061
+ }
1062
+ if ($$tagInfo{SeparateTable}) {
1063
+ $subdir = 1;
1064
+ my $s = $$tagInfo{SeparateTable};
1065
+ $s = $name if $s eq '1';
1066
+ # add module name if not specified
1067
+ $s =~ / / or ($short =~ /^(\w+)/ and $s = "$1 $s");
1068
+ push @values, $s;
1069
+ $sepTable{$s} = $printConv;
1070
+ # add PrintHex flag to PrintConv so we can check it later
1071
+ $$printConv{PrintHex} = 1 if $$tagInfo{PrintHex};
1072
+ $$printConv{PrintString} = 1 if $$tagInfo{PrintString};
1073
+ } else {
1074
+ $caseInsensitive = 0;
1075
+ my @pk = sort { NumbersFirst($a,$b) } keys %$printConv;
1076
+ my $n = scalar @values;
1077
+ my ($bits, $i);
1078
+ foreach (@pk) {
1079
+ next if $_ eq '';
1080
+ $_ eq 'BITMASK' and $bits = $$printConv{$_}, next;
1081
+ $_ eq 'OTHER' and next;
1082
+ my $index;
1083
+ if (($$tagInfo{PrintHex} or $$printConv{BITMASK}) and /^-?\d+$/) {
1084
+ if ($_ >= 0) {
1085
+ $index = sprintf('0x%x', $_);
1086
+ } elsif ($format and $format =~ /int(16|32)/) {
1087
+ # mask off unused bits of signed integer hex value
1088
+ my $mask = { 16 => 0xffff, 32 => 0xffffffff }->{$1};
1089
+ $index = sprintf('0x%x', $_ & $mask);
1090
+ } else {
1091
+ $index = $_;
1092
+ }
1093
+ } elsif (/^[+-]?(?=\d|\.\d)\d*(\.\d*)?$/ and not $$tagInfo{PrintString}) {
1094
+ $index = $_;
1095
+ } else {
1096
+ $index = $_;
1097
+ # translate unprintable values
1098
+ if ($index =~ s/([\x00-\x1f\x80-\xff])/sprintf("\\x%.2x",ord $1)/eg) {
1099
+ $index = qq{"$index"};
1100
+ } else {
1101
+ $index = qq{'$index'};
1102
+ }
1103
+ }
1104
+ push @values, "$index = " . $$printConv{$_};
1105
+ # validate all PrintConv values
1106
+ if ($$printConv{$_} =~ /[\0-\x1f\x7f-\xff]/) {
1107
+ warn "Warning: Special characters in $short $name PrintConv ($$printConv{$_})\n";
1108
+ }
1109
+ }
1110
+ if ($bits) {
1111
+ my @pk = sort { NumbersFirst($a,$b) } keys %$bits;
1112
+ foreach (@pk) {
1113
+ push @values, "Bit $_ = " . $$bits{$_};
1114
+ }
1115
+ }
1116
+ # organize values into columns if specified
1117
+ my $cols = $$tagInfo{PrintConvColumns};
1118
+ if (not $cols and scalar(@values) - $n >= 6) {
1119
+ # do columns if more than 6 short entries
1120
+ my $maxLen = 0;
1121
+ for ($i=$n; $i<@values; ++$i) {
1122
+ next unless $maxLen < length $values[$i];
1123
+ $maxLen = length $values[$i];
1124
+ }
1125
+ my $num = scalar(@values) - $n;
1126
+ $cols = int(50 / ($maxLen + 2)); # (50 chars max width)
1127
+ # have 3 rows minimum
1128
+ --$cols while $cols and $num / $cols < 3;
1129
+ }
1130
+ if ($cols) {
1131
+ my @new = splice @values, $n;
1132
+ my $v = '[!HTML]<table class=cols><tr>';
1133
+ my $rows = int((scalar(@new) + $cols - 1) / $cols);
1134
+ for ($n=0; ;) {
1135
+ $v .= "\n <td>";
1136
+ for ($i=0; $i<$rows and $n+$i<@new; ++$i) {
1137
+ $v .= "\n <br>" if $i;
1138
+ $v .= EscapeHTML($new[$n+$i]);
1139
+ }
1140
+ $v .= '</td>';
1141
+ last if ($n += $rows) >= @new;
1142
+ $v .= '<td>&nbsp;&nbsp;</td>'; # add spaces between columns
1143
+ }
1144
+ push @values, $v . "</tr></table>\n";
1145
+ }
1146
+ }
1147
+ last unless @printConvList;
1148
+ $printConv = shift @printConvList;
1149
+ $index = shift @indexList;
1150
+ }
1151
+ } elsif ($printConv and $printConv =~ /DecodeBits\(\$val,\s*(\{.*\})\s*\)/s) {
1152
+ $$self{Model} = ''; # needed for Nikon ShootingMode
1153
+ my $bits = eval $1;
1154
+ delete $$self{Model};
1155
+ if ($@) {
1156
+ warn $@;
1157
+ } else {
1158
+ my @pk = sort { NumbersFirst($a,$b) } keys %$bits;
1159
+ foreach (@pk) {
1160
+ push @values, "Bit $_ = " . $$bits{$_};
1161
+ }
1162
+ }
1163
+ }
1164
+ if ($subdir and not $$tagInfo{SeparateTable}) {
1165
+ # subdirectories are only writable if specified explicitly
1166
+ my $tw = $$tagInfo{Writable};
1167
+ $writable = 'Y' if $tw and $writable eq '1';
1168
+ $writable = '-' . ($tw ? $writable : '');
1169
+ $writable .= '!' if $tw and ($$tagInfo{Protected} || 0) & 0x01;
1170
+ $writable .= '+' if $$tagInfo{List};
1171
+ } else {
1172
+ # not writable if we can't do the inverse conversions
1173
+ my $noPrintConvInv;
1174
+ if ($writable) {
1175
+ foreach ('PrintConv','ValueConv') {
1176
+ next unless $$tagInfo{$_};
1177
+ next if $$tagInfo{$_ . 'Inv'};
1178
+ next if ref($$tagInfo{$_}) =~ /^(HASH|ARRAY)$/;
1179
+ next if $$tagInfo{WriteAlso};
1180
+ if ($_ eq 'ValueConv') {
1181
+ undef $writable;
1182
+ } else {
1183
+ $noPrintConvInv = 1;
1184
+ }
1185
+ }
1186
+ }
1187
+ if (not $writable) {
1188
+ $writable = 'N';
1189
+ } else {
1190
+ $writable eq '1' and $writable = $format ? $format : 'Y';
1191
+ my $count = $$tagInfo{Count} || 1;
1192
+ # adjust count to Writable size if different than Format
1193
+ if ($writable and $format and $writable ne $format and
1194
+ $Image::ExifTool::Exif::formatNumber{$writable} and
1195
+ $Image::ExifTool::Exif::formatNumber{$format})
1196
+ {
1197
+ my $n1 = $Image::ExifTool::Exif::formatNumber{$format};
1198
+ my $n2 = $Image::ExifTool::Exif::formatNumber{$writable};
1199
+ $count *= $Image::ExifTool::Exif::formatSize[$n1] /
1200
+ $Image::ExifTool::Exif::formatSize[$n2];
1201
+ }
1202
+ if ($count != 1) {
1203
+ $count = 'n' if $count < 0;
1204
+ $writable .= "[$count]";
1205
+ }
1206
+ $writable .= '~' if $noPrintConvInv;
1207
+ # add a '*' if this tag is protected or a '!' for unsafe tags
1208
+ if ($$tagInfo{Protected}) {
1209
+ $writable .= '*' if $$tagInfo{Protected} & 0x02;
1210
+ $writable .= '!' if $$tagInfo{Protected} & 0x01;
1211
+ }
1212
+ $writable .= '/' if $$tagInfo{Avoid};
1213
+ }
1214
+ $writable = "=struct" if $struct;
1215
+ $writable .= '_' if defined $$tagInfo{Flat};
1216
+ $writable .= '+' if $$tagInfo{List};
1217
+ $writable .= ':' if $$tagInfo{Mandatory};
1218
+ # separate tables link like subdirectories (flagged with leading '-')
1219
+ $writable = "-$writable" if $subdir;
1220
+ }
1221
+ # don't duplicate a tag name unless an entry is different
1222
+ my $lcName = lc($name);
1223
+ # check for conflicts with shortcut names
1224
+ if ($isShortcut{$lcName} and $short ne 'Shortcuts' and
1225
+ ($$tagInfo{Writable} or not $$tagInfo{SubDirectory}))
1226
+ {
1227
+ warn "WARNING: $short $name is a shortcut tag!\n";
1228
+ }
1229
+ $name .= '?' if $$tagInfo{Unknown};
1230
+ unless (@tagNames and $tagNames[-1] eq $name and
1231
+ $writeGroup[-1] eq $writeGroup and $writable[-1] eq $writable)
1232
+ {
1233
+ push @tagNames, $name;
1234
+ push @writeGroup, $writeGroup;
1235
+ push @writable, $writable;
1236
+ }
1237
+ #
1238
+ # add this tag to the tag lookup unless NO_LOOKUP is set or shortcut or plug-in tag
1239
+ #
1240
+ next if $shortcut or $isPlugin;
1241
+ # count tags
1242
+ if ($$tagInfo{SubDirectory}) {
1243
+ next if $$vars{NO_LOOKUP};
1244
+ $subdirs{$lcName} or $subdirs{$lcName} = 0;
1245
+ ++$subdirs{$lcName};
1246
+ } else {
1247
+ ++$count{'total tags'};
1248
+ unless ($tagExists{$lcName} and
1249
+ (not $subdirs{$lcName} or $subdirs{$lcName} == $tagExists{$lcName}))
1250
+ {
1251
+ ++$count{'unique tag names'} unless $noLookup{$lcName};
1252
+ }
1253
+ # don't add to tag lookup if specified
1254
+ $$vars{NO_LOOKUP} and $noLookup{$lcName} = 1, next;
1255
+ }
1256
+ $tagExists{$lcName} or $tagExists{$lcName} = 0;
1257
+ ++$tagExists{$lcName};
1258
+ # only add writable tags to lookup table (for speed)
1259
+ my $wflag = $$tagInfo{Writable};
1260
+ next unless $writeProc and ($wflag or ($$table{WRITABLE} and
1261
+ not defined $wflag and not $$tagInfo{SubDirectory}));
1262
+ $tagLookup{$lcName} or $tagLookup{$lcName} = { };
1263
+ # add to lookup for flattened tags if necessary
1264
+ if ($$tagInfo{RootTagInfo}) {
1265
+ $flattened{$lcName} or $flattened{$lcName} = { };
1266
+ $flattened{$lcName}{$tableNum} = $$tagInfo{RootTagInfo}{TagID};
1267
+ }
1268
+ # remember number for this table
1269
+ my $tagIDs = $tagLookup{$lcName}->{$tableNum};
1270
+ # must allow for duplicate tags with the same name in a single table!
1271
+ if ($tagIDs) {
1272
+ if (ref $tagIDs eq 'HASH') {
1273
+ $$tagIDs{$tagID} = 1;
1274
+ next;
1275
+ } elsif ($tagID eq $tagIDs) {
1276
+ next;
1277
+ } else {
1278
+ $tagIDs = { $tagIDs => 1, $tagID => 1 };
1279
+ }
1280
+ } else {
1281
+ $tagIDs = $tagID;
1282
+ }
1283
+ $tableWritable{$tableName} = 1;
1284
+ $tagLookup{$lcName}->{$tableNum} = $tagIDs;
1285
+ if ($short eq 'Composite' and $$tagInfo{Module}) {
1286
+ $compositeModules{$lcName} = $$tagInfo{Module};
1287
+ }
1288
+ }
1289
+ #
1290
+ # save TagName information
1291
+ #
1292
+ my $tagIDstr;
1293
+ if ($tagID =~ /^(-)?\d+(\.\d+)?$/) {
1294
+ if ($1) {
1295
+ $tagIDstr = $tagID;
1296
+ } elsif (defined $hexID) {
1297
+ $tagIDstr = $hexID ? sprintf('0x%.4x',$tagID) : $tagID;
1298
+ } elsif (not $2 and not $binaryTable and not $isIPTC and
1299
+ not ($short =~ /^CanonCustom/ and $tagID < 256))
1300
+ {
1301
+ $tagIDstr = sprintf('0x%.4x',$tagID);
1302
+ } elsif ($tagID < 0x10000) {
1303
+ $tagIDstr = $tagID;
1304
+ } else {
1305
+ $tagIDstr = sprintf('0x%.8x',$tagID);
1306
+ }
1307
+ } elsif ($short eq 'DICOM') {
1308
+ ($tagIDstr = $tagID) =~ s/_/,/;
1309
+ } elsif ($tagID =~ /^0x([0-9a-f]+)\.(\d+)$/) { # DR4 tags like '0x20500.0'
1310
+ $tagIDstr = $tagID;
1311
+ } else {
1312
+ # convert non-printable characters to hex escape sequences
1313
+ if ($tagID =~ s/([\x00-\x1f\x7f-\xff])/'\x'.unpack('H*',$1)/eg) {
1314
+ $tagID =~ s/\\x00/\\0/g;
1315
+ next if $tagID eq 'jP\x1a\x1a'; # ignore abnormal JP2 signature tag
1316
+ $tagIDstr = qq{"$tagID"};
1317
+ } else {
1318
+ $tagIDstr = "'$tagID'";
1319
+ }
1320
+ }
1321
+ my $len = length $tagIDstr;
1322
+ $longID{$tableName} = $len if $longID{$tableName} < $len;
1323
+ foreach (@tagNames) {
1324
+ $len = length $_;
1325
+ $longName{$tableName} = $len if $longName{$tableName} < $len;
1326
+ }
1327
+ push @$info, [ $tagIDstr, \@tagNames, \@writable, \@values, \@require, \@writeGroup ];
1328
+ }
1329
+ # do consistency check of writable BinaryData tables
1330
+ if ($processBinaryData and $$table{WRITABLE}) {
1331
+ my %lookup = (
1332
+ IS_OFFSET => \%isOffset,
1333
+ IS_SUBDIR => \%hasSubdir,
1334
+ DATAMEMBER => \%datamember,
1335
+ );
1336
+ my ($var, $tagID);
1337
+ foreach $var (sort keys %lookup) {
1338
+ my $hash = $lookup{$var};
1339
+ if ($$table{$var}) {
1340
+ foreach $tagID (@{$$table{$var}}) {
1341
+ $$hash{$tagID} and delete($$hash{$tagID}), next;
1342
+ warn "Warning: Extra $var for $short tag $tagID\n";
1343
+ }
1344
+ }
1345
+ foreach $tagID (sort keys %$hash) {
1346
+ warn "Warning: Missing $var for $short $$hash{$tagID}\n";
1347
+ }
1348
+ }
1349
+ }
1350
+ }
1351
+ # save information about structures
1352
+ my $strName;
1353
+ foreach $strName (keys %structs) {
1354
+ my $struct = $structLookup{$strName};
1355
+ my $fullName = ($strName =~ / / ? '' : 'XMP ') . "$strName Struct";
1356
+ my $info = $tagNameInfo{$fullName} = [ ];
1357
+ my $tag;
1358
+ foreach $tag (sort keys %$struct) {
1359
+ my $tagInfo = $$struct{$tag};
1360
+ next unless ref $tagInfo eq 'HASH';
1361
+ my $writable = $$tagInfo{Writable};
1362
+ my @vals;
1363
+ unless ($writable) {
1364
+ $writable = $$tagInfo{Struct};
1365
+ ref $writable and $writable = $$writable{STRUCT_NAME};
1366
+ if ($writable) {
1367
+ push @vals, $writable;
1368
+ $structs{$writable} = 1;
1369
+ $writable = "=$writable";
1370
+ } else {
1371
+ $writable = 'string';
1372
+ }
1373
+ }
1374
+ $writable .= '+' if $$tagInfo{List};
1375
+ push @$info, [
1376
+ $tag,
1377
+ [ $$tagInfo{Name} || ucfirst($tag) ],
1378
+ [ $writable ],
1379
+ \@vals,
1380
+ [], []
1381
+ ];
1382
+ }
1383
+ }
1384
+ return $self;
1385
+ }
1386
+
1387
+ #------------------------------------------------------------------------------
1388
+ # Rewrite this file to build the lookup tables
1389
+ # Inputs: 0) BuildTagLookup object reference
1390
+ # 1) output tag lookup module name (eg. 'lib/Image/ExifTool/TagLookup.pm')
1391
+ # Returns: true on success
1392
+ sub WriteTagLookup($$)
1393
+ {
1394
+ local ($_, *INFILE, *OUTFILE);
1395
+ my ($self, $file) = @_;
1396
+ my $tagLookup = $self->{TAG_LOOKUP};
1397
+ my $tagExists = $self->{TAG_EXISTS};
1398
+ my $flattened = $self->{FLATTENED};
1399
+ my $tableWritable = $self->{TABLE_WRITABLE};
1400
+ #
1401
+ # open/create necessary files and transfer file headers
1402
+ #
1403
+ my $tmpFile = "${file}_tmp";
1404
+ open(INFILE, $file) or warn("Can't open $file\n"), return 0;
1405
+ unless (open(OUTFILE, ">$tmpFile")) {
1406
+ warn "Can't create temporary file $tmpFile\n";
1407
+ close(INFILE);
1408
+ return 0;
1409
+ }
1410
+ my $success;
1411
+ while (<INFILE>) {
1412
+ print OUTFILE $_ or last;
1413
+ if (/^#\+{4} Begin/) {
1414
+ $success = 1;
1415
+ last;
1416
+ }
1417
+ }
1418
+ print OUTFILE "\n# list of tables containing writable tags\n";
1419
+ print OUTFILE "my \@tableList = (\n";
1420
+
1421
+ #
1422
+ # write table list
1423
+ #
1424
+ my @tableNames = sort keys %allTables;
1425
+ my $tableName;
1426
+ my %wrNum; # translate from allTables index to writable tables index
1427
+ my $count = 0;
1428
+ my $num = 0;
1429
+ foreach $tableName (@tableNames) {
1430
+ if ($$tableWritable{$tableName}) {
1431
+ print OUTFILE "\t'$tableName',\n";
1432
+ $wrNum{$count} = $num++;
1433
+ }
1434
+ $count++;
1435
+ }
1436
+ #
1437
+ # write the tag lookup table
1438
+ #
1439
+ my $tag;
1440
+ # verify that certain critical tag names aren't duplicated
1441
+ foreach $tag (qw{filename directory}) {
1442
+ next unless $$tagLookup{$tag};
1443
+ my $n = scalar keys %{$$tagLookup{$tag}};
1444
+ warn "Warning: $n writable '$tag' tags!\n" if $n > 1;
1445
+ }
1446
+ print OUTFILE ");\n\n# lookup for all writable tags\nmy \%tagLookup = (\n";
1447
+ foreach $tag (sort keys %$tagLookup) {
1448
+ print OUTFILE "\t'$tag' => { ";
1449
+ my @tableNums = sort { $a <=> $b } keys %{$$tagLookup{$tag}};
1450
+ my (@entries, $tableNum);
1451
+ foreach $tableNum (@tableNums) {
1452
+ my $tagID = $$tagLookup{$tag}{$tableNum};
1453
+ my $rootID = $$flattened{$tag}{$tableNum};
1454
+ my $entry;
1455
+ if (ref $tagID eq 'HASH' or $rootID) {
1456
+ $tagID = { $tagID => 1 } unless ref $tagID eq 'HASH';
1457
+ my @tagIDs = sort keys %$tagID;
1458
+ foreach (@tagIDs) {
1459
+ if (/^\d+$/) {
1460
+ $_ = sprintf('0x%x',$_);
1461
+ } else {
1462
+ my $quot = "'";
1463
+ # escape non-printable characters in tag ID if necessary
1464
+ $quot = '"' if s/[\x00-\x1f,\x7f-\xff]/sprintf('\\x%.2x',ord($&))/ge;
1465
+ $_ = $quot . $_ . $quot;
1466
+ }
1467
+ }
1468
+ # reference to root structure ID must come first in lookup
1469
+ # (so we can generate the flattened tags just before we need them)
1470
+ unshift @tagIDs, "\\'$rootID'" if $rootID;
1471
+ $entry = '[' . join(',', @tagIDs) . ']';
1472
+ } elsif ($tagID =~ /^\d+$/) {
1473
+ $entry = sprintf('0x%x',$tagID);
1474
+ } else {
1475
+ $entry = "'$tagID'";
1476
+ }
1477
+ my $wrNum = $wrNum{$tableNum};
1478
+ push @entries, "$wrNum => $entry";
1479
+ }
1480
+ print OUTFILE join(', ', @entries);
1481
+ print OUTFILE " },\n";
1482
+ }
1483
+ #
1484
+ # write tag exists lookup
1485
+ #
1486
+ print OUTFILE ");\n\n# lookup for non-writable tags to check if the name exists\n";
1487
+ print OUTFILE "my \%tagExists = (\n";
1488
+ foreach $tag (sort keys %$tagExists) {
1489
+ next if $$tagLookup{$tag};
1490
+ print OUTFILE "\t'$tag' => 1,\n";
1491
+ }
1492
+ #
1493
+ # write module lookup for writable composite tags
1494
+ #
1495
+ my $compositeModules = $self->{COMPOSITE_MODULES};
1496
+ print OUTFILE ");\n\n# module names for writable Composite tags\n";
1497
+ print OUTFILE "my \%compositeModules = (\n";
1498
+ foreach (sort keys %$compositeModules) {
1499
+ print OUTFILE "\t'$_' => '$$compositeModules{$_}',\n";
1500
+ }
1501
+ print OUTFILE ");\n\n";
1502
+ #
1503
+ # finish writing TagLookup.pm and clean up
1504
+ #
1505
+ if ($success) {
1506
+ $success = 0;
1507
+ while (<INFILE>) {
1508
+ $success or /^#\+{4} End/ or next;
1509
+ print OUTFILE $_;
1510
+ $success = 1;
1511
+ }
1512
+ }
1513
+ close(INFILE);
1514
+ close(OUTFILE) or $success = 0;
1515
+ #
1516
+ # return success code
1517
+ #
1518
+ if ($success) {
1519
+ local (*ORG, *TMP);
1520
+ # only rename the file if something changed
1521
+ open ORG, $file or return 0;
1522
+ open TMP, $tmpFile or return 0;
1523
+ my ($buff, $buf2, $changed);
1524
+ for (;;) {
1525
+ my $n1 = read ORG, $buff, 65536;
1526
+ my $n2 = read TMP, $buf2, 65536;
1527
+ $n1 eq $n2 or $changed = 1, last;
1528
+ last unless $n1;
1529
+ $buff eq $buf2 or $changed = 1, last;
1530
+ }
1531
+ close ORG;
1532
+ close TMP;
1533
+ if ($changed) {
1534
+ rename($tmpFile, $file) or warn("Error renaming $tmpFile\n"), $success = 0;
1535
+ } else {
1536
+ unlink($tmpFile);
1537
+ }
1538
+ } else {
1539
+ unlink($tmpFile);
1540
+ warn "Error rewriting file\n";
1541
+ }
1542
+ return $success;
1543
+ }
1544
+
1545
+ #------------------------------------------------------------------------------
1546
+ # Sort numbers first numerically, then strings alphabetically (case insensitive)
1547
+ # - two global variables are used to change the sort algorithm:
1548
+ # $numbersFirst: -1 = put numbers after other strings
1549
+ # 1 = put numbers before other strings
1550
+ # 2 = put numbers first, but negative numbers last
1551
+ # $caseInsensitive: flag set for case-insensitive sorting
1552
+ sub NumbersFirst($$)
1553
+ {
1554
+ my ($a, $b) = @_;
1555
+ my $rtnVal;
1556
+ my ($bNum, $bDec);
1557
+ ($bNum, $bDec) = ($1, $3) if $b =~ /^(-?[0-9]+)(\.(\d*))?$/;
1558
+ if ($a =~ /^(-?[0-9]+)(\.(\d*))?$/) {
1559
+ if (defined $bNum) {
1560
+ $bNum += 1e9 if $numbersFirst == 2 and $bNum < 0;
1561
+ my $aInt = $1;
1562
+ $aInt += 1e9 if $numbersFirst == 2 and $aInt < 0;
1563
+ # compare integer part as a number
1564
+ $rtnVal = $aInt <=> $bNum;
1565
+ unless ($rtnVal) {
1566
+ my $aDec = $3 || 0;
1567
+ $bDec or $bDec = 0;
1568
+ # compare decimal part as an integer too
1569
+ # (so that "1.10" comes after "1.9")
1570
+ $rtnVal = $aDec <=> $bDec;
1571
+ }
1572
+ } else {
1573
+ $rtnVal = -$numbersFirst;
1574
+ }
1575
+ } elsif (defined $bNum) {
1576
+ $rtnVal = $numbersFirst;
1577
+ } else {
1578
+ my ($a2, $b2) = ($a, $b);
1579
+ # expand numbers to 3 digits (with restrictions to avoid messing up ascii-hex tags)
1580
+ $a2 =~ s/(\d+)/sprintf("%.3d",$1)/eg if $a2 =~ /^(APP|DMC-\w+ )?[.0-9 ]*$/ and length($a2)<16;
1581
+ $b2 =~ s/(\d+)/sprintf("%.3d",$1)/eg if $b2 =~ /^(APP|DMC-\w+ )?[.0-9 ]*$/ and length($b2)<16;
1582
+ $caseInsensitive and $rtnVal = (lc($a2) cmp lc($b2));
1583
+ $rtnVal or $rtnVal = ($a2 cmp $b2);
1584
+ }
1585
+ return $rtnVal;
1586
+ }
1587
+
1588
+ #------------------------------------------------------------------------------
1589
+ # Convert our pod-like documentation to pod
1590
+ # (funny, I know, but the pod headings must be hidden to prevent confusing
1591
+ # the pod parser)
1592
+ # Inputs: 0-N) documentation strings
1593
+ sub Doc2Pod($;@)
1594
+ {
1595
+ my $doc = shift;
1596
+ local $_;
1597
+ $doc .= shift while @_;
1598
+ $doc =~ s/\n~/\n=/g;
1599
+ $doc =~ s/L<[^>]+?\|(http[^>]+)>/L<$1>/g; # POD doesn't support text for http links
1600
+ $doc =~ s/L<([^>]+?)\|[^>]+\.html>/$1/g; # remove relative HTML links
1601
+ return $doc;
1602
+ }
1603
+
1604
+ #------------------------------------------------------------------------------
1605
+ # Convert our pod-like documentation to html
1606
+ # Inputs: 0) string
1607
+ sub Doc2Html($)
1608
+ {
1609
+ my $doc = EscapeHTML(shift);
1610
+ $doc =~ s/\n\n/<\/p>\n\n<p>/g;
1611
+ $doc =~ s/B&lt;(.*?)&gt;/<b>$1<\/b>/sg;
1612
+ $doc =~ s/C&lt;(.*?)&gt;/<code>$1<\/code>/sg;
1613
+ $doc =~ s/I&lt;(.*?)&gt;/<i>$1<\/i>/sg;
1614
+ # L<some text|http://owl.phy.queensu.ca/~phil/exiftool/struct.html#Fields> --> <a href="../struct.html#Fields">some text</a>
1615
+ $doc =~ s{L&lt;([^&]+?)\|\Q$homePage\E/(.*?)&gt;}{<a href="../$2">$1<\/a>}sg;
1616
+ # L<http://owl.phy.queensu.ca/~phil/exiftool/struct.html> --> <a href="http://owl.phy.queensu.ca/~phil/exiftool/struct.html">http://owl.phy.queensu.ca/~phil/exiftool/struct.html</a>
1617
+ $doc =~ s{L&lt;\Q$homePage\E/(.*?)&gt;}{<a href="../$1">$1<\/a>}sg;
1618
+ # L<XMP DICOM Tags|Image::ExifTool::TagNames/XMP DICOM Tags> --> <a href="XMP.html#DICOM">XMP DICOM Tags</a>
1619
+ # (specify "Image::ExifTool::TagNames" to link to another html file)
1620
+ $doc =~ s{L&lt;([^&]+?)\|Image::ExifTool::TagNames/(\w+) ([^/&|]+) Tags&gt;}{<a href="$2.html#$3">$1</a>}sg;
1621
+ # L<DICOM Tags|Image::ExifTool::TagNames/DICOM Tags> --> <a href="DICOM.html">DICOM Tags</a>
1622
+ $doc =~ s{L&lt;([^&]+?)\|Image::ExifTool::TagNames/(\w+) Tags&gt;}{<a href="$2.html">$1</a>}sg;
1623
+ # L<dc|/XMP dc Tags> --> <a href="#dc">dc</a>
1624
+ # (a relative POD link turns into a relative HTML link)
1625
+ $doc =~ s{L&lt;([^&]+?)\|/\w+ ([^/&|]+) Tags&gt;}{<a href="#$2">$1</a>}sg;
1626
+ # L<sample config file|../config.html> --> <a href="../config.html">sample config file</a>
1627
+ $doc =~ s/L&lt;([^&]+?)\|(.+?)&gt;/<a href="$2">$1<\/a>/sg;
1628
+ # L<http://some.web.site/> --> <a href="http://some.web.site">http://some.web.site</a>
1629
+ $doc =~ s/L&lt;(http.*?)&gt;/<a href="$1">$1<\/a>/sg;
1630
+ return $doc;
1631
+ }
1632
+
1633
+ #------------------------------------------------------------------------------
1634
+ # Tweak order of tables
1635
+ # Inputs: 0) table list ref, 1) reference to tweak hash
1636
+ sub TweakOrder($$)
1637
+ {
1638
+ local $_;
1639
+ my ($sortedTables, $tweakOrder) = @_;
1640
+ my @tweak = sort keys %$tweakOrder;
1641
+ my (%addedMain, @sorted);
1642
+ # flag files which have a "Main" table
1643
+ foreach (@$sortedTables) {
1644
+ $addedMain{$1} = 0 if /^Image::ExifTool::(\w+)::(\w+)/ and $2 eq 'Main';
1645
+ }
1646
+ # make sure that the main table always comes first in each file
1647
+ foreach (@$sortedTables) {
1648
+ if (/^Image::ExifTool::(\w+)::(\w+)/) {
1649
+ if ($addedMain{$1}) {
1650
+ next if $2 eq 'Main'; # don't add again
1651
+ } elsif (defined $addedMain{$1}) {
1652
+ push @sorted, "Image::ExifTool::${1}::Main" if $2 ne 'Main';
1653
+ $addedMain{$1} = 1;
1654
+ }
1655
+ }
1656
+ push @sorted, $_;
1657
+ }
1658
+ @$sortedTables = @sorted;
1659
+ # apply manual tweaks
1660
+ while (@tweak) {
1661
+ my $table = shift @tweak;
1662
+ my $first = $$tweakOrder{$table};
1663
+ if ($$tweakOrder{$first}) {
1664
+ push @tweak, $table; # must defer this till later
1665
+ next;
1666
+ }
1667
+ delete $$tweakOrder{$table}; # because the table won't move again
1668
+ my @moving = grep /^Image::ExifTool::$table\b/, @$sortedTables;
1669
+ my @notMoving = grep !/^Image::ExifTool::$table\b/, @$sortedTables;
1670
+ my @after;
1671
+ while (@notMoving) {
1672
+ last if $notMoving[-1] =~ /^Image::ExifTool::$first\b/;
1673
+ unshift @after, pop @notMoving;
1674
+ }
1675
+ @$sortedTables = (@notMoving, @moving, @after);
1676
+ }
1677
+ }
1678
+
1679
+ #------------------------------------------------------------------------------
1680
+ # Get a list of sorted tag ID's from a table
1681
+ # Inputs: 0) tag table ref
1682
+ # Returns: list of sorted keys
1683
+ sub SortedTagTableKeys($)
1684
+ {
1685
+ my $table = shift;
1686
+ my $vars = $$table{VARS} || { };
1687
+ my @keys = TagTableKeys($table);
1688
+ if ($$vars{NO_ID}) {
1689
+ # sort by tag name if ID not shown
1690
+ my ($key, %name);
1691
+ foreach $key (@keys) {
1692
+ my ($tagInfo) = GetTagInfoList($table, $key);
1693
+ $name{$key} = $$tagInfo{Name};
1694
+ }
1695
+ return sort { $name{$a} cmp $name{$b} or $a cmp $b } @keys;
1696
+ } else {
1697
+ my $sortProc = $$vars{SORT_PROC} || \&NumbersFirst;
1698
+ return sort { &$sortProc($a,$b) } @keys;
1699
+ }
1700
+ }
1701
+
1702
+ #------------------------------------------------------------------------------
1703
+ # Get the order that we want to print the tables in the documentation
1704
+ # Inputs: 0-N) Extra tables to add at end
1705
+ # Returns: tables in the order we want
1706
+ sub GetTableOrder(@)
1707
+ {
1708
+ my %gotTable;
1709
+ my @tableNames = @tableOrder;
1710
+ my (@orderedTables, %mainTables, @outOfOrder);
1711
+ my $lastTable = '';
1712
+
1713
+ while (@tableNames) {
1714
+ my $tableName = shift @tableNames;
1715
+ next if $gotTable{$tableName};
1716
+ if ($tableName =~ /^Image::ExifTool::(\w+)::Main/) {
1717
+ $mainTables{$1} = 1;
1718
+ } elsif ($lastTable and not $tableName =~ /^${lastTable}::/) {
1719
+ push @outOfOrder, $tableName;
1720
+ }
1721
+ ($lastTable) = ($tableName =~ /^(Image::ExifTool::\w+)/);
1722
+ push @orderedTables, $tableName;
1723
+ $gotTable{$tableName} = 1;
1724
+ my $table = GetTagTable($tableName);
1725
+ # recursively scan through tables in subdirectories
1726
+ my @moreTables;
1727
+ $caseInsensitive = ($$table{GROUPS} and $$table{GROUPS}{0} eq 'XMP');
1728
+ $numbersFirst = -1 if $$table{VARS} and $$table{VARS}{ALPHA_FIRST};
1729
+ my @keys = SortedTagTableKeys($table);
1730
+ $numbersFirst = 1;
1731
+ foreach (@keys) {
1732
+ my @infoArray = GetTagInfoList($table,$_);
1733
+ my $tagInfo;
1734
+ foreach $tagInfo (@infoArray) {
1735
+ my $subdir = $$tagInfo{SubDirectory} or next;
1736
+ $tableName = $$subdir{TagTable} or next;
1737
+ next if $gotTable{$tableName}; # next if table already loaded
1738
+ push @moreTables, $tableName; # must scan this one too
1739
+ }
1740
+ }
1741
+ unshift @tableNames, @moreTables;
1742
+ }
1743
+ # clean up the order for tables which are out of order
1744
+ # (groups all Canon and Kodak tables together)
1745
+ my %fixOrder;
1746
+ foreach (@outOfOrder) {
1747
+ next unless /^Image::ExifTool::(\w+)/;
1748
+ # only re-order tables which have a corresponding main table
1749
+ next unless $mainTables{$1};
1750
+ $fixOrder{$1} = []; # fix the order of these tables
1751
+ }
1752
+ my (@sortedTables, %fixPos, $pos);
1753
+ foreach (@orderedTables) {
1754
+ if (/^Image::ExifTool::(\w+)/ and $fixOrder{$1}) {
1755
+ my $fix = $fixOrder{$1};
1756
+ unless (@$fix) {
1757
+ $pos = @sortedTables;
1758
+ $fixPos{$pos} or $fixPos{$pos} = [];
1759
+ push @{$fixPos{$pos}}, $1;
1760
+ }
1761
+ push @{$fix}, $_;
1762
+ } else {
1763
+ push @sortedTables, $_;
1764
+ }
1765
+ }
1766
+ # insert back in better order
1767
+ foreach $pos (sort { $b <=> $a } keys %fixPos) { # (reverse sort)
1768
+ my $fix = $fixPos{$pos};
1769
+ foreach (@$fix) {
1770
+ splice(@sortedTables, $pos, 0, @{$fixOrder{$_}});
1771
+ }
1772
+ }
1773
+ # add the extra tables
1774
+ push @sortedTables, @_;
1775
+ # tweak the table order
1776
+ TweakOrder(\@sortedTables, \%tweakOrder);
1777
+
1778
+ return @sortedTables;
1779
+ }
1780
+
1781
+ #------------------------------------------------------------------------------
1782
+ # Open HTMLFILE and print header and description
1783
+ # Inputs: 0) Filename, 1) optional category
1784
+ # Returns: True on success
1785
+ my %createdFiles;
1786
+ sub OpenHtmlFile($;$$)
1787
+ {
1788
+ my ($htmldir, $category, $sepTable) = @_;
1789
+ my ($htmlFile, $head, $title, $url, $class);
1790
+ my $top = '';
1791
+
1792
+ if ($category) {
1793
+ my @names = split ' ', $category;
1794
+ $class = shift @names;
1795
+ $htmlFile = "$htmldir/TagNames/$class.html";
1796
+ $head = $category;
1797
+ if ($head =~ /^\S+ .+ Struct$/) {
1798
+ pop @names;
1799
+ } else {
1800
+ $head .= ($sepTable ? ' Values' : ' Tags');
1801
+ }
1802
+ ($title = $head) =~ s/ .* / /;
1803
+ @names and $url = join '_', @names;
1804
+ } else {
1805
+ $htmlFile = "$htmldir/TagNames/index.html";
1806
+ $category = $class = 'ExifTool';
1807
+ $head = $title = 'ExifTool Tag Names';
1808
+ }
1809
+ if ($createdFiles{$htmlFile}) {
1810
+ open(HTMLFILE, ">>${htmlFile}_tmp") or return 0;
1811
+ } else {
1812
+ open(HTMLFILE, ">${htmlFile}_tmp") or return 0;
1813
+ print HTMLFILE "$docType<html>\n<head>\n<title>$title</title>\n";
1814
+ print HTMLFILE "<link rel=stylesheet type='text/css' href='style.css' title='Style'>\n";
1815
+ print HTMLFILE "</head>\n<body>\n";
1816
+ if ($category ne $class and $docs{$class}) {
1817
+ print HTMLFILE "<h2 class=top>$class Tags</h2>\n" or return 0;
1818
+ print HTMLFILE '<p>',Doc2Html($docs{$class}),"</p>\n" or return 0;
1819
+ } else {
1820
+ $top = " class=top";
1821
+ }
1822
+ }
1823
+ $head = "<a name='$url'>$head</a>" if $url;
1824
+ print HTMLFILE "<h2$top>$head</h2>\n" or return 0;
1825
+ print HTMLFILE '<p>',Doc2Html($docs{$category}),"</p>\n" if $docs{$category};
1826
+ $createdFiles{$htmlFile} = 1;
1827
+ return 1;
1828
+ }
1829
+
1830
+ #------------------------------------------------------------------------------
1831
+ # Close all html files and write trailers
1832
+ # Returns: true on success
1833
+ # Inputs: 0) BuildTagLookup object reference
1834
+ sub CloseHtmlFiles($)
1835
+ {
1836
+ my $self = shift;
1837
+ my $preserveDate = $$self{PRESERVE_DATE};
1838
+ my $success = 1;
1839
+ # get the date
1840
+ my ($sec,$min,$hr,$day,$mon,$yr) = localtime;
1841
+ my @month = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
1842
+ $yr += 1900;
1843
+ my $date = "$month[$mon] $day, $yr";
1844
+ my $htmlFile;
1845
+ my $countNewFiles = 0;
1846
+ my $countSameFiles = 0;
1847
+ foreach $htmlFile (keys %createdFiles) {
1848
+ my $tmpFile = $htmlFile . '_tmp';
1849
+ my $fileDate = $date;
1850
+ if ($preserveDate) {
1851
+ my @lines = `grep '<i>Last revised' $htmlFile`;
1852
+ $fileDate = $1 if @lines and $lines[-1] =~ m{<i>Last revised (.*)</i>};
1853
+ }
1854
+ open(HTMLFILE, ">>$tmpFile") or $success = 0, next;
1855
+ # write the trailers
1856
+ print HTMLFILE "<hr>\n";
1857
+ print HTMLFILE "(This document generated automatically by Image::ExifTool::BuildTagLookup)\n";
1858
+ print HTMLFILE "<br><i>Last revised $fileDate</i>\n";
1859
+ print HTMLFILE "<p class=lf><a href=";
1860
+ if ($htmlFile =~ /index\.html$/) {
1861
+ print HTMLFILE "'../index.html'>&lt;-- Back to ExifTool home page</a></p>\n";
1862
+ } else {
1863
+ print HTMLFILE "'index.html'>&lt;-- ExifTool Tag Names</a></p>\n"
1864
+ }
1865
+ print HTMLFILE "</body>\n</html>\n" or $success = 0;
1866
+ close HTMLFILE or $success = 0;
1867
+ # check for differences and only use new file if it was changed
1868
+ # (so the date only gets updated if changes were really made)
1869
+ my $useNewFile;
1870
+ if ($success) {
1871
+ open (TEMPFILE, $tmpFile) or $success = 0, last;
1872
+ if (open (HTMLFILE, $htmlFile)) {
1873
+ while (<HTMLFILE>) {
1874
+ my $newLine = <TEMPFILE>;
1875
+ if (defined $newLine) {
1876
+ next if /^<br><i>Last revised/;
1877
+ next if $_ eq $newLine;
1878
+ }
1879
+ # files are different -- use the new file
1880
+ $useNewFile = 1;
1881
+ last;
1882
+ }
1883
+ $useNewFile = 1 if <TEMPFILE>;
1884
+ close HTMLFILE;
1885
+ } else {
1886
+ $useNewFile = 1;
1887
+ }
1888
+ close TEMPFILE;
1889
+ if ($useNewFile) {
1890
+ ++$countNewFiles;
1891
+ rename $tmpFile, $htmlFile or warn("Error renaming temporary file\n"), $success = 0;
1892
+ } else {
1893
+ ++$countSameFiles;
1894
+ unlink $tmpFile; # erase new file and use existing file
1895
+ }
1896
+ }
1897
+ last unless $success;
1898
+ }
1899
+ # save number of files processed so we can check the results later
1900
+ $self->{COUNT}->{'HTML files changed'} = $countNewFiles;
1901
+ $self->{COUNT}->{'HTML files unchanged'} = $countSameFiles;
1902
+ return $success;
1903
+ }
1904
+
1905
+ #------------------------------------------------------------------------------
1906
+ # Write the TagName HTML and POD documentation
1907
+ # Inputs: 0) BuildTagLookup object reference
1908
+ # 1) output pod file (eg. 'lib/Image/ExifTool/TagNames.pod')
1909
+ # 2) output html directory (eg. 'html')
1910
+ # Returns: true on success
1911
+ # Notes: My apologies for the patchwork code, but this is only used to generate the docs.
1912
+ sub WriteTagNames($$)
1913
+ {
1914
+ my ($self, $podFile, $htmldir) = @_;
1915
+ my ($tableName, $short, $url, @sepTables, @structs);
1916
+ my $tagNameInfo = $self->{TAG_NAME_INFO} or return 0;
1917
+ my $idLabel = $self->{ID_LOOKUP};
1918
+ my $shortName = $self->{SHORT_NAME};
1919
+ my $sepTable = $self->{SEPARATE_TABLE};
1920
+ my $structs = $self->{STRUCTURES};
1921
+ my $structLookup = $self->{STRUCT_LOOKUP};
1922
+ my $success = 1;
1923
+ my $columns = 6; # number of columns in html index
1924
+ my $percent = int(100 / $columns);
1925
+
1926
+ # open the file and write the header
1927
+ open(PODFILE, ">$podFile") or return 0;
1928
+ print PODFILE Doc2Pod($docs{PodHeader}, $docs{ExifTool}, $docs{ExifTool2});
1929
+ mkdir "$htmldir/TagNames";
1930
+ OpenHtmlFile($htmldir) or return 0;
1931
+ print HTMLFILE "<blockquote>\n";
1932
+ print HTMLFILE "<table width='100%' class=frame><tr><td>\n";
1933
+ print HTMLFILE "<table width='100%' class=inner cellspacing=1><tr class=h>\n";
1934
+ print HTMLFILE "<th colspan=$columns><span class=l>Tag Table Index</span></th></tr>\n";
1935
+ print HTMLFILE "<tr class=b><td width='$percent%'>\n";
1936
+
1937
+ # get the full table list, adding shortcuts and plug-in tables to the end
1938
+ my @tableNames = GetTableOrder('Image::ExifTool::Shortcuts::Main', @pluginTables);
1939
+
1940
+ # get list of headings and add any missing ones
1941
+ my $heading = 'xxx';
1942
+ my (@tableIndexNames, @headings);
1943
+ foreach $tableName (@tableNames) {
1944
+ $short = $$shortName{$tableName};
1945
+ my @names = split ' ', $short;
1946
+ my $class = shift @names;
1947
+ if (@names) {
1948
+ # add heading for tables without a Main
1949
+ unless ($heading eq $class) {
1950
+ $heading = $class;
1951
+ push @tableIndexNames, $heading;
1952
+ push @headings, $heading;
1953
+ }
1954
+ } else {
1955
+ $heading = $short;
1956
+ push @headings, $heading;
1957
+ }
1958
+ push @tableIndexNames, $tableName;
1959
+ }
1960
+ @tableNames = @tableIndexNames;
1961
+ # print html index of headings only
1962
+ my $count = 0;
1963
+ my $lines = int((scalar(@headings) + $columns - 1) / $columns);
1964
+ foreach $tableName (@headings) {
1965
+ if ($count) {
1966
+ if ($count % $lines) {
1967
+ print HTMLFILE "<br>\n";
1968
+ } else {
1969
+ print HTMLFILE "</td><td width='$percent%'>\n";
1970
+ }
1971
+ }
1972
+ $short = $$shortName{$tableName};
1973
+ $short = $tableName unless $short;
1974
+ $url = "$short.html";
1975
+ print HTMLFILE "<a href='$url'>$short</a>";
1976
+ ++$count;
1977
+ }
1978
+ print HTMLFILE "\n</td></tr></table></td></tr></table></blockquote>\n";
1979
+ print HTMLFILE '<p>',Doc2Html($docs{ExifTool2}),"</p>\n";
1980
+
1981
+ # write all the tag tables
1982
+ while (@tableNames or @sepTables or @structs) {
1983
+ while (@sepTables) {
1984
+ $tableName = shift @sepTables;
1985
+ my $printConv = $$sepTable{$tableName};
1986
+ next unless ref $printConv eq 'HASH';
1987
+ $$sepTable{$tableName} = 1;
1988
+ my $notes = $$printConv{Notes};
1989
+ if ($notes) {
1990
+ # remove unnecessary whitespace
1991
+ $notes =~ s/^\s+//; $notes =~ s/\s+$//;
1992
+ $notes =~ s/(^[ \t]+|[ \t]+$)//mg;
1993
+ }
1994
+ my $head = $tableName;
1995
+ $head =~ s/^.* //s;
1996
+ close HTMLFILE;
1997
+ if (OpenHtmlFile($htmldir, $tableName, 1)) {
1998
+ print HTMLFILE '<p>', Doc2Html($notes), "</p>\n" if $notes;
1999
+ print HTMLFILE "<blockquote>\n";
2000
+ print HTMLFILE "<table class=frame><tr><td>\n";
2001
+ print HTMLFILE "<table class='inner sep' cellspacing=1>\n";
2002
+ my $align = ' class=r';
2003
+ my $wid = 0;
2004
+ my @keys;
2005
+ foreach (sort { NumbersFirst($a,$b) } keys %$printConv) {
2006
+ next if /^(Notes|PrintHex|PrintString|OTHER)$/;
2007
+ $align = '' if $align and /[^\d]/;
2008
+ my $w = length($_) + length($$printConv{$_});
2009
+ $wid = $w if $wid < $w;
2010
+ push @keys, $_;
2011
+ }
2012
+ $wid = length($tableName)+7 if $wid < length($tableName)+7;
2013
+ # print in multiple columns if there is room
2014
+ my $cols = int(110 / ($wid + 4));
2015
+ $cols = 1 if $cols < 1 or $cols > @keys or @keys < 4;
2016
+ my $rows = int((scalar(@keys) + $cols - 1) / $cols);
2017
+ my ($r, $c);
2018
+ print HTMLFILE '<tr class=h>';
2019
+ for ($c=0; $c<$cols; ++$c) {
2020
+ print HTMLFILE "<th>Value</th><th>$head</th>";
2021
+ }
2022
+ print HTMLFILE "</tr>\n";
2023
+ for ($r=0; $r<$rows; ++$r) {
2024
+ print HTMLFILE '<tr>';
2025
+ for ($c=0; $c<$cols; ++$c) {
2026
+ my $key = $keys[$r + $c*$rows];
2027
+ my ($index, $prt);
2028
+ if (defined $key) {
2029
+ $index = $key;
2030
+ $prt = '= ' . EscapeHTML($$printConv{$key});
2031
+ if ($$printConv{PrintHex}) {
2032
+ $index =~ s/(\.\d+)$//; # remove decimal
2033
+ $index = sprintf('0x%x',$index);
2034
+ $index .= $1 if $1; # add back decimal
2035
+ } elsif ($$printConv{PrintString} or
2036
+ $index !~ /^[+-]?(?=\d|\.\d)\d*(\.\d*)?$/)
2037
+ {
2038
+ $index = "'" . EscapeHTML($index) . "'";
2039
+ }
2040
+ } else {
2041
+ $index = $prt = '&nbsp;';
2042
+ }
2043
+ my ($ic, $pc);
2044
+ if ($c & 0x01) {
2045
+ $pc = ' class=b';
2046
+ $ic = $align ? " class='r b'" : $pc;
2047
+ } else {
2048
+ $ic = $align;
2049
+ $pc = '';
2050
+ }
2051
+ print HTMLFILE "<td$ic>$index</td><td$pc>$prt</td>\n";
2052
+ }
2053
+ print HTMLFILE '</tr>';
2054
+ }
2055
+ print HTMLFILE "</table></td></tr></table></blockquote>\n\n";
2056
+ }
2057
+ }
2058
+ last unless @tableNames or @structs;
2059
+ my $isStruct;
2060
+ if (@structs) {
2061
+ $tableName = shift @structs;
2062
+ next if $$structs{$tableName} == 2; # only list each structure once
2063
+ $$structs{$tableName} = 2;
2064
+ $isStruct = $$structLookup{$tableName};
2065
+ $isStruct or warn("Missing structure $tableName\n"), next;
2066
+ $tableName = "XMP $tableName" unless $tableName =~ / /;
2067
+ $short = $tableName = "$tableName Struct";
2068
+ my $maxLen = 0;
2069
+ $maxLen < length and $maxLen = length foreach keys %$isStruct;
2070
+ $$self{LONG_ID}{$tableName} = $maxLen;
2071
+ } else {
2072
+ $tableName = shift @tableNames;
2073
+ $short = $$shortName{$tableName};
2074
+ unless ($short) {
2075
+ # this is just an index heading
2076
+ print PODFILE "\n=head2 $tableName Tags\n";
2077
+ print PODFILE Doc2Pod($docs{$tableName}) if $docs{$tableName};
2078
+ next;
2079
+ }
2080
+ }
2081
+ my $isExif = ($tableName eq 'Image::ExifTool::Exif::Main');
2082
+ my $isRiff = ($tableName eq 'Image::ExifTool::RIFF::Info');
2083
+ my $isXmpMain = ($tableName eq 'Image::ExifTool::XMP::Main');
2084
+ my $info = $$tagNameInfo{$tableName};
2085
+ my $id = $$idLabel{$tableName};
2086
+ my ($hid, $showGrp);
2087
+ # widths of the different columns in the POD documentation
2088
+ my ($wID,$wTag,$wReq,$wGrp) = (8,36,24,10);
2089
+ my ($composite, $derived, $notes, $longTags, $wasLong, $prefix);
2090
+ if ($short eq 'Shortcuts') {
2091
+ $derived = '<th>Refers To</th>';
2092
+ $composite = 2;
2093
+ } elsif ($isStruct) {
2094
+ $derived = '';
2095
+ $notes = $$isStruct{NOTES};
2096
+ } else {
2097
+ my $table = GetTagTable($tableName);
2098
+ $notes = $$table{NOTES};
2099
+ if ($$table{NAMESPACE}) {
2100
+ my $ns = $Image::ExifTool::XMP::stdXlatNS{$$table{NAMESPACE}} || $$table{NAMESPACE};
2101
+ my $msg = "These tags belong to the ExifTool XMP-$ns family 1 group.";
2102
+ if ($notes) {
2103
+ $notes .= "\n\n" . $msg;
2104
+ } else {
2105
+ $notes = $msg;
2106
+ }
2107
+ }
2108
+ $longTags = $$table{VARS}{LONG_TAGS} if $$table{VARS};
2109
+ if ($$table{GROUPS}{0} eq 'Composite') {
2110
+ $composite = 1;
2111
+ $derived = '<th>Derived From</th>';
2112
+ } else {
2113
+ $composite = 0;
2114
+ $derived = '';
2115
+ }
2116
+ }
2117
+ my $podIdLen = $self->{LONG_ID}->{$tableName};
2118
+ if ($notes) {
2119
+ # remove unnecessary whitespace
2120
+ $notes =~ s/^\s+//; $notes =~ s/\s+$//;
2121
+ $notes =~ s/(^[ \t]+|[ \t]+$)//mg;
2122
+ if ($notes =~ /leading '(.*?_)' which/) {
2123
+ $prefix = $1;
2124
+ $podIdLen -= length $prefix;
2125
+ }
2126
+ }
2127
+ if ($podIdLen <= $wID) {
2128
+ $podIdLen = $wID;
2129
+ } elsif ($short eq 'DICOM') {
2130
+ $podIdLen = 10;
2131
+ } else {
2132
+ # align tag names in secondary columns if possible
2133
+ my $col = ($podIdLen <= 10) ? 12 : 20;
2134
+ $podIdLen = $col if $podIdLen < $col;
2135
+ }
2136
+ if ($id) {
2137
+ ($hid = "<th>$id</th>") =~ s/ /&nbsp;/g;
2138
+ $wTag -= $podIdLen - $wID;
2139
+ $wID = $podIdLen;
2140
+ my $longTag = $self->{LONG_NAME}->{$tableName};
2141
+ if ($wTag < $longTag) {
2142
+ if ($wID - $longTag + $wTag >= 6) { # don't let ID column get too narrow
2143
+ $wID -= $longTag - $wTag;
2144
+ $wTag = $longTag;
2145
+ }
2146
+ $wasLong = 1 if $wID <= $self->{LONG_ID}->{$tableName};
2147
+ }
2148
+ } elsif ($composite) {
2149
+ $wTag += $wID - $wReq;
2150
+ $hid = '';
2151
+ } else {
2152
+ $wTag += 9;
2153
+ $hid = '';
2154
+ }
2155
+ if ($short eq 'EXIF' or $short eq 'Extra') {
2156
+ $derived = '<th>Group</th>';
2157
+ $showGrp = 1;
2158
+ $wGrp += 8 if $short eq 'Extra'; # tweak Group column width for "Extra" tags
2159
+ $wTag -= $wGrp + 1;
2160
+ }
2161
+ my $head = ($short =~ / /) ? 'head3' : 'head2';
2162
+ my $str = $isStruct ? '' : ' Tags';
2163
+ print PODFILE "\n=$head $short$str\n";
2164
+ print PODFILE Doc2Pod($docs{$short}) if $docs{$short};
2165
+ print PODFILE "\n", Doc2Pod($notes), "\n" if $notes;
2166
+ my $line = "\n";
2167
+ if ($id) {
2168
+ # shift over 'Index' heading by one character for a bit more balance
2169
+ $id = " $id" if $id eq 'Index';
2170
+ $line .= sprintf " %-${wID}s", $id;
2171
+ } else {
2172
+ $line .= ' ';
2173
+ }
2174
+ my $tagNameHeading = ($short eq 'XMP') ? 'Namespace' : ($isStruct?'Field':'Tag').' Name';
2175
+ $line .= sprintf " %-${wTag}s", $tagNameHeading;
2176
+ $line .= sprintf " %-${wReq}s", $composite == 2 ? 'Refers To' : 'Derived From' if $composite;
2177
+ $line .= sprintf " %-${wGrp}s", 'Group' if $showGrp;
2178
+ $line .= ' Writable';
2179
+ print PODFILE $line;
2180
+ $line =~ s/^(\s*\w.{6}\w) /$1\t/; # change space to tab after long ID label (eg. "Sequence")
2181
+ $line =~ s/\S/-/g;
2182
+ $line =~ s/- -/---/g;
2183
+ $line =~ tr/\t/ /; # change tab back to space
2184
+ print PODFILE $line,"\n";
2185
+ close HTMLFILE;
2186
+ OpenHtmlFile($htmldir, $short) or $success = 0;
2187
+ print HTMLFILE '<p>',Doc2Html($notes), "</p>\n" if $notes;
2188
+ print HTMLFILE "<blockquote>\n";
2189
+ print HTMLFILE "<table class=frame><tr><td>\n";
2190
+ print HTMLFILE "<table class=inner cellspacing=1>\n";
2191
+ print HTMLFILE "<tr class=h>$hid<th>$tagNameHeading</th>\n";
2192
+ print HTMLFILE "<th>Writable</th>$derived<th>Values / ${noteFont}Notes</span></th></tr>\n";
2193
+ my $rowClass = 1;
2194
+ my $infoCount = 0;
2195
+ my $infoList;
2196
+ foreach $infoList (@$info) {
2197
+ ++$infoCount;
2198
+ my ($tagIDstr, $tagNames, $writable, $values, $require, $writeGroup) = @$infoList;
2199
+ my ($align, $idStr, $w, $tip);
2200
+ my $wTag2 = $wTag;
2201
+ if (not $id) {
2202
+ $idStr = ' ';
2203
+ } elsif ($tagIDstr =~ /^-?\d+(\.\d+)?$/) {
2204
+ $w = $wID - 3;
2205
+ $idStr = sprintf " %${w}g ", $tagIDstr;
2206
+ $align = " class=r";
2207
+ } else {
2208
+ $tagIDstr =~ s/^'$prefix/'/ if $prefix;
2209
+ $w = $wID;
2210
+ my $over = length($tagIDstr) - $w;
2211
+ if ($over > 0) {
2212
+ # shift over tag name if there is room
2213
+ if ($over <= $wTag - length($$tagNames[0])) {
2214
+ $wTag2 -= $over;
2215
+ $w += $over;
2216
+ } else {
2217
+ # put tag name on next line if ID is too long
2218
+ $idStr = " $tagIDstr\n " . (' ' x $w);
2219
+ if ($longTags) {
2220
+ --$longTags;
2221
+ } else {
2222
+ warn "Notice: Split $$tagNames[0] line\n";
2223
+ }
2224
+ }
2225
+ }
2226
+ $idStr = sprintf " %-${w}s ", $tagIDstr unless defined $idStr;
2227
+ $align = '';
2228
+ }
2229
+ my @reqs;
2230
+ my @tags = @$tagNames;
2231
+ my @wGrp = @$writeGroup;
2232
+ my @vals = @$writable;
2233
+ my $wrStr = shift @vals;
2234
+ my $subdir;
2235
+ my @masks = grep /^\[Mask 0x[\da-f]+\]/, @$values;
2236
+ my $tag = shift @tags;
2237
+ # if this is a subdirectory or structure, print subdir name (from values) instead of writable
2238
+ if ($wrStr =~ /^[-=]/) {
2239
+ $subdir = 1;
2240
+ if (@masks) {
2241
+ # combine any mask into the format string
2242
+ $wrStr .= " & $1" if $masks[0] =~ /(0x[\da-f]+)/;
2243
+ shift @masks;
2244
+ @vals = grep !/^\[Mask 0x[\da-f]+\]/, @$values;
2245
+ } else {
2246
+ @vals = @$values;
2247
+ }
2248
+ # remove Notes if subdir has Notes as well
2249
+ shift @vals if $vals[0] =~ /^\(/ and @vals >= @$writable;
2250
+ foreach (@vals) { /^\(/ and $_ = '-' }
2251
+ my $i; # fill in any missing entries from non-directory tags
2252
+ for ($i=0; $i<@$writable; ++$i) {
2253
+ $vals[$i] = $$writable[$i] unless defined $vals[$i];
2254
+ if (@masks) {
2255
+ $vals[$i] .= " & $1" if $masks[0] =~ /(0x[\da-f]+)/;
2256
+ shift @masks;
2257
+ }
2258
+ }
2259
+ if ($$sepTable{$vals[0]}) {
2260
+ $wrStr =~ s/^[-=]//;
2261
+ $wrStr = 'N' unless $wrStr;
2262
+ } elsif ($$structs{$vals[0]}) {
2263
+ my $flags = $wrStr =~ /([+_]+)$/ ? $1 : '';
2264
+ $wrStr = "$vals[0] Struct$flags";
2265
+ } else {
2266
+ $wrStr = $vals[0];
2267
+ }
2268
+ shift @vals;
2269
+ } elsif ($wrStr and $wrStr ne 'N' and @masks) {
2270
+ # fill in missing entries if masks are different
2271
+ my $mask = shift @masks;
2272
+ while (@masks > @vals) {
2273
+ last if $masks[@vals] eq $mask;
2274
+ push @vals, $wrStr;
2275
+ push @tags, $tag if @tags < @vals;
2276
+ }
2277
+ # add Mask to Writable column in POD doc
2278
+ $wrStr .= " & $1" if $mask =~ /(0x[\da-f]+)/;
2279
+ }
2280
+ printf PODFILE "%s%-${wTag2}s", $idStr, $tag;
2281
+ my $tGrp = $wGrp;
2282
+ if ($id and length($tag) > $wTag2) {
2283
+ my $madeRoom;
2284
+ if ($showGrp) {
2285
+ my $wGrp0 = length($wGrp[0] || '-');
2286
+ if (not $composite and $wGrp > $wGrp0) {
2287
+ $tGrp = $wGrp - (length($tag) - $wTag2);
2288
+ if ($tGrp < length $wGrp0) {
2289
+ $tGrp = length $wGrp0;
2290
+ } else {
2291
+ $madeRoom = 1;
2292
+ }
2293
+ }
2294
+ }
2295
+ warn "Warning: Pushed $tag\n" unless $madeRoom;
2296
+ }
2297
+ printf PODFILE " %-${tGrp}s", shift(@wGrp) || '-' if $showGrp;
2298
+ if ($composite) {
2299
+ @reqs = @$require;
2300
+ $w = $wReq; # Keep writable column in line
2301
+ length($tag) > $wTag2 and $w -= length($tag) - $wTag2;
2302
+ printf PODFILE " %-${w}s", shift(@reqs) || '';
2303
+ }
2304
+ print PODFILE " $wrStr\n";
2305
+ my $numTags = scalar @$tagNames;
2306
+ my $n = 0;
2307
+ while (@tags or @reqs or @vals) {
2308
+ my $more = (@tags or @reqs);
2309
+ $line = ' ';
2310
+ $line .= ' 'x($wID+1) if $id;
2311
+ $line .= sprintf("%-${wTag2}s", shift(@tags) || '');
2312
+ $line .= sprintf(" %-${wReq}s", shift(@reqs) || '') if $composite;
2313
+ $line .= sprintf(" %-${wGrp}s", shift(@wGrp) || '-') if $showGrp;
2314
+ ++$n;
2315
+ if (@vals) {
2316
+ my $val = shift @vals;
2317
+ # use writable if this is a note
2318
+ my $wrStr = $$writable[$n];
2319
+ if ($subdir and ($val =~ /^\(/ or $val =~ /=/ or ($wrStr and $wrStr !~ /^[-=]/))) {
2320
+ $val = $wrStr;
2321
+ if (defined $val) {
2322
+ $val =~ s/^[-=]//;
2323
+ } else {
2324
+ # done with tag if nothing else to print
2325
+ last unless $more;
2326
+ }
2327
+ }
2328
+ if (defined $val) {
2329
+ $line .= " $val";
2330
+ if (@masks) {
2331
+ $line .= " & $1" if $masks[0] =~ /(0x[\da-f]+)/;
2332
+ shift @masks;
2333
+ }
2334
+ }
2335
+ }
2336
+ $line =~ s/\s+$//; # trim trailing white space
2337
+ print PODFILE "$line\n";
2338
+ }
2339
+ my @htmlTags;
2340
+ foreach (@$tagNames) {
2341
+ push @htmlTags, EscapeHTML($_);
2342
+ }
2343
+ if (($isExif and $exifSpec{hex $tagIDstr}) or
2344
+ ($isRiff and $tagIDstr=~/(\w+)/ and $riffSpec{$1}) or
2345
+ ($isXmpMain and $tagIDstr=~/([-\w]+)/ and $xmpSpec{$1}))
2346
+ {
2347
+ # underline "unknown" makernote tags only
2348
+ my $n = $tagIDstr eq '0x927c' ? -1 : 0;
2349
+ $htmlTags[$n] = "<u>$htmlTags[$n]</u>";
2350
+ }
2351
+ $rowClass = $rowClass ? '' : " class=b";
2352
+ my $isSubdir;
2353
+ if ($$writable[0] =~ /^[-=]/) {
2354
+ $isSubdir = 1;
2355
+ s/^[-=](.+)/$1/ foreach @$writable;
2356
+ }
2357
+ # add tooltip for hex conversion of Tag ID
2358
+ if ($tagIDstr =~ /^(0x[0-9a-f]+)(\.\d+)?$/i) {
2359
+ $tip = sprintf(" title='$tagIDstr = %u%s'", hex($1), $2||'');
2360
+ } elsif ($tagIDstr =~ /^(\d+)(\.\d*)?$/) {
2361
+ $tip = sprintf(" title='%u = 0x%x'", $1, $1);
2362
+ } else {
2363
+ $tip = '';
2364
+ # use copyright symbol in QuickTime UserData tags
2365
+ $tagIDstr =~ s/^"\\xa9/"&copy;/;
2366
+ }
2367
+ # add tooltip for special writable attributes
2368
+ my $wtip = '';
2369
+ my %wattr = (
2370
+ '_' => 'Flattened',
2371
+ '+' => 'List',
2372
+ '/' => 'Avoid',
2373
+ '~' => 'Writable only with -n',
2374
+ '!' => 'Unsafe',
2375
+ '*' => 'Protected',
2376
+ ':' => 'Mandatory',
2377
+ );
2378
+ my ($wstr, %hasAttr, @hasAttr);
2379
+ foreach $wstr (@$writable) {
2380
+ next unless $wstr =~ m{([+/~!*:_]+)$};
2381
+ my @a = split //, $1;
2382
+ foreach (@a) {
2383
+ next if $hasAttr{$_};
2384
+ push @hasAttr, $_;
2385
+ $hasAttr{$_} = 1;
2386
+ }
2387
+ }
2388
+ if (@hasAttr) {
2389
+ $wtip = " title='";
2390
+ my $n = 0;
2391
+ foreach (@hasAttr) {
2392
+ $wtip .= "\n" if $n;
2393
+ $wtip .= " $_ = $wattr{$_}";
2394
+ ++$n;
2395
+ }
2396
+ $wtip .= "'";
2397
+ }
2398
+ # print this row in the tag table
2399
+ print HTMLFILE "<tr$rowClass>\n";
2400
+ print HTMLFILE "<td$align$tip>$tagIDstr</td>\n" if $id;
2401
+ print HTMLFILE "<td>", join("\n <br>",@htmlTags), "</td>\n";
2402
+ print HTMLFILE "<td class=c$wtip>",join('<br>',@$writable),"</td>\n";
2403
+ print HTMLFILE '<td class=n>',join("\n <br>",@$require),"</td>\n" if $composite;
2404
+ print HTMLFILE "<td class=c>",join('<br>',@$writeGroup),"</td>\n" if $showGrp;
2405
+ print HTMLFILE "<td>";
2406
+ if (@$values) {
2407
+ if ($isSubdir) {
2408
+ my ($smallNote, @values);
2409
+ foreach (@$values) {
2410
+ if (/^\(/) {
2411
+ # set the note font
2412
+ $smallNote = 1 if $numTags < 2;
2413
+ push @values, ($smallNote ? $noteFontSmall : $noteFont) . "$_</span>";
2414
+ next;
2415
+ }
2416
+ # make text in square brackets small
2417
+ if (/^\[/) {
2418
+ if (s/^\[!HTML\]//) {
2419
+ push @values, $_;
2420
+ } else {
2421
+ push @values, "<span class=s>$_</span>";
2422
+ }
2423
+ next;
2424
+ }
2425
+ /=/ and push(@values, $_), next;
2426
+ my @names = split;
2427
+ my $suffix = ' Tags';
2428
+ if ($$sepTable{$_}) {
2429
+ push @sepTables, $_;
2430
+ $suffix = ' Values';
2431
+ }
2432
+ # handle structures specially
2433
+ if ($$structs{$_}) {
2434
+ # assume XMP module for this struct unless otherwise specified
2435
+ unshift @names, 'XMP' unless / /;
2436
+ push @structs, $_; # list this later
2437
+ # hack to put Area Struct in with XMP tags,
2438
+ # even though it is only used by the MWG module
2439
+ push @structs, 'Area' if $_ eq 'Dimensions';
2440
+ $suffix = ' Struct';
2441
+ }
2442
+ $url = (shift @names) . '.html';
2443
+ @names and $url .= '#' . join '_', @names;
2444
+ push @values, "--&gt; <a href='$url'>$_$suffix</a>";
2445
+ }
2446
+ # put small note last
2447
+ $smallNote and push @values, shift @values;
2448
+ print HTMLFILE join("\n <br>",@values);
2449
+ } else {
2450
+ my ($close, $br) = ('', '');
2451
+ foreach (@$values) {
2452
+ if (s/^\[!HTML\]//) {
2453
+ print HTMLFILE $close if $close;
2454
+ print HTMLFILE $_;
2455
+ $close = $br = '';
2456
+ } else {
2457
+ if (/^\(/) {
2458
+ # notes can use POD syntax
2459
+ $_ = $noteFont . Doc2Html($_) . "</span>";
2460
+ } else {
2461
+ $_ = EscapeHTML($_);
2462
+ }
2463
+ $close or $_ = "<span class=s>$_", $close = '</span>';
2464
+ print HTMLFILE $br, $_;
2465
+ $br = "\n <br>";
2466
+ }
2467
+ }
2468
+ print HTMLFILE $close if $close;
2469
+ }
2470
+ } else {
2471
+ print HTMLFILE '&nbsp;';
2472
+ }
2473
+ print HTMLFILE "</td></tr>\n";
2474
+ }
2475
+ warn "$longTags unaccounted-for long tags in $tableName\n" if $longTags;
2476
+ if ($wasLong and not defined $longTags) {
2477
+ warn "Notice: Long tags in $tableName table\n";
2478
+ }
2479
+ unless ($infoCount) {
2480
+ print PODFILE " [no tags known]\n";
2481
+ my $cols = 3;
2482
+ ++$cols if $hid;
2483
+ ++$cols if $derived;
2484
+ print HTMLFILE "<tr><td colspan=$cols class=c><i>[no tags known]</i></td></tr>\n";
2485
+ }
2486
+ print HTMLFILE "</table></td></tr></table></blockquote>\n\n";
2487
+ }
2488
+ close(HTMLFILE) or $success = 0;
2489
+ CloseHtmlFiles($self) or $success = 0;
2490
+ print PODFILE Doc2Pod($docs{PodTrailer}) or $success = 0;
2491
+ close(PODFILE) or $success = 0;
2492
+ return $success;
2493
+ }
2494
+
2495
+ 1; # end
2496
+
2497
+
2498
+ __END__
2499
+
2500
+ =head1 NAME
2501
+
2502
+ Image::ExifTool::BuildTagLookup - Build ExifTool tag lookup tables
2503
+
2504
+ =head1 DESCRIPTION
2505
+
2506
+ This module is used to generate the tag lookup tables in
2507
+ Image::ExifTool::TagLookup.pm and tag name documentation in
2508
+ Image::ExifTool::TagNames.pod, as well as HTML tag name documentation. It
2509
+ is used before each new ExifTool release to update the lookup tables and
2510
+ documentation, but it is not used otherwise. It also performs some
2511
+ validation and consistency checks on the tag tables.
2512
+
2513
+ =head1 SYNOPSIS
2514
+
2515
+ use Image::ExifTool::BuildTagLookup;
2516
+
2517
+ $builder = new Image::ExifTool::BuildTagLookup;
2518
+
2519
+ # update Image::ExifTool::TagLookup
2520
+ $ok = $builder->WriteTagLookup('lib/Image/ExifTool/TagLookup.pm');
2521
+
2522
+ # update the tag name documentation
2523
+ $ok = $builder->WriteTagNames('lib/Image/ExifTool/TagNames.pod','html');
2524
+
2525
+ # print some statistics
2526
+ my $count = $$builder{COUNT};
2527
+ foreach (sort keys %$count) {
2528
+ printf "%5d %s\n", $$count{$_}, $_;
2529
+ }
2530
+
2531
+ =head1 MEMBER VARIABLES
2532
+
2533
+ =over 4
2534
+
2535
+ =item PRESERVE_DATE
2536
+
2537
+ Flag to preserve "Last revised" date in HTML files. Set before calling
2538
+ WriteTagNames().
2539
+
2540
+ =item COUNT
2541
+
2542
+ Reference to hash containing counting statistics. Keys are the
2543
+ descriptions, and values are the numerical counts. Valid after
2544
+ BuildTagLookup object is created, but additional statistics are added by
2545
+ WriteTagNames().
2546
+
2547
+ =back
2548
+
2549
+ =head1 AUTHOR
2550
+
2551
+ Copyright 2003-2017, Phil Harvey (phil at owl.phy.queensu.ca)
2552
+
2553
+ This library is free software; you can redistribute it and/or modify it
2554
+ under the same terms as Perl itself.
2555
+
2556
+ =head1 SEE ALSO
2557
+
2558
+ L<Image::ExifTool(3pm)|Image::ExifTool>,
2559
+ L<Image::ExifTool::TagLookup(3pm)|Image::ExifTool::TagLookup>,
2560
+ L<Image::ExifTool::TagNames(3pm)|Image::ExifTool::TagNames>
2561
+
2562
+ =cut