exiftool_vendored 10.04.0 → 10.23.0

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

Potentially problematic release.


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

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