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