exiftool_vendored 9.78.0 → 9.99.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 (1409) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Image-ExifTool-9.99/Changes +7164 -0
  3. data/bin/Image-ExifTool-9.99/MANIFEST +937 -0
  4. data/bin/Image-ExifTool-9.99/META.yml +27 -0
  5. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/Makefile.PL +0 -0
  6. data/bin/Image-ExifTool-9.99/README +233 -0
  7. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/exif2iptc.args +0 -0
  8. data/bin/Image-ExifTool-9.99/arg_files/exif2xmp.args +45 -0
  9. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/gps2xmp.args +0 -0
  10. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/iptc2exif.args +0 -0
  11. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/iptc2xmp.args +0 -0
  12. data/bin/Image-ExifTool-9.99/arg_files/iptcCore.args +224 -0
  13. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/pdf2xmp.args +0 -0
  14. data/bin/Image-ExifTool-9.99/arg_files/xmp2exif.args +46 -0
  15. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/xmp2gps.args +0 -0
  16. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/xmp2iptc.args +0 -0
  17. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/arg_files/xmp2pdf.args +0 -0
  18. data/bin/Image-ExifTool-9.99/config_files/convert_regions.config +81 -0
  19. data/bin/Image-ExifTool-9.99/config_files/example.config +343 -0
  20. data/bin/Image-ExifTool-9.99/config_files/photoshop_paths.config +54 -0
  21. data/bin/Image-ExifTool-9.99/config_files/picasa_faces.config +369 -0
  22. data/bin/Image-ExifTool-9.99/exiftool +6245 -0
  23. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/fmt_files/gpx.fmt +0 -0
  24. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/fmt_files/gpx_wpt.fmt +0 -0
  25. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/fmt_files/kml.fmt +0 -0
  26. data/bin/Image-ExifTool-9.99/html/ExifTool.html +2067 -0
  27. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/MIE1.1-20070121.pdf +0 -0
  28. data/bin/Image-ExifTool-9.99/html/Shift.html +173 -0
  29. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/AFCP.html +0 -0
  30. data/bin/Image-ExifTool-9.99/html/TagNames/AIFF.html +146 -0
  31. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/APE.html +0 -0
  32. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/APP12.html +0 -0
  33. data/bin/Image-ExifTool-9.99/html/TagNames/ASF.html +1066 -0
  34. data/bin/Image-ExifTool-9.99/html/TagNames/Apple.html +74 -0
  35. data/bin/Image-ExifTool-9.99/html/TagNames/Audible.html +177 -0
  36. data/bin/Image-ExifTool-9.99/html/TagNames/BMP.html +110 -0
  37. data/bin/Image-ExifTool-9.99/html/TagNames/Canon.html +9318 -0
  38. data/bin/Image-ExifTool-9.99/html/TagNames/CanonCustom.html +2081 -0
  39. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/CanonRaw.html +0 -0
  40. data/bin/Image-ExifTool-9.99/html/TagNames/CanonVRD.html +1958 -0
  41. data/bin/Image-ExifTool-9.99/html/TagNames/Casio.html +1606 -0
  42. data/bin/Image-ExifTool-9.99/html/TagNames/Composite.html +704 -0
  43. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/DICOM.html +0 -0
  44. data/bin/Image-ExifTool-9.99/html/TagNames/DNG.html +289 -0
  45. data/bin/Image-ExifTool-9.99/html/TagNames/DPX.html +224 -0
  46. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/DV.html +0 -0
  47. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/DarwinCore.html +0 -0
  48. data/bin/Image-ExifTool-9.99/html/TagNames/DjVu.html +313 -0
  49. data/bin/Image-ExifTool-9.99/html/TagNames/EXE.html +697 -0
  50. data/bin/Image-ExifTool-9.99/html/TagNames/EXIF.html +3381 -0
  51. data/bin/Image-ExifTool-9.99/html/TagNames/Extra.html +437 -0
  52. data/bin/Image-ExifTool-9.99/html/TagNames/FLAC.html +183 -0
  53. data/bin/Image-ExifTool-9.99/html/TagNames/FLIR.html +1340 -0
  54. data/bin/Image-ExifTool-9.99/html/TagNames/Flash.html +419 -0
  55. data/bin/Image-ExifTool-9.99/html/TagNames/FlashPix.html +1465 -0
  56. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Font.html +0 -0
  57. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/FotoStation.html +0 -0
  58. data/bin/Image-ExifTool-9.99/html/TagNames/FujiFilm.html +813 -0
  59. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/GE.html +0 -0
  60. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/GIF.html +0 -0
  61. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/GIMP.html +0 -0
  62. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/GPS.html +0 -0
  63. data/bin/Image-ExifTool-9.99/html/TagNames/GeoTiff.html +2298 -0
  64. data/bin/Image-ExifTool-9.99/html/TagNames/H264.html +393 -0
  65. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/HP.html +0 -0
  66. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/HTML.html +0 -0
  67. data/bin/Image-ExifTool-9.99/html/TagNames/ICC_Profile.html +711 -0
  68. data/bin/Image-ExifTool-9.99/html/TagNames/ID3.html +1593 -0
  69. data/bin/Image-ExifTool-9.99/html/TagNames/IPTC.html +903 -0
  70. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/ITC.html +0 -0
  71. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/JFIF.html +0 -0
  72. data/bin/Image-ExifTool-9.99/html/TagNames/JPEG.html +602 -0
  73. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/JVC.html +0 -0
  74. data/bin/Image-ExifTool-9.99/html/TagNames/Jpeg2000.html +464 -0
  75. data/bin/Image-ExifTool-9.99/html/TagNames/Kodak.html +1891 -0
  76. data/bin/Image-ExifTool-9.99/html/TagNames/KyoceraRaw.html +92 -0
  77. data/bin/Image-ExifTool-9.99/html/TagNames/LNK.html +478 -0
  78. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Leaf.html +0 -0
  79. data/bin/Image-ExifTool-9.99/html/TagNames/Lytro.html +122 -0
  80. data/bin/Image-ExifTool-9.99/html/TagNames/M2TS.html +133 -0
  81. data/bin/Image-ExifTool-9.99/html/TagNames/MIE.html +1026 -0
  82. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/MIFF.html +0 -0
  83. data/bin/Image-ExifTool-9.99/html/TagNames/MNG.html +847 -0
  84. data/bin/Image-ExifTool-9.99/html/TagNames/MOI.html +60 -0
  85. data/bin/Image-ExifTool-9.99/html/TagNames/MPC.html +97 -0
  86. data/bin/Image-ExifTool-9.99/html/TagNames/MPEG.html +249 -0
  87. data/bin/Image-ExifTool-9.99/html/TagNames/MPF.html +199 -0
  88. data/bin/Image-ExifTool-9.99/html/TagNames/MWG.html +577 -0
  89. data/bin/Image-ExifTool-9.99/html/TagNames/MXF.html +6673 -0
  90. data/bin/Image-ExifTool-9.99/html/TagNames/Matroska.html +1069 -0
  91. data/bin/Image-ExifTool-9.99/html/TagNames/Microsoft.html +2073 -0
  92. data/bin/Image-ExifTool-9.99/html/TagNames/Minolta.html +2612 -0
  93. data/bin/Image-ExifTool-9.99/html/TagNames/MinoltaRaw.html +326 -0
  94. data/bin/Image-ExifTool-9.99/html/TagNames/Nikon.html +4814 -0
  95. data/bin/Image-ExifTool-9.99/html/TagNames/NikonCapture.html +799 -0
  96. data/bin/Image-ExifTool-9.99/html/TagNames/NikonCustom.html +5633 -0
  97. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Nintendo.html +0 -0
  98. data/bin/Image-ExifTool-9.99/html/TagNames/OOXML.html +280 -0
  99. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Ogg.html +0 -0
  100. data/bin/Image-ExifTool-9.99/html/TagNames/Olympus.html +3531 -0
  101. data/bin/Image-ExifTool-9.99/html/TagNames/OpenEXR.html +222 -0
  102. data/bin/Image-ExifTool-9.99/html/TagNames/PDF.html +745 -0
  103. data/bin/Image-ExifTool-9.99/html/TagNames/PGF.html +80 -0
  104. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PICT.html +0 -0
  105. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PLIST.html +0 -0
  106. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PNG.html +0 -0
  107. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PSP.html +0 -0
  108. data/bin/Image-ExifTool-9.99/html/TagNames/Palm.html +388 -0
  109. data/bin/Image-ExifTool-9.99/html/TagNames/Panasonic.html +1690 -0
  110. data/bin/Image-ExifTool-9.99/html/TagNames/PanasonicRaw.html +451 -0
  111. data/bin/Image-ExifTool-9.99/html/TagNames/Pentax.html +4655 -0
  112. data/bin/Image-ExifTool-9.99/html/TagNames/PhaseOne.html +253 -0
  113. data/bin/Image-ExifTool-9.99/html/TagNames/PhotoCD.html +402 -0
  114. data/bin/Image-ExifTool-9.99/html/TagNames/PhotoMechanic.html +196 -0
  115. data/bin/Image-ExifTool-9.99/html/TagNames/Photoshop.html +570 -0
  116. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PostScript.html +0 -0
  117. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/PrintIM.html +0 -0
  118. data/bin/Image-ExifTool-9.99/html/TagNames/Qualcomm.html +4778 -0
  119. data/bin/Image-ExifTool-9.99/html/TagNames/QuickTime.html +6036 -0
  120. data/bin/Image-ExifTool-9.99/html/TagNames/RIFF.html +1314 -0
  121. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/RSRC.html +0 -0
  122. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/RTF.html +0 -0
  123. data/bin/Image-ExifTool-9.99/html/TagNames/Radiance.html +87 -0
  124. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Rawzor.html +0 -0
  125. data/bin/Image-ExifTool-9.99/html/TagNames/Real.html +780 -0
  126. data/bin/Image-ExifTool-9.99/html/TagNames/Reconyx.html +132 -0
  127. data/bin/Image-ExifTool-9.99/html/TagNames/Ricoh.html +800 -0
  128. data/bin/Image-ExifTool-9.99/html/TagNames/Samsung.html +604 -0
  129. data/bin/Image-ExifTool-9.99/html/TagNames/Sanyo.html +366 -0
  130. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Scalado.html +0 -0
  131. data/bin/Image-ExifTool-9.99/html/TagNames/Shortcuts.html +276 -0
  132. data/bin/Image-ExifTool-9.99/html/TagNames/Sigma.html +469 -0
  133. data/bin/Image-ExifTool-9.99/html/TagNames/SigmaRaw.html +438 -0
  134. data/bin/Image-ExifTool-9.99/html/TagNames/Sony.html +8640 -0
  135. data/bin/Image-ExifTool-9.99/html/TagNames/SonyIDC.html +267 -0
  136. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Stim.html +0 -0
  137. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Theora.html +0 -0
  138. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Torrent.html +0 -0
  139. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Unknown.html +0 -0
  140. data/bin/Image-ExifTool-9.99/html/TagNames/VCard.html +433 -0
  141. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/Vorbis.html +0 -0
  142. data/bin/Image-ExifTool-9.99/html/TagNames/XMP.html +9175 -0
  143. data/bin/Image-ExifTool-9.99/html/TagNames/ZIP.html +205 -0
  144. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/iWork.html +0 -0
  145. data/bin/Image-ExifTool-9.99/html/TagNames/index.html +211 -0
  146. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/TagNames/style.css +0 -0
  147. data/bin/Image-ExifTool-9.99/html/ancient_history.html +7608 -0
  148. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/canon_raw.html +0 -0
  149. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/commentary.html +0 -0
  150. data/bin/Image-ExifTool-9.99/html/config.html +355 -0
  151. data/bin/Image-ExifTool-9.99/html/data_members.html +279 -0
  152. data/bin/Image-ExifTool-9.99/html/exiftool_pod.html +2503 -0
  153. data/bin/Image-ExifTool-9.99/html/faq.html +1530 -0
  154. data/bin/Image-ExifTool-9.99/html/filename.html +352 -0
  155. data/bin/Image-ExifTool-9.99/html/geotag.html +654 -0
  156. data/bin/Image-ExifTool-9.99/html/history.html +488 -0
  157. data/bin/Image-ExifTool-9.99/html/htmldump.html +738 -0
  158. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/idiosyncracies.html +0 -0
  159. data/bin/Image-ExifTool-9.99/html/index.html +1330 -0
  160. data/bin/Image-ExifTool-9.99/html/install.html +251 -0
  161. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/metafiles.html +0 -0
  162. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/overview.png +0 -0
  163. data/bin/Image-ExifTool-9.99/html/standards.html +286 -0
  164. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/struct.html +0 -0
  165. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/style.css +0 -0
  166. data/bin/Image-ExifTool-9.99/html/under.html +128 -0
  167. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/verbose.html +0 -0
  168. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/html/writing.html +0 -0
  169. data/bin/Image-ExifTool-9.99/lib/File/RandomAccess.pm +378 -0
  170. data/bin/Image-ExifTool-9.99/lib/File/RandomAccess.pod +231 -0
  171. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool.pm +7498 -0
  172. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool.pod +2494 -0
  173. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/AES.pm +501 -0
  174. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/AFCP.pm +286 -0
  175. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/AIFF.pm +289 -0
  176. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/APE.pm +264 -0
  177. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/APP12.pm +322 -0
  178. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ASF.pm +885 -0
  179. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Apple.pm +126 -0
  180. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Audible.pm +317 -0
  181. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/BMP.pm +179 -0
  182. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/BZZ.pm +472 -0
  183. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/BigTIFF.pm +282 -0
  184. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/BuildTagLookup.pm +2508 -0
  185. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Canon.pm +8457 -0
  186. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/CanonCustom.pm +2582 -0
  187. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/CanonRaw.pm +910 -0
  188. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/CanonVRD.pm +2228 -0
  189. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/CaptureOne.pm +235 -0
  190. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Casio.pm +2058 -0
  191. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Charset.pm +396 -0
  192. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Arabic.pm +0 -0
  193. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Baltic.pm +0 -0
  194. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Cyrillic.pm +0 -0
  195. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Greek.pm +0 -0
  196. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Hebrew.pm +0 -0
  197. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/JIS.pm +0 -0
  198. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Latin.pm +0 -0
  199. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Latin2.pm +0 -0
  200. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacArabic.pm +0 -0
  201. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacChineseCN.pm +0 -0
  202. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacChineseTW.pm +0 -0
  203. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacCroatian.pm +0 -0
  204. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacCyrillic.pm +0 -0
  205. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacGreek.pm +0 -0
  206. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacHebrew.pm +0 -0
  207. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacIceland.pm +0 -0
  208. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacJapanese.pm +0 -0
  209. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacKorean.pm +0 -0
  210. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacLatin2.pm +0 -0
  211. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacRSymbol.pm +0 -0
  212. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacRoman.pm +0 -0
  213. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacRomanian.pm +0 -0
  214. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacThai.pm +0 -0
  215. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/MacTurkish.pm +0 -0
  216. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/PDFDoc.pm +0 -0
  217. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/ShiftJIS.pm +0 -0
  218. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Symbol.pm +0 -0
  219. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Thai.pm +0 -0
  220. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Turkish.pm +0 -0
  221. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/lib/Image/ExifTool/Charset/Vietnam.pm +0 -0
  222. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DICOM.pm +3874 -0
  223. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DNG.pm +835 -0
  224. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DPX.pm +181 -0
  225. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DV.pm +319 -0
  226. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DarwinCore.pm +322 -0
  227. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/DjVu.pm +376 -0
  228. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/EXE.pm +1250 -0
  229. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Exif.pm +4672 -0
  230. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FLAC.pm +297 -0
  231. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FLIR.pm +1533 -0
  232. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Fixup.pm +354 -0
  233. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Flash.pm +755 -0
  234. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FlashPix.pm +1935 -0
  235. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Font.pm +647 -0
  236. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FotoStation.pm +261 -0
  237. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/FujiFilm.pm +1195 -0
  238. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GE.pm +81 -0
  239. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GIF.pm +542 -0
  240. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GIMP.pm +258 -0
  241. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GPS.pm +558 -0
  242. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/GeoTiff.pm +2263 -0
  243. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Geotag.pm +1219 -0
  244. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/H264.pm +1112 -0
  245. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/HP.pm +263 -0
  246. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/HTML.pm +576 -0
  247. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/HtmlDump.pm +895 -0
  248. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ICC_Profile.pm +1000 -0
  249. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ID3.pm +1569 -0
  250. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/IPTC.pm +1264 -0
  251. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ITC.pm +215 -0
  252. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Import.pm +329 -0
  253. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/InDesign.pm +277 -0
  254. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/JPEG.pm +605 -0
  255. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/JPEGDigest.pm +2511 -0
  256. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/JVC.pm +130 -0
  257. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Jpeg2000.pm +873 -0
  258. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Kodak.pm +2096 -0
  259. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/KyoceraRaw.pm +173 -0
  260. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/LNK.pm +723 -0
  261. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/cs.pm +1588 -0
  262. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/de.pm +8692 -0
  263. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/en_ca.pm +848 -0
  264. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/en_gb.pm +863 -0
  265. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/es.pm +4019 -0
  266. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/fi.pm +2854 -0
  267. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/fr.pm +4758 -0
  268. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/it.pm +7918 -0
  269. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/ja.pm +5835 -0
  270. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/ko.pm +2330 -0
  271. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/nl.pm +3222 -0
  272. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/pl.pm +1276 -0
  273. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/ru.pm +768 -0
  274. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/sv.pm +638 -0
  275. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/tr.pm +544 -0
  276. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/zh_cn.pm +1330 -0
  277. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lang/zh_tw.pm +801 -0
  278. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Leaf.pm +516 -0
  279. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Lytro.pm +217 -0
  280. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/M2TS.pm +725 -0
  281. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MIE.pm +2564 -0
  282. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MIEUnits.pod +377 -0
  283. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MIFF.pm +279 -0
  284. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MNG.pm +684 -0
  285. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MOI.pm +158 -0
  286. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MPC.pm +156 -0
  287. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MPEG.pm +736 -0
  288. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MPF.pm +292 -0
  289. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MWG.pm +753 -0
  290. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MXF.pm +3032 -0
  291. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MakerNotes.pm +1713 -0
  292. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Matroska.pm +892 -0
  293. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Microsoft.pm +893 -0
  294. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Minolta.pm +2950 -0
  295. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/MinoltaRaw.pm +534 -0
  296. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Nikon.pm +6728 -0
  297. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/NikonCapture.pm +940 -0
  298. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/NikonCustom.pm +6331 -0
  299. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Nintendo.pm +128 -0
  300. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/OOXML.pm +409 -0
  301. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Ogg.pm +237 -0
  302. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Olympus.pm +3796 -0
  303. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/OpenEXR.pm +324 -0
  304. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PDF.pm +2328 -0
  305. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PGF.pm +143 -0
  306. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PICT.pm +1260 -0
  307. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PLIST.pm +453 -0
  308. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PNG.pm +1190 -0
  309. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PPM.pm +169 -0
  310. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PSP.pm +306 -0
  311. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Palm.pm +403 -0
  312. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Panasonic.pm +2366 -0
  313. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PanasonicRaw.pm +639 -0
  314. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Pentax.pm +5941 -0
  315. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PhaseOne.pm +551 -0
  316. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PhotoCD.pm +507 -0
  317. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PhotoMechanic.pm +256 -0
  318. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Photoshop.pm +650 -0
  319. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PostScript.pm +696 -0
  320. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/PrintIM.pm +125 -0
  321. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Qualcomm.pm +1344 -0
  322. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/QuickTime.pm +6572 -0
  323. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/README +981 -0
  324. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/RIFF.pm +1478 -0
  325. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/RSRC.pm +241 -0
  326. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/RTF.pm +383 -0
  327. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Radiance.pm +144 -0
  328. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Rawzor.pm +189 -0
  329. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Real.pm +739 -0
  330. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Reconyx.pm +190 -0
  331. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Ricoh.pm +1121 -0
  332. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Samsung.pm +1168 -0
  333. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Sanyo.pm +440 -0
  334. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Scalado.pm +141 -0
  335. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Shift.pl +596 -0
  336. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Shortcuts.pm +335 -0
  337. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Sigma.pm +684 -0
  338. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/SigmaRaw.pm +668 -0
  339. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Sony.pm +9086 -0
  340. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/SonyIDC.pm +331 -0
  341. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Stim.pm +196 -0
  342. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/TagInfoXML.pm +826 -0
  343. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/TagLookup.pm +8931 -0
  344. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/TagNames.pod +29124 -0
  345. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Theora.pm +145 -0
  346. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Torrent.pm +317 -0
  347. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Unknown.pm +66 -0
  348. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/VCard.pm +405 -0
  349. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Vorbis.pm +238 -0
  350. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteCanonRaw.pl +637 -0
  351. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteExif.pl +3743 -0
  352. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteIPTC.pl +702 -0
  353. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WritePDF.pl +768 -0
  354. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WritePNG.pl +390 -0
  355. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WritePhotoshop.pl +266 -0
  356. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WritePostScript.pl +772 -0
  357. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteQuickTime.pl +358 -0
  358. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/WriteXMP.pl +1367 -0
  359. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/Writer.pl +6164 -0
  360. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/XMP.pm +4034 -0
  361. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/XMP2.pl +1579 -0
  362. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/XMPStruct.pl +826 -0
  363. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/ZIP.pm +667 -0
  364. data/bin/Image-ExifTool-9.99/lib/Image/ExifTool/iWork.pm +223 -0
  365. data/bin/Image-ExifTool-9.99/perl-Image-ExifTool.spec +112 -0
  366. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/AFCP.t +0 -0
  367. data/bin/Image-ExifTool-9.99/t/AFCP_2.out +39 -0
  368. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/AFCP_3.out +0 -0
  369. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/AIFF.t +0 -0
  370. data/bin/Image-ExifTool-9.99/t/AIFF_2.out +33 -0
  371. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/APE.t +0 -0
  372. data/bin/Image-ExifTool-9.99/t/APE_2.out +29 -0
  373. data/bin/Image-ExifTool-9.99/t/APE_3.out +58 -0
  374. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ASF.t +0 -0
  375. data/bin/Image-ExifTool-9.99/t/ASF_2.out +56 -0
  376. data/bin/Image-ExifTool-9.99/t/Audible.t +28 -0
  377. data/bin/Image-ExifTool-9.99/t/Audible_2.out +40 -0
  378. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/BMP.t +0 -0
  379. data/bin/Image-ExifTool-9.99/t/BMP_2.out +23 -0
  380. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/BigTIFF.t +0 -0
  381. data/bin/Image-ExifTool-9.99/t/BigTIFF_2.out +21 -0
  382. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Canon.t +0 -0
  383. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonRaw.t +0 -0
  384. data/bin/Image-ExifTool-9.99/t/CanonRaw_2.out +169 -0
  385. data/bin/Image-ExifTool-9.99/t/CanonRaw_4.out +220 -0
  386. data/bin/Image-ExifTool-9.99/t/CanonRaw_5.out +209 -0
  387. data/bin/Image-ExifTool-9.99/t/CanonRaw_6.out +233 -0
  388. data/bin/Image-ExifTool-9.99/t/CanonRaw_7.out +250 -0
  389. data/bin/Image-ExifTool-9.99/t/CanonVRD.t +220 -0
  390. data/bin/Image-ExifTool-9.99/t/CanonVRD_11.out +121 -0
  391. data/bin/Image-ExifTool-9.99/t/CanonVRD_12.out +13 -0
  392. data/bin/Image-ExifTool-9.99/t/CanonVRD_13.out +102 -0
  393. data/bin/Image-ExifTool-9.99/t/CanonVRD_14.out +101 -0
  394. data/bin/Image-ExifTool-9.99/t/CanonVRD_15.out +5 -0
  395. data/bin/Image-ExifTool-9.99/t/CanonVRD_16.out +5 -0
  396. data/bin/Image-ExifTool-9.99/t/CanonVRD_17.out +5 -0
  397. data/bin/Image-ExifTool-9.99/t/CanonVRD_18.out +5 -0
  398. data/bin/Image-ExifTool-9.99/t/CanonVRD_19.out +5 -0
  399. data/bin/Image-ExifTool-9.99/t/CanonVRD_2.out +119 -0
  400. data/bin/Image-ExifTool-9.99/t/CanonVRD_20.out +5 -0
  401. data/bin/Image-ExifTool-9.99/t/CanonVRD_21.out +1 -0
  402. data/bin/Image-ExifTool-9.99/t/CanonVRD_3.out +119 -0
  403. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_4.out +0 -0
  404. data/bin/Image-ExifTool-9.99/t/CanonVRD_5.out +2 -0
  405. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_6.out +0 -0
  406. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_7.out +0 -0
  407. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_8.out +0 -0
  408. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/CanonVRD_9.out +0 -0
  409. data/bin/Image-ExifTool-9.99/t/Canon_2.out +356 -0
  410. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Canon_3.out +0 -0
  411. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Casio.t +0 -0
  412. data/bin/Image-ExifTool-9.99/t/Casio_2.out +72 -0
  413. data/bin/Image-ExifTool-9.99/t/Casio_3.out +102 -0
  414. data/bin/Image-ExifTool-9.99/t/Casio_4.out +28 -0
  415. data/bin/Image-ExifTool-9.99/t/Casio_5.out +80 -0
  416. data/bin/Image-ExifTool-9.99/t/Casio_6.out +117 -0
  417. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DICOM.t +0 -0
  418. data/bin/Image-ExifTool-9.99/t/DICOM_2.out +109 -0
  419. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DNG.t +0 -0
  420. data/bin/Image-ExifTool-9.99/t/DNG_2.out +328 -0
  421. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DNG_3.out +0 -0
  422. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DPX.t +0 -0
  423. data/bin/Image-ExifTool-9.99/t/DPX_2.out +39 -0
  424. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DV.t +0 -0
  425. data/bin/Image-ExifTool-9.99/t/DV_2.out +26 -0
  426. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/DjVu.t +0 -0
  427. data/bin/Image-ExifTool-9.99/t/DjVu_2.out +46 -0
  428. data/bin/Image-ExifTool-9.99/t/EXE.t +31 -0
  429. data/bin/Image-ExifTool-9.99/t/EXE_2.out +41 -0
  430. data/bin/Image-ExifTool-9.99/t/EXE_3.out +16 -0
  431. data/bin/Image-ExifTool-9.99/t/EXE_4.out +15 -0
  432. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool.t +0 -0
  433. data/bin/Image-ExifTool-9.99/t/ExifTool_16.out +184 -0
  434. data/bin/Image-ExifTool-9.99/t/ExifTool_17.out +598 -0
  435. data/bin/Image-ExifTool-9.99/t/ExifTool_2.out +418 -0
  436. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_20.out +0 -0
  437. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_21.out +0 -0
  438. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_22.out +0 -0
  439. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_23.out +0 -0
  440. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_24.out +0 -0
  441. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_25.out +0 -0
  442. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_26.out +0 -0
  443. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_27.out +0 -0
  444. data/bin/Image-ExifTool-9.99/t/ExifTool_28.out +11 -0
  445. data/bin/Image-ExifTool-9.99/t/ExifTool_3.out +89 -0
  446. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_4.out +0 -0
  447. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_5.out +0 -0
  448. data/bin/Image-ExifTool-9.99/t/ExifTool_6.out +71 -0
  449. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_7.out +0 -0
  450. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_8.out +0 -0
  451. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ExifTool_9.out +0 -0
  452. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FLAC.t +0 -0
  453. data/bin/Image-ExifTool-9.99/t/FLAC_2.out +26 -0
  454. data/bin/Image-ExifTool-9.99/t/FLAC_3.out +20 -0
  455. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FLIR.t +0 -0
  456. data/bin/Image-ExifTool-9.99/t/FLIR_2.out +112 -0
  457. data/bin/Image-ExifTool-9.99/t/FLIR_3.out +49 -0
  458. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Flash.t +0 -0
  459. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FlashPix.t +0 -0
  460. data/bin/Image-ExifTool-9.99/t/FlashPix_2.out +49 -0
  461. data/bin/Image-ExifTool-9.99/t/Flash_2.out +22 -0
  462. data/bin/Image-ExifTool-9.99/t/Flash_3.out +55 -0
  463. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Font.t +0 -0
  464. data/bin/Image-ExifTool-9.99/t/Font_2.out +24 -0
  465. data/bin/Image-ExifTool-9.99/t/Font_3.out +36 -0
  466. data/bin/Image-ExifTool-9.99/t/Font_4.out +27 -0
  467. data/bin/Image-ExifTool-9.99/t/Font_5.out +27 -0
  468. data/bin/Image-ExifTool-9.99/t/Font_6.out +37 -0
  469. data/bin/Image-ExifTool-9.99/t/Font_7.out +37 -0
  470. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FotoStation.t +0 -0
  471. data/bin/Image-ExifTool-9.99/t/FotoStation_2.out +41 -0
  472. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FotoStation_3.out +0 -0
  473. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FujiFilm.t +0 -0
  474. data/bin/Image-ExifTool-9.99/t/FujiFilm_2.out +89 -0
  475. data/bin/Image-ExifTool-9.99/t/FujiFilm_3.out +90 -0
  476. data/bin/Image-ExifTool-9.99/t/FujiFilm_4.out +141 -0
  477. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/FujiFilm_5.out +0 -0
  478. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GE.t +0 -0
  479. data/bin/Image-ExifTool-9.99/t/GE_2.out +86 -0
  480. data/bin/Image-ExifTool-9.99/t/GE_3.out +86 -0
  481. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GIF.t +0 -0
  482. data/bin/Image-ExifTool-9.99/t/GIF_2.out +42 -0
  483. data/bin/Image-ExifTool-9.99/t/GIF_3.out +43 -0
  484. data/bin/Image-ExifTool-9.99/t/GIF_4.out +18 -0
  485. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GIMP.t +0 -0
  486. data/bin/Image-ExifTool-9.99/t/GIMP_2.out +65 -0
  487. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GPS.t +0 -0
  488. data/bin/Image-ExifTool-9.99/t/GPS_2.out +96 -0
  489. data/bin/Image-ExifTool-9.99/t/GPS_3.out +98 -0
  490. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GeoTiff.t +0 -0
  491. data/bin/Image-ExifTool-9.99/t/GeoTiff_2.out +38 -0
  492. data/bin/Image-ExifTool-9.99/t/GeoTiff_3.out +38 -0
  493. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/GeoTiff_4.out +0 -0
  494. data/bin/Image-ExifTool-9.99/t/Geotag.t +172 -0
  495. data/bin/Image-ExifTool-9.99/t/Geotag_10.out +15 -0
  496. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_2.out +0 -0
  497. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_3.out +0 -0
  498. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_5.out +0 -0
  499. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_6.out +0 -0
  500. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_7.out +0 -0
  501. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_8.out +0 -0
  502. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Geotag_9.out +0 -0
  503. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/HTML.t +0 -0
  504. data/bin/Image-ExifTool-9.99/t/HTML_2.out +69 -0
  505. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC.t +0 -0
  506. data/bin/Image-ExifTool-9.99/t/IPTC_2.out +60 -0
  507. data/bin/Image-ExifTool-9.99/t/IPTC_4.out +58 -0
  508. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC_5.out +0 -0
  509. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC_6.out +0 -0
  510. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC_7.out +0 -0
  511. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/IPTC_8.out +0 -0
  512. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ITC.t +0 -0
  513. data/bin/Image-ExifTool-9.99/t/ITC_2.out +21 -0
  514. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/InDesign.t +0 -0
  515. data/bin/Image-ExifTool-9.99/t/InDesign_2.out +20 -0
  516. data/bin/Image-ExifTool-9.99/t/InDesign_3.out +22 -0
  517. data/bin/Image-ExifTool-9.99/t/InDesign_4.out +12 -0
  518. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/JVC.t +0 -0
  519. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/JVC_2.out +0 -0
  520. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/JVC_3.out +0 -0
  521. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Jpeg2000.t +0 -0
  522. data/bin/Image-ExifTool-9.99/t/Jpeg2000_2.out +65 -0
  523. data/bin/Image-ExifTool-9.99/t/Jpeg2000_3.out +53 -0
  524. data/bin/Image-ExifTool-9.99/t/Jpeg2000_4.out +17 -0
  525. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Kodak.t +0 -0
  526. data/bin/Image-ExifTool-9.99/t/Kodak_2.out +111 -0
  527. data/bin/Image-ExifTool-9.99/t/Kodak_3.out +121 -0
  528. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/KyoceraRaw.t +0 -0
  529. data/bin/Image-ExifTool-9.99/t/KyoceraRaw_2.out +28 -0
  530. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/LNK.t +0 -0
  531. data/bin/Image-ExifTool-9.99/t/LNK_2.out +46 -0
  532. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang.t +0 -0
  533. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_1.out +0 -0
  534. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_10.out +0 -0
  535. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_11.out +0 -0
  536. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_12.out +0 -0
  537. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_13.out +0 -0
  538. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_14.out +0 -0
  539. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_15.out +0 -0
  540. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_16.out +0 -0
  541. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_17.out +0 -0
  542. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_18.out +0 -0
  543. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_2.out +0 -0
  544. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_3.out +0 -0
  545. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_4.out +0 -0
  546. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_5.out +0 -0
  547. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_6.out +0 -0
  548. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_7.out +0 -0
  549. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_8.out +0 -0
  550. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lang_9.out +0 -0
  551. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Lytro.t +0 -0
  552. data/bin/Image-ExifTool-9.99/t/Lytro_2.out +109 -0
  553. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/M2TS.t +0 -0
  554. data/bin/Image-ExifTool-9.99/t/M2TS_2.out +29 -0
  555. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MIE.t +0 -0
  556. data/bin/Image-ExifTool-9.99/t/MIE_2.out +69 -0
  557. data/bin/Image-ExifTool-9.99/t/MIE_3.out +136 -0
  558. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MIE_5.out +0 -0
  559. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MIE_6.out +0 -0
  560. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MIFF.t +0 -0
  561. data/bin/Image-ExifTool-9.99/t/MIFF_2.out +110 -0
  562. data/bin/Image-ExifTool-9.99/t/MOI.t +27 -0
  563. data/bin/Image-ExifTool-9.99/t/MOI_2.out +11 -0
  564. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MP3.t +0 -0
  565. data/bin/Image-ExifTool-9.99/t/MP3_2.out +46 -0
  566. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG.t +0 -0
  567. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_2.out +0 -0
  568. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_3.out +0 -0
  569. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_4.out +0 -0
  570. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_5.out +0 -0
  571. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MWG_6.out +0 -0
  572. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/MXF.t +0 -0
  573. data/bin/Image-ExifTool-9.99/t/MXF_2.out +79 -0
  574. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Matroska.t +0 -0
  575. data/bin/Image-ExifTool-9.99/t/Matroska_2.out +66 -0
  576. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Minolta.t +0 -0
  577. data/bin/Image-ExifTool-9.99/t/Minolta_2.out +135 -0
  578. data/bin/Image-ExifTool-9.99/t/Minolta_3.out +148 -0
  579. data/bin/Image-ExifTool-9.99/t/Minolta_4.out +150 -0
  580. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Nikon.t +0 -0
  581. data/bin/Image-ExifTool-9.99/t/Nikon_2.out +84 -0
  582. data/bin/Image-ExifTool-9.99/t/Nikon_3.out +100 -0
  583. data/bin/Image-ExifTool-9.99/t/Nikon_4.out +176 -0
  584. data/bin/Image-ExifTool-9.99/t/Nikon_5.out +169 -0
  585. data/bin/Image-ExifTool-9.99/t/Nikon_7.out +261 -0
  586. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Nikon_8.out +0 -0
  587. data/bin/Image-ExifTool-9.99/t/Olympus.t +94 -0
  588. data/bin/Image-ExifTool-9.99/t/Olympus_2.out +81 -0
  589. data/bin/Image-ExifTool-9.99/t/Olympus_3.out +83 -0
  590. data/bin/Image-ExifTool-9.99/t/Olympus_4.out +194 -0
  591. data/bin/Image-ExifTool-9.99/t/Olympus_5.out +266 -0
  592. data/bin/Image-ExifTool-9.99/t/Olympus_6.out +153 -0
  593. data/bin/Image-ExifTool-9.99/t/Olympus_7.out +483 -0
  594. data/bin/Image-ExifTool-9.99/t/Olympus_8.out +15 -0
  595. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/OpenEXR.t +0 -0
  596. data/bin/Image-ExifTool-9.99/t/OpenEXR_2.out +25 -0
  597. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF.t +0 -0
  598. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_10.out +0 -0
  599. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_11.out +0 -0
  600. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_12.out +0 -0
  601. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_14.out +0 -0
  602. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_15.out +0 -0
  603. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_16.out +0 -0
  604. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_17.out +0 -0
  605. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_18.out +0 -0
  606. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_19.out +0 -0
  607. data/bin/Image-ExifTool-9.99/t/PDF_2.out +118 -0
  608. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_20.out +0 -0
  609. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_22.out +0 -0
  610. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_4.out +0 -0
  611. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_5.out +0 -0
  612. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_6.out +0 -0
  613. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_7.out +0 -0
  614. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_8.out +0 -0
  615. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PDF_9.out +0 -0
  616. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PGF.t +0 -0
  617. data/bin/Image-ExifTool-9.99/t/PGF_2.out +34 -0
  618. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PICT.t +0 -0
  619. data/bin/Image-ExifTool-9.99/t/PICT_2.out +17 -0
  620. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PLIST.t +0 -0
  621. data/bin/Image-ExifTool-9.99/t/PLIST_2.out +21 -0
  622. data/bin/Image-ExifTool-9.99/t/PLIST_3.out +21 -0
  623. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PNG.t +0 -0
  624. data/bin/Image-ExifTool-9.99/t/PNG_2.out +24 -0
  625. data/bin/Image-ExifTool-9.99/t/PNG_3.out +123 -0
  626. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PNG_4.out +0 -0
  627. data/bin/Image-ExifTool-9.99/t/PNG_5.out +18 -0
  628. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PPM.t +0 -0
  629. data/bin/Image-ExifTool-9.99/t/PPM_2.out +17 -0
  630. data/bin/Image-ExifTool-9.99/t/PPM_3.out +11 -0
  631. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PSP.t +0 -0
  632. data/bin/Image-ExifTool-9.99/t/PSP_2.out +34 -0
  633. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Palm.t +0 -0
  634. data/bin/Image-ExifTool-9.99/t/Palm_2.out +32 -0
  635. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Panasonic.t +0 -0
  636. data/bin/Image-ExifTool-9.99/t/Panasonic_2.out +101 -0
  637. data/bin/Image-ExifTool-9.99/t/Panasonic_3.out +121 -0
  638. data/bin/Image-ExifTool-9.99/t/Panasonic_4.out +206 -0
  639. data/bin/Image-ExifTool-9.99/t/Panasonic_5.out +244 -0
  640. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Pentax.t +0 -0
  641. data/bin/Image-ExifTool-9.99/t/Pentax_2.out +225 -0
  642. data/bin/Image-ExifTool-9.99/t/Pentax_3.out +266 -0
  643. data/bin/Image-ExifTool-9.99/t/Pentax_4.out +131 -0
  644. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PhotoCD.t +0 -0
  645. data/bin/Image-ExifTool-9.99/t/PhotoCD_2.out +37 -0
  646. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PhotoMechanic.t +0 -0
  647. data/bin/Image-ExifTool-9.99/t/PhotoMechanic_2.out +83 -0
  648. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PhotoMechanic_3.out +0 -0
  649. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Photoshop.t +0 -0
  650. data/bin/Image-ExifTool-9.99/t/Photoshop_2.out +98 -0
  651. data/bin/Image-ExifTool-9.99/t/Photoshop_3.out +110 -0
  652. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/PostScript.t +0 -0
  653. data/bin/Image-ExifTool-9.99/t/PostScript_2.out +66 -0
  654. data/bin/Image-ExifTool-9.99/t/PostScript_3.out +134 -0
  655. data/bin/Image-ExifTool-9.99/t/QuickTime.t +54 -0
  656. data/bin/Image-ExifTool-9.99/t/QuickTime_2.out +133 -0
  657. data/bin/Image-ExifTool-9.99/t/QuickTime_3.out +73 -0
  658. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/QuickTime_4.out +0 -0
  659. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/QuickTime_5.out +0 -0
  660. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/RIFF.t +0 -0
  661. data/bin/Image-ExifTool-9.99/t/RIFF_2.out +25 -0
  662. data/bin/Image-ExifTool-9.99/t/RIFF_3.out +54 -0
  663. data/bin/Image-ExifTool-9.99/t/RIFF_4.out +18 -0
  664. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/RTF.t +0 -0
  665. data/bin/Image-ExifTool-9.99/t/RTF_2.out +21 -0
  666. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Radiance.t +0 -0
  667. data/bin/Image-ExifTool-9.99/t/Radiance_2.out +24 -0
  668. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Real.t +0 -0
  669. data/bin/Image-ExifTool-9.99/t/Real_2.out +69 -0
  670. data/bin/Image-ExifTool-9.99/t/Real_3.out +19 -0
  671. data/bin/Image-ExifTool-9.99/t/Real_4.out +12 -0
  672. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Ricoh.t +0 -0
  673. data/bin/Image-ExifTool-9.99/t/Ricoh_2.out +72 -0
  674. data/bin/Image-ExifTool-9.99/t/Ricoh_3.out +100 -0
  675. data/bin/Image-ExifTool-9.99/t/Ricoh_4.out +114 -0
  676. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Sanyo.t +0 -0
  677. data/bin/Image-ExifTool-9.99/t/Sanyo_2.out +103 -0
  678. data/bin/Image-ExifTool-9.99/t/Sanyo_3.out +113 -0
  679. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Sigma.t +0 -0
  680. data/bin/Image-ExifTool-9.99/t/Sigma_2.out +93 -0
  681. data/bin/Image-ExifTool-9.99/t/Sigma_3.out +96 -0
  682. data/bin/Image-ExifTool-9.99/t/Sigma_4.out +65 -0
  683. data/bin/Image-ExifTool-9.99/t/Sigma_5.out +194 -0
  684. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Sony.t +0 -0
  685. data/bin/Image-ExifTool-9.99/t/Sony_2.out +86 -0
  686. data/bin/Image-ExifTool-9.99/t/Sony_3.out +87 -0
  687. data/bin/Image-ExifTool-9.99/t/Sony_5.out +34 -0
  688. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/TestLib.pm +0 -0
  689. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Torrent.t +0 -0
  690. data/bin/Image-ExifTool-9.99/t/Torrent_2.out +32 -0
  691. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Unknown.t +0 -0
  692. data/bin/Image-ExifTool-9.99/t/Unknown_2.out +92 -0
  693. data/bin/Image-ExifTool-9.99/t/Unknown_3.out +92 -0
  694. data/bin/Image-ExifTool-9.99/t/VCard.t +31 -0
  695. data/bin/Image-ExifTool-9.99/t/VCard_2.out +54 -0
  696. data/bin/Image-ExifTool-9.99/t/VCard_3.out +88 -0
  697. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Vorbis.t +0 -0
  698. data/bin/Image-ExifTool-9.99/t/Vorbis_2.out +29 -0
  699. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer.t +0 -0
  700. data/bin/Image-ExifTool-9.99/t/Writer_10.out +246 -0
  701. data/bin/Image-ExifTool-9.99/t/Writer_11.out +39 -0
  702. data/bin/Image-ExifTool-9.99/t/Writer_13.out +165 -0
  703. data/bin/Image-ExifTool-9.99/t/Writer_14.out +69 -0
  704. data/bin/Image-ExifTool-9.99/t/Writer_15.out +175 -0
  705. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_16.out +0 -0
  706. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_17.out +0 -0
  707. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_18.out +0 -0
  708. data/bin/Image-ExifTool-9.99/t/Writer_19.out +36 -0
  709. data/bin/Image-ExifTool-9.99/t/Writer_2.out +172 -0
  710. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_22.out +0 -0
  711. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_24.out +0 -0
  712. data/bin/Image-ExifTool-9.99/t/Writer_25.out +40 -0
  713. data/bin/Image-ExifTool-9.99/t/Writer_26.out +34 -0
  714. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_27.out +0 -0
  715. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_28.out +0 -0
  716. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_29.out +0 -0
  717. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_30.out +0 -0
  718. data/bin/Image-ExifTool-9.99/t/Writer_31.out +99 -0
  719. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_32.out +0 -0
  720. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_33.out +0 -0
  721. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_34.out +0 -0
  722. data/bin/Image-ExifTool-9.99/t/Writer_35.out +188 -0
  723. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_36.out +0 -0
  724. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_37.out +0 -0
  725. data/bin/Image-ExifTool-9.99/t/Writer_38.out +63 -0
  726. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_39.out +0 -0
  727. data/bin/Image-ExifTool-9.99/t/Writer_4.out +87 -0
  728. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_40.out +0 -0
  729. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_41.out +0 -0
  730. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_42.out +0 -0
  731. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_43.out +0 -0
  732. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_44.out +0 -0
  733. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_45.out +0 -0
  734. data/bin/Image-ExifTool-9.99/t/Writer_46.out +105 -0
  735. data/bin/Image-ExifTool-9.99/t/Writer_47.out +57 -0
  736. data/bin/Image-ExifTool-9.99/t/Writer_48.out +31 -0
  737. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_50.out +0 -0
  738. data/bin/Image-ExifTool-9.99/t/Writer_51.out +405 -0
  739. data/bin/Image-ExifTool-9.99/t/Writer_52.out +23 -0
  740. data/bin/Image-ExifTool-9.99/t/Writer_53.out +35 -0
  741. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_54.out +0 -0
  742. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_55.out +0 -0
  743. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/Writer_56.out +0 -0
  744. data/bin/Image-ExifTool-9.99/t/Writer_6.out +186 -0
  745. data/bin/Image-ExifTool-9.99/t/Writer_7.out +151 -0
  746. data/bin/Image-ExifTool-9.99/t/Writer_9.out +242 -0
  747. data/bin/Image-ExifTool-9.99/t/XMP.t +557 -0
  748. data/bin/Image-ExifTool-9.99/t/XMP_10.out +37 -0
  749. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_11.out +0 -0
  750. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_12.out +0 -0
  751. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_13.out +0 -0
  752. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_14.out +0 -0
  753. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_15.out +0 -0
  754. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_16.out +0 -0
  755. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_17.out +0 -0
  756. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_18.out +0 -0
  757. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_19.out +0 -0
  758. data/bin/Image-ExifTool-9.99/t/XMP_2.out +140 -0
  759. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_20.out +0 -0
  760. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_21.out +0 -0
  761. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_22.out +0 -0
  762. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_23.out +0 -0
  763. data/bin/Image-ExifTool-9.99/t/XMP_24.out +32 -0
  764. data/bin/Image-ExifTool-9.99/t/XMP_25.out +28 -0
  765. data/bin/Image-ExifTool-9.99/t/XMP_26.out +51 -0
  766. data/bin/Image-ExifTool-9.99/t/XMP_27.out +95 -0
  767. data/bin/Image-ExifTool-9.99/t/XMP_28.out +46 -0
  768. data/bin/Image-ExifTool-9.99/t/XMP_29.out +26 -0
  769. data/bin/Image-ExifTool-9.99/t/XMP_3.out +138 -0
  770. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_30.out +0 -0
  771. data/bin/Image-ExifTool-9.99/t/XMP_31.out +20 -0
  772. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_32.out +0 -0
  773. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_34.out +0 -0
  774. data/bin/Image-ExifTool-9.99/t/XMP_36.out +19 -0
  775. data/bin/Image-ExifTool-9.99/t/XMP_37.out +36 -0
  776. data/bin/Image-ExifTool-9.99/t/XMP_39.out +45 -0
  777. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_40.out +0 -0
  778. data/bin/Image-ExifTool-9.99/t/XMP_41.out +181 -0
  779. data/bin/Image-ExifTool-9.99/t/XMP_42.out +8 -0
  780. data/bin/Image-ExifTool-9.99/t/XMP_43.out +6 -0
  781. data/bin/Image-ExifTool-9.99/t/XMP_44.out +35 -0
  782. data/bin/Image-ExifTool-9.99/t/XMP_5.out +30 -0
  783. data/bin/Image-ExifTool-9.99/t/XMP_6.out +89 -0
  784. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_7.out +0 -0
  785. data/bin/Image-ExifTool-9.99/t/XMP_8.out +19 -0
  786. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/XMP_9.out +0 -0
  787. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/ZIP.t +0 -0
  788. data/bin/Image-ExifTool-9.99/t/ZIP_2.out +19 -0
  789. data/bin/Image-ExifTool-9.99/t/ZIP_3.out +18 -0
  790. data/bin/Image-ExifTool-9.99/t/ZIP_4.out +214 -0
  791. data/bin/Image-ExifTool-9.99/t/ZIP_5.out +136 -0
  792. data/bin/Image-ExifTool-9.99/t/ZIP_6.out +50 -0
  793. data/bin/Image-ExifTool-9.99/t/ZIP_7.out +29 -0
  794. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/AFCP.jpg +0 -0
  795. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/AIFF.aif +0 -0
  796. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/APE.ape +0 -0
  797. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/APE.mpc +0 -0
  798. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ASF.wmv +0 -0
  799. data/bin/Image-ExifTool-9.99/t/images/Audible.aa +0 -0
  800. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/BMP.bmp +0 -0
  801. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/BigTIFF.btf +0 -0
  802. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Canon.jpg +0 -0
  803. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Canon1DmkIII.jpg +0 -0
  804. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CanonRaw.cr2 +0 -0
  805. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CanonRaw.crw +0 -0
  806. data/bin/Image-ExifTool-9.99/t/images/CanonVRD.dr4 +0 -0
  807. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CanonVRD.vrd +0 -0
  808. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CaptureOne.eip +0 -0
  809. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Casio.jpg +0 -0
  810. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Casio2.jpg +0 -0
  811. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/CasioQVCI.jpg +0 -0
  812. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DICOM.dcm +0 -0
  813. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DNG.dng +0 -0
  814. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DPX.dpx +0 -0
  815. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DV.dv +0 -0
  816. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/DjVu.djvu +0 -0
  817. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/EXE.elf +0 -0
  818. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/EXE.exe +0 -0
  819. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/EXE.macho +0 -0
  820. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ExifTool.jpg +0 -0
  821. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ExifTool.tif +0 -0
  822. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ExtendedXMP.jpg +0 -0
  823. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FLAC.flac +0 -0
  824. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FLAC.ogg +0 -0
  825. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FLIR.fpf +0 -0
  826. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FLIR.jpg +0 -0
  827. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Flash.flv +0 -0
  828. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Flash.swf +0 -0
  829. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FlashPix.ppt +0 -0
  830. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.afm +0 -0
  831. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.dfont +0 -0
  832. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.pfa +0 -0
  833. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.pfb +0 -0
  834. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.pfm +0 -0
  835. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Font.ttf +0 -0
  836. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FotoStation.jpg +0 -0
  837. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FujiFilm.jpg +0 -0
  838. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/FujiFilm.raf +0 -0
  839. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GE.jpg +0 -0
  840. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GIF.gif +0 -0
  841. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GIMP.xcf +0 -0
  842. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GPS.jpg +0 -0
  843. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/GeoTiff.tif +0 -0
  844. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.gpx +0 -0
  845. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.igc +0 -0
  846. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.kml +0 -0
  847. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.log +0 -0
  848. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag.xml +0 -0
  849. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Geotag2.log +0 -0
  850. data/bin/Image-ExifTool-9.99/t/images/Geotag3.log +7 -0
  851. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/HTML.html +0 -0
  852. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/IPTC.jpg +0 -0
  853. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ITC.itc +0 -0
  854. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/InDesign.indd +0 -0
  855. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/JVC.jpg +0 -0
  856. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/JVC2.jpg +0 -0
  857. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Jpeg2000.j2c +0 -0
  858. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Jpeg2000.jp2 +0 -0
  859. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Kodak.jpg +0 -0
  860. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/KyoceraRaw.raw +0 -0
  861. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/LNK.lnk +0 -0
  862. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Lytro.lfp +0 -0
  863. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/M2TS.mts +0 -0
  864. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MIE.mie +0 -0
  865. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MIFF.miff +0 -0
  866. data/bin/Image-ExifTool-9.99/t/images/MOI.moi +0 -0
  867. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MP3.mp3 +0 -0
  868. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MWG.jpg +0 -0
  869. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/MXF.mxf +0 -0
  870. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Matroska.mkv +0 -0
  871. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Minolta.jpg +0 -0
  872. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Minolta.mrw +0 -0
  873. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Nikon.jpg +0 -0
  874. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Nikon.nef +0 -0
  875. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/NikonD2Hs.jpg +0 -0
  876. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/NikonD70.jpg +0 -0
  877. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/OOXML.docx +0 -0
  878. data/bin/Image-ExifTool-9.99/t/images/Olympus.dss +0 -0
  879. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Olympus.jpg +0 -0
  880. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Olympus2.jpg +0 -0
  881. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/OlympusE1.jpg +0 -0
  882. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/OpenDoc.ods +0 -0
  883. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/OpenEXR.exr +0 -0
  884. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PDF.pdf +0 -0
  885. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PDF2.pdf +0 -0
  886. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PGF.pgf +0 -0
  887. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PICT.pict +0 -0
  888. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PLIST-bin.plist +0 -0
  889. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PLIST-xml.plist +0 -0
  890. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PNG.png +0 -0
  891. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PPM.ppm +0 -0
  892. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PSP.psp +0 -0
  893. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Palm.mobi +0 -0
  894. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Panasonic.jpg +0 -0
  895. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Panasonic.rw2 +0 -0
  896. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Pentax.avi +0 -0
  897. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Pentax.jpg +0 -0
  898. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PhotoCD.pcd +0 -0
  899. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PhotoMechanic.jpg +0 -0
  900. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Photoshop.psd +0 -0
  901. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/PostScript.eps +0 -0
  902. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/QuickTime.m4a +0 -0
  903. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/QuickTime.mov +0 -0
  904. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/RIFF.avi +0 -0
  905. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/RIFF.wav +0 -0
  906. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/RIFF.webp +0 -0
  907. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/RTF.rtf +0 -0
  908. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Radiance.hdr +0 -0
  909. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Real.ra +0 -0
  910. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Real.ram +0 -0
  911. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Real.rm +0 -0
  912. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Ricoh.jpg +0 -0
  913. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Ricoh2.jpg +0 -0
  914. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sanyo.jpg +0 -0
  915. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sigma.jpg +0 -0
  916. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sigma.x3f +0 -0
  917. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/SigmaDP2.x3f +0 -0
  918. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sony.jpg +0 -0
  919. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Sony.pmp +0 -0
  920. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Torrent.torrent +0 -0
  921. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Unknown.jpg +0 -0
  922. data/bin/Image-ExifTool-9.99/t/images/VCard.ics +94 -0
  923. data/bin/Image-ExifTool-9.99/t/images/VCard.vcf +45 -0
  924. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Vorbis.ogg +0 -0
  925. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/Writer.jpg +0 -0
  926. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.inx +0 -0
  927. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.jpg +0 -0
  928. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.svg +0 -0
  929. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.xml +0 -0
  930. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP.xmp +0 -0
  931. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP2.xmp +0 -0
  932. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP3.xmp +0 -0
  933. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/XMP4.xmp +0 -0
  934. data/bin/Image-ExifTool-9.99/t/images/XMP5.xmp +157 -0
  935. data/bin/Image-ExifTool-9.99/t/images/XMP6.xmp +48 -0
  936. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ZIP.gz +0 -0
  937. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/ZIP.zip +0 -0
  938. data/bin/{Image-ExifTool-9.78 → Image-ExifTool-9.99}/t/images/iWork.numbers +0 -0
  939. data/lib/exiftool_vendored/version.rb +1 -1
  940. metadata +941 -904
  941. data/bin/Image-ExifTool-9.78/Changes +0 -6884
  942. data/bin/Image-ExifTool-9.78/MANIFEST +0 -900
  943. data/bin/Image-ExifTool-9.78/META.yml +0 -27
  944. data/bin/Image-ExifTool-9.78/README +0 -227
  945. data/bin/Image-ExifTool-9.78/arg_files/exif2xmp.args +0 -42
  946. data/bin/Image-ExifTool-9.78/arg_files/iptcCore.args +0 -172
  947. data/bin/Image-ExifTool-9.78/arg_files/xmp2exif.args +0 -43
  948. data/bin/Image-ExifTool-9.78/config_files/ExifTool_config +0 -341
  949. data/bin/Image-ExifTool-9.78/config_files/convert_regions.config +0 -81
  950. data/bin/Image-ExifTool-9.78/exiftool +0 -5969
  951. data/bin/Image-ExifTool-9.78/html/ExifTool.html +0 -2018
  952. data/bin/Image-ExifTool-9.78/html/Shift.html +0 -173
  953. data/bin/Image-ExifTool-9.78/html/TagNames/AIFF.html +0 -146
  954. data/bin/Image-ExifTool-9.78/html/TagNames/ASF.html +0 -1066
  955. data/bin/Image-ExifTool-9.78/html/TagNames/Apple.html +0 -69
  956. data/bin/Image-ExifTool-9.78/html/TagNames/BMP.html +0 -110
  957. data/bin/Image-ExifTool-9.78/html/TagNames/Canon.html +0 -8414
  958. data/bin/Image-ExifTool-9.78/html/TagNames/CanonCustom.html +0 -2081
  959. data/bin/Image-ExifTool-9.78/html/TagNames/CanonVRD.html +0 -1222
  960. data/bin/Image-ExifTool-9.78/html/TagNames/Casio.html +0 -1606
  961. data/bin/Image-ExifTool-9.78/html/TagNames/Composite.html +0 -696
  962. data/bin/Image-ExifTool-9.78/html/TagNames/DNG.html +0 -285
  963. data/bin/Image-ExifTool-9.78/html/TagNames/DPX.html +0 -190
  964. data/bin/Image-ExifTool-9.78/html/TagNames/DjVu.html +0 -313
  965. data/bin/Image-ExifTool-9.78/html/TagNames/EXE.html +0 -697
  966. data/bin/Image-ExifTool-9.78/html/TagNames/EXIF.html +0 -3365
  967. data/bin/Image-ExifTool-9.78/html/TagNames/Extra.html +0 -341
  968. data/bin/Image-ExifTool-9.78/html/TagNames/FLAC.html +0 -183
  969. data/bin/Image-ExifTool-9.78/html/TagNames/FLIR.html +0 -1340
  970. data/bin/Image-ExifTool-9.78/html/TagNames/Flash.html +0 -419
  971. data/bin/Image-ExifTool-9.78/html/TagNames/FlashPix.html +0 -1465
  972. data/bin/Image-ExifTool-9.78/html/TagNames/FujiFilm.html +0 -789
  973. data/bin/Image-ExifTool-9.78/html/TagNames/GeoTiff.html +0 -2184
  974. data/bin/Image-ExifTool-9.78/html/TagNames/H264.html +0 -393
  975. data/bin/Image-ExifTool-9.78/html/TagNames/ICC_Profile.html +0 -711
  976. data/bin/Image-ExifTool-9.78/html/TagNames/ID3.html +0 -1471
  977. data/bin/Image-ExifTool-9.78/html/TagNames/IPTC.html +0 -902
  978. data/bin/Image-ExifTool-9.78/html/TagNames/JPEG.html +0 -602
  979. data/bin/Image-ExifTool-9.78/html/TagNames/Jpeg2000.html +0 -464
  980. data/bin/Image-ExifTool-9.78/html/TagNames/Kodak.html +0 -1881
  981. data/bin/Image-ExifTool-9.78/html/TagNames/KyoceraRaw.html +0 -92
  982. data/bin/Image-ExifTool-9.78/html/TagNames/LNK.html +0 -478
  983. data/bin/Image-ExifTool-9.78/html/TagNames/Lytro.html +0 -122
  984. data/bin/Image-ExifTool-9.78/html/TagNames/M2TS.html +0 -133
  985. data/bin/Image-ExifTool-9.78/html/TagNames/MIE.html +0 -1026
  986. data/bin/Image-ExifTool-9.78/html/TagNames/MNG.html +0 -847
  987. data/bin/Image-ExifTool-9.78/html/TagNames/MPC.html +0 -97
  988. data/bin/Image-ExifTool-9.78/html/TagNames/MPEG.html +0 -249
  989. data/bin/Image-ExifTool-9.78/html/TagNames/MPF.html +0 -199
  990. data/bin/Image-ExifTool-9.78/html/TagNames/MWG.html +0 -567
  991. data/bin/Image-ExifTool-9.78/html/TagNames/MXF.html +0 -6673
  992. data/bin/Image-ExifTool-9.78/html/TagNames/Matroska.html +0 -1069
  993. data/bin/Image-ExifTool-9.78/html/TagNames/Microsoft.html +0 -2069
  994. data/bin/Image-ExifTool-9.78/html/TagNames/Minolta.html +0 -2585
  995. data/bin/Image-ExifTool-9.78/html/TagNames/MinoltaRaw.html +0 -326
  996. data/bin/Image-ExifTool-9.78/html/TagNames/Nikon.html +0 -4734
  997. data/bin/Image-ExifTool-9.78/html/TagNames/NikonCapture.html +0 -799
  998. data/bin/Image-ExifTool-9.78/html/TagNames/NikonCustom.html +0 -4794
  999. data/bin/Image-ExifTool-9.78/html/TagNames/OOXML.html +0 -280
  1000. data/bin/Image-ExifTool-9.78/html/TagNames/Olympus.html +0 -3447
  1001. data/bin/Image-ExifTool-9.78/html/TagNames/OpenEXR.html +0 -222
  1002. data/bin/Image-ExifTool-9.78/html/TagNames/PDF.html +0 -745
  1003. data/bin/Image-ExifTool-9.78/html/TagNames/PGF.html +0 -80
  1004. data/bin/Image-ExifTool-9.78/html/TagNames/Palm.html +0 -388
  1005. data/bin/Image-ExifTool-9.78/html/TagNames/Panasonic.html +0 -1686
  1006. data/bin/Image-ExifTool-9.78/html/TagNames/PanasonicRaw.html +0 -451
  1007. data/bin/Image-ExifTool-9.78/html/TagNames/Pentax.html +0 -4601
  1008. data/bin/Image-ExifTool-9.78/html/TagNames/PhaseOne.html +0 -258
  1009. data/bin/Image-ExifTool-9.78/html/TagNames/PhotoCD.html +0 -402
  1010. data/bin/Image-ExifTool-9.78/html/TagNames/PhotoMechanic.html +0 -196
  1011. data/bin/Image-ExifTool-9.78/html/TagNames/Photoshop.html +0 -570
  1012. data/bin/Image-ExifTool-9.78/html/TagNames/Qualcomm.html +0 -4778
  1013. data/bin/Image-ExifTool-9.78/html/TagNames/QuickTime.html +0 -5729
  1014. data/bin/Image-ExifTool-9.78/html/TagNames/RIFF.html +0 -1314
  1015. data/bin/Image-ExifTool-9.78/html/TagNames/Radiance.html +0 -87
  1016. data/bin/Image-ExifTool-9.78/html/TagNames/Real.html +0 -780
  1017. data/bin/Image-ExifTool-9.78/html/TagNames/Reconyx.html +0 -132
  1018. data/bin/Image-ExifTool-9.78/html/TagNames/Ricoh.html +0 -794
  1019. data/bin/Image-ExifTool-9.78/html/TagNames/Samsung.html +0 -603
  1020. data/bin/Image-ExifTool-9.78/html/TagNames/Sanyo.html +0 -366
  1021. data/bin/Image-ExifTool-9.78/html/TagNames/Shortcuts.html +0 -274
  1022. data/bin/Image-ExifTool-9.78/html/TagNames/Sigma.html +0 -377
  1023. data/bin/Image-ExifTool-9.78/html/TagNames/SigmaRaw.html +0 -438
  1024. data/bin/Image-ExifTool-9.78/html/TagNames/Sony.html +0 -7481
  1025. data/bin/Image-ExifTool-9.78/html/TagNames/SonyIDC.html +0 -267
  1026. data/bin/Image-ExifTool-9.78/html/TagNames/XMP.html +0 -7971
  1027. data/bin/Image-ExifTool-9.78/html/TagNames/ZIP.html +0 -205
  1028. data/bin/Image-ExifTool-9.78/html/TagNames/index.html +0 -207
  1029. data/bin/Image-ExifTool-9.78/html/ancient_history.html +0 -7356
  1030. data/bin/Image-ExifTool-9.78/html/config.html +0 -354
  1031. data/bin/Image-ExifTool-9.78/html/data_members.html +0 -277
  1032. data/bin/Image-ExifTool-9.78/html/exiftool_pod.html +0 -2414
  1033. data/bin/Image-ExifTool-9.78/html/faq.html +0 -1499
  1034. data/bin/Image-ExifTool-9.78/html/filename.html +0 -331
  1035. data/bin/Image-ExifTool-9.78/html/geotag.html +0 -652
  1036. data/bin/Image-ExifTool-9.78/html/history.html +0 -431
  1037. data/bin/Image-ExifTool-9.78/html/htmldump.html +0 -734
  1038. data/bin/Image-ExifTool-9.78/html/index.html +0 -1298
  1039. data/bin/Image-ExifTool-9.78/html/install.html +0 -251
  1040. data/bin/Image-ExifTool-9.78/html/standards.html +0 -286
  1041. data/bin/Image-ExifTool-9.78/html/under.html +0 -127
  1042. data/bin/Image-ExifTool-9.78/lib/File/RandomAccess.pm +0 -378
  1043. data/bin/Image-ExifTool-9.78/lib/File/RandomAccess.pod +0 -231
  1044. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool.pm +0 -7070
  1045. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool.pod +0 -2437
  1046. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/AES.pm +0 -501
  1047. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/AFCP.pm +0 -284
  1048. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/AIFF.pm +0 -286
  1049. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/APE.pm +0 -262
  1050. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/APP12.pm +0 -322
  1051. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ASF.pm +0 -884
  1052. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Apple.pm +0 -115
  1053. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/BMP.pm +0 -179
  1054. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/BZZ.pm +0 -472
  1055. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/BigTIFF.pm +0 -282
  1056. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/BuildTagLookup.pm +0 -2445
  1057. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Canon.pm +0 -8184
  1058. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/CanonCustom.pm +0 -2582
  1059. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/CanonRaw.pm +0 -908
  1060. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/CanonVRD.pm +0 -1519
  1061. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/CaptureOne.pm +0 -235
  1062. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Casio.pm +0 -2057
  1063. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Charset.pm +0 -396
  1064. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DICOM.pm +0 -3874
  1065. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DNG.pm +0 -835
  1066. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DPX.pm +0 -151
  1067. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DV.pm +0 -319
  1068. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DarwinCore.pm +0 -322
  1069. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/DjVu.pm +0 -376
  1070. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/EXE.pm +0 -1228
  1071. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Exif.pm +0 -4652
  1072. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FLAC.pm +0 -296
  1073. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FLIR.pm +0 -1531
  1074. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Fixup.pm +0 -354
  1075. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Flash.pm +0 -755
  1076. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FlashPix.pm +0 -1929
  1077. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Font.pm +0 -643
  1078. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FotoStation.pm +0 -259
  1079. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/FujiFilm.pm +0 -1162
  1080. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GE.pm +0 -81
  1081. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GIF.pm +0 -542
  1082. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GIMP.pm +0 -258
  1083. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GPS.pm +0 -546
  1084. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/GeoTiff.pm +0 -2202
  1085. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Geotag.pm +0 -1201
  1086. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/H264.pm +0 -1112
  1087. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/HP.pm +0 -262
  1088. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/HTML.pm +0 -576
  1089. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/HtmlDump.pm +0 -895
  1090. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ICC_Profile.pm +0 -1000
  1091. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ID3.pm +0 -1532
  1092. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/IPTC.pm +0 -1264
  1093. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ITC.pm +0 -215
  1094. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Import.pm +0 -313
  1095. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/InDesign.pm +0 -277
  1096. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/JPEG.pm +0 -601
  1097. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/JPEGDigest.pm +0 -2511
  1098. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/JVC.pm +0 -130
  1099. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Jpeg2000.pm +0 -873
  1100. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Kodak.pm +0 -2080
  1101. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/KyoceraRaw.pm +0 -173
  1102. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/LNK.pm +0 -723
  1103. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/cs.pm +0 -1588
  1104. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/de.pm +0 -8683
  1105. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/en_ca.pm +0 -848
  1106. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/en_gb.pm +0 -863
  1107. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/es.pm +0 -4020
  1108. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/fi.pm +0 -2854
  1109. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/fr.pm +0 -4748
  1110. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/it.pm +0 -7920
  1111. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/ja.pm +0 -5827
  1112. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/ko.pm +0 -2331
  1113. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/nl.pm +0 -3222
  1114. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/pl.pm +0 -1168
  1115. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/ru.pm +0 -768
  1116. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/sv.pm +0 -638
  1117. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/tr.pm +0 -544
  1118. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/zh_cn.pm +0 -1330
  1119. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lang/zh_tw.pm +0 -801
  1120. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Leaf.pm +0 -515
  1121. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Lytro.pm +0 -217
  1122. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/M2TS.pm +0 -725
  1123. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MIE.pm +0 -2561
  1124. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MIEUnits.pod +0 -377
  1125. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MIFF.pm +0 -279
  1126. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MNG.pm +0 -684
  1127. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MPC.pm +0 -156
  1128. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MPEG.pm +0 -736
  1129. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MPF.pm +0 -292
  1130. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MWG.pm +0 -748
  1131. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MXF.pm +0 -3032
  1132. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MakerNotes.pm +0 -1686
  1133. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Matroska.pm +0 -891
  1134. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Microsoft.pm +0 -884
  1135. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Minolta.pm +0 -2901
  1136. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/MinoltaRaw.pm +0 -534
  1137. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Nikon.pm +0 -6578
  1138. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/NikonCapture.pm +0 -940
  1139. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/NikonCustom.pm +0 -5445
  1140. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Nintendo.pm +0 -128
  1141. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/OOXML.pm +0 -409
  1142. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Ogg.pm +0 -237
  1143. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Olympus.pm +0 -3696
  1144. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/OpenEXR.pm +0 -324
  1145. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PDF.pm +0 -2327
  1146. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PGF.pm +0 -143
  1147. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PICT.pm +0 -1260
  1148. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PLIST.pm +0 -453
  1149. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PNG.pm +0 -1190
  1150. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PPM.pm +0 -169
  1151. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PSP.pm +0 -305
  1152. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Palm.pm +0 -403
  1153. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Panasonic.pm +0 -2355
  1154. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PanasonicRaw.pm +0 -638
  1155. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Pentax.pm +0 -5877
  1156. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PhaseOne.pm +0 -557
  1157. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PhotoCD.pm +0 -507
  1158. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PhotoMechanic.pm +0 -256
  1159. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Photoshop.pm +0 -648
  1160. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PostScript.pm +0 -694
  1161. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/PrintIM.pm +0 -125
  1162. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Qualcomm.pm +0 -1344
  1163. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/QuickTime.pm +0 -6305
  1164. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/README +0 -967
  1165. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/RIFF.pm +0 -1478
  1166. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/RSRC.pm +0 -241
  1167. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/RTF.pm +0 -383
  1168. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Radiance.pm +0 -144
  1169. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Rawzor.pm +0 -190
  1170. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Real.pm +0 -736
  1171. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Reconyx.pm +0 -190
  1172. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Ricoh.pm +0 -1114
  1173. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Samsung.pm +0 -1158
  1174. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Sanyo.pm +0 -439
  1175. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Scalado.pm +0 -141
  1176. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Shift.pl +0 -596
  1177. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Shortcuts.pm +0 -333
  1178. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Sigma.pm +0 -589
  1179. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/SigmaRaw.pm +0 -665
  1180. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Sony.pm +0 -8366
  1181. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/SonyIDC.pm +0 -330
  1182. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Stim.pm +0 -196
  1183. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/TagInfoXML.pm +0 -806
  1184. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/TagLookup.pm +0 -8745
  1185. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/TagNames.pod +0 -27987
  1186. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Theora.pm +0 -145
  1187. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Torrent.pm +0 -317
  1188. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Unknown.pm +0 -66
  1189. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Vorbis.pm +0 -237
  1190. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteCanonRaw.pl +0 -637
  1191. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteExif.pl +0 -3743
  1192. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteIPTC.pl +0 -702
  1193. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WritePDF.pl +0 -768
  1194. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WritePNG.pl +0 -390
  1195. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WritePhotoshop.pl +0 -266
  1196. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WritePostScript.pl +0 -777
  1197. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteQuickTime.pl +0 -358
  1198. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/WriteXMP.pl +0 -1358
  1199. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/Writer.pl +0 -5972
  1200. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/XMP.pm +0 -3840
  1201. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/XMP2.pl +0 -1305
  1202. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/XMPStruct.pl +0 -826
  1203. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/ZIP.pm +0 -667
  1204. data/bin/Image-ExifTool-9.78/lib/Image/ExifTool/iWork.pm +0 -223
  1205. data/bin/Image-ExifTool-9.78/perl-Image-ExifTool.spec +0 -110
  1206. data/bin/Image-ExifTool-9.78/t/AFCP_2.out +0 -37
  1207. data/bin/Image-ExifTool-9.78/t/AIFF_2.out +0 -32
  1208. data/bin/Image-ExifTool-9.78/t/APE_2.out +0 -28
  1209. data/bin/Image-ExifTool-9.78/t/APE_3.out +0 -57
  1210. data/bin/Image-ExifTool-9.78/t/ASF_2.out +0 -54
  1211. data/bin/Image-ExifTool-9.78/t/BMP_2.out +0 -21
  1212. data/bin/Image-ExifTool-9.78/t/BigTIFF_2.out +0 -19
  1213. data/bin/Image-ExifTool-9.78/t/CanonRaw_2.out +0 -166
  1214. data/bin/Image-ExifTool-9.78/t/CanonRaw_4.out +0 -216
  1215. data/bin/Image-ExifTool-9.78/t/CanonRaw_5.out +0 -208
  1216. data/bin/Image-ExifTool-9.78/t/CanonRaw_6.out +0 -231
  1217. data/bin/Image-ExifTool-9.78/t/CanonRaw_7.out +0 -247
  1218. data/bin/Image-ExifTool-9.78/t/CanonVRD.t +0 -129
  1219. data/bin/Image-ExifTool-9.78/t/CanonVRD_11.out +0 -118
  1220. data/bin/Image-ExifTool-9.78/t/CanonVRD_12.out +0 -12
  1221. data/bin/Image-ExifTool-9.78/t/CanonVRD_2.out +0 -116
  1222. data/bin/Image-ExifTool-9.78/t/CanonVRD_3.out +0 -116
  1223. data/bin/Image-ExifTool-9.78/t/CanonVRD_5.out +0 -3
  1224. data/bin/Image-ExifTool-9.78/t/Canon_2.out +0 -353
  1225. data/bin/Image-ExifTool-9.78/t/Casio_2.out +0 -70
  1226. data/bin/Image-ExifTool-9.78/t/Casio_3.out +0 -100
  1227. data/bin/Image-ExifTool-9.78/t/Casio_4.out +0 -26
  1228. data/bin/Image-ExifTool-9.78/t/Casio_5.out +0 -78
  1229. data/bin/Image-ExifTool-9.78/t/Casio_6.out +0 -115
  1230. data/bin/Image-ExifTool-9.78/t/DICOM_2.out +0 -108
  1231. data/bin/Image-ExifTool-9.78/t/DNG_2.out +0 -326
  1232. data/bin/Image-ExifTool-9.78/t/DPX_2.out +0 -35
  1233. data/bin/Image-ExifTool-9.78/t/DV_2.out +0 -24
  1234. data/bin/Image-ExifTool-9.78/t/DjVu_2.out +0 -44
  1235. data/bin/Image-ExifTool-9.78/t/EXE.t +0 -31
  1236. data/bin/Image-ExifTool-9.78/t/EXE_2.out +0 -40
  1237. data/bin/Image-ExifTool-9.78/t/EXE_3.out +0 -15
  1238. data/bin/Image-ExifTool-9.78/t/EXE_4.out +0 -14
  1239. data/bin/Image-ExifTool-9.78/t/ExifTool_16.out +0 -181
  1240. data/bin/Image-ExifTool-9.78/t/ExifTool_17.out +0 -597
  1241. data/bin/Image-ExifTool-9.78/t/ExifTool_2.out +0 -416
  1242. data/bin/Image-ExifTool-9.78/t/ExifTool_28.out +0 -10
  1243. data/bin/Image-ExifTool-9.78/t/ExifTool_3.out +0 -87
  1244. data/bin/Image-ExifTool-9.78/t/ExifTool_6.out +0 -68
  1245. data/bin/Image-ExifTool-9.78/t/FLAC_2.out +0 -25
  1246. data/bin/Image-ExifTool-9.78/t/FLAC_3.out +0 -19
  1247. data/bin/Image-ExifTool-9.78/t/FLIR_2.out +0 -110
  1248. data/bin/Image-ExifTool-9.78/t/FLIR_3.out +0 -47
  1249. data/bin/Image-ExifTool-9.78/t/FlashPix_2.out +0 -48
  1250. data/bin/Image-ExifTool-9.78/t/Flash_2.out +0 -20
  1251. data/bin/Image-ExifTool-9.78/t/Flash_3.out +0 -53
  1252. data/bin/Image-ExifTool-9.78/t/Font_2.out +0 -23
  1253. data/bin/Image-ExifTool-9.78/t/Font_3.out +0 -35
  1254. data/bin/Image-ExifTool-9.78/t/Font_4.out +0 -26
  1255. data/bin/Image-ExifTool-9.78/t/Font_5.out +0 -26
  1256. data/bin/Image-ExifTool-9.78/t/Font_6.out +0 -36
  1257. data/bin/Image-ExifTool-9.78/t/Font_7.out +0 -36
  1258. data/bin/Image-ExifTool-9.78/t/FotoStation_2.out +0 -39
  1259. data/bin/Image-ExifTool-9.78/t/FujiFilm_2.out +0 -87
  1260. data/bin/Image-ExifTool-9.78/t/FujiFilm_3.out +0 -88
  1261. data/bin/Image-ExifTool-9.78/t/FujiFilm_4.out +0 -137
  1262. data/bin/Image-ExifTool-9.78/t/GE_2.out +0 -84
  1263. data/bin/Image-ExifTool-9.78/t/GE_3.out +0 -84
  1264. data/bin/Image-ExifTool-9.78/t/GIF_2.out +0 -40
  1265. data/bin/Image-ExifTool-9.78/t/GIF_3.out +0 -41
  1266. data/bin/Image-ExifTool-9.78/t/GIF_4.out +0 -16
  1267. data/bin/Image-ExifTool-9.78/t/GIMP_2.out +0 -63
  1268. data/bin/Image-ExifTool-9.78/t/GPS_2.out +0 -94
  1269. data/bin/Image-ExifTool-9.78/t/GPS_3.out +0 -96
  1270. data/bin/Image-ExifTool-9.78/t/GeoTiff_2.out +0 -36
  1271. data/bin/Image-ExifTool-9.78/t/GeoTiff_3.out +0 -36
  1272. data/bin/Image-ExifTool-9.78/t/Geotag.t +0 -181
  1273. data/bin/Image-ExifTool-9.78/t/HTML_2.out +0 -68
  1274. data/bin/Image-ExifTool-9.78/t/IPTC_2.out +0 -58
  1275. data/bin/Image-ExifTool-9.78/t/IPTC_4.out +0 -56
  1276. data/bin/Image-ExifTool-9.78/t/ITC_2.out +0 -19
  1277. data/bin/Image-ExifTool-9.78/t/InDesign_2.out +0 -19
  1278. data/bin/Image-ExifTool-9.78/t/InDesign_3.out +0 -21
  1279. data/bin/Image-ExifTool-9.78/t/InDesign_4.out +0 -11
  1280. data/bin/Image-ExifTool-9.78/t/Jpeg2000_2.out +0 -63
  1281. data/bin/Image-ExifTool-9.78/t/Jpeg2000_3.out +0 -51
  1282. data/bin/Image-ExifTool-9.78/t/Jpeg2000_4.out +0 -15
  1283. data/bin/Image-ExifTool-9.78/t/Kodak_2.out +0 -109
  1284. data/bin/Image-ExifTool-9.78/t/Kodak_3.out +0 -119
  1285. data/bin/Image-ExifTool-9.78/t/KyoceraRaw_2.out +0 -27
  1286. data/bin/Image-ExifTool-9.78/t/LNK_2.out +0 -45
  1287. data/bin/Image-ExifTool-9.78/t/Lytro_2.out +0 -107
  1288. data/bin/Image-ExifTool-9.78/t/M2TS_2.out +0 -27
  1289. data/bin/Image-ExifTool-9.78/t/MIE_2.out +0 -67
  1290. data/bin/Image-ExifTool-9.78/t/MIE_3.out +0 -134
  1291. data/bin/Image-ExifTool-9.78/t/MIFF_2.out +0 -108
  1292. data/bin/Image-ExifTool-9.78/t/MP3_2.out +0 -45
  1293. data/bin/Image-ExifTool-9.78/t/MXF_2.out +0 -78
  1294. data/bin/Image-ExifTool-9.78/t/Matroska_2.out +0 -64
  1295. data/bin/Image-ExifTool-9.78/t/Minolta_2.out +0 -133
  1296. data/bin/Image-ExifTool-9.78/t/Minolta_3.out +0 -146
  1297. data/bin/Image-ExifTool-9.78/t/Minolta_4.out +0 -148
  1298. data/bin/Image-ExifTool-9.78/t/Nikon_2.out +0 -82
  1299. data/bin/Image-ExifTool-9.78/t/Nikon_3.out +0 -98
  1300. data/bin/Image-ExifTool-9.78/t/Nikon_4.out +0 -174
  1301. data/bin/Image-ExifTool-9.78/t/Nikon_5.out +0 -167
  1302. data/bin/Image-ExifTool-9.78/t/Nikon_7.out +0 -259
  1303. data/bin/Image-ExifTool-9.78/t/Olympus.t +0 -85
  1304. data/bin/Image-ExifTool-9.78/t/Olympus_2.out +0 -79
  1305. data/bin/Image-ExifTool-9.78/t/Olympus_3.out +0 -81
  1306. data/bin/Image-ExifTool-9.78/t/Olympus_4.out +0 -192
  1307. data/bin/Image-ExifTool-9.78/t/Olympus_5.out +0 -264
  1308. data/bin/Image-ExifTool-9.78/t/Olympus_6.out +0 -151
  1309. data/bin/Image-ExifTool-9.78/t/Olympus_7.out +0 -482
  1310. data/bin/Image-ExifTool-9.78/t/OpenEXR_2.out +0 -23
  1311. data/bin/Image-ExifTool-9.78/t/PDF_2.out +0 -117
  1312. data/bin/Image-ExifTool-9.78/t/PGF_2.out +0 -32
  1313. data/bin/Image-ExifTool-9.78/t/PICT_2.out +0 -15
  1314. data/bin/Image-ExifTool-9.78/t/PLIST_2.out +0 -20
  1315. data/bin/Image-ExifTool-9.78/t/PLIST_3.out +0 -20
  1316. data/bin/Image-ExifTool-9.78/t/PNG_2.out +0 -22
  1317. data/bin/Image-ExifTool-9.78/t/PNG_3.out +0 -121
  1318. data/bin/Image-ExifTool-9.78/t/PNG_5.out +0 -17
  1319. data/bin/Image-ExifTool-9.78/t/PPM_2.out +0 -15
  1320. data/bin/Image-ExifTool-9.78/t/PPM_3.out +0 -9
  1321. data/bin/Image-ExifTool-9.78/t/PSP_2.out +0 -32
  1322. data/bin/Image-ExifTool-9.78/t/Palm_2.out +0 -31
  1323. data/bin/Image-ExifTool-9.78/t/Panasonic_2.out +0 -99
  1324. data/bin/Image-ExifTool-9.78/t/Panasonic_3.out +0 -119
  1325. data/bin/Image-ExifTool-9.78/t/Panasonic_4.out +0 -204
  1326. data/bin/Image-ExifTool-9.78/t/Panasonic_5.out +0 -242
  1327. data/bin/Image-ExifTool-9.78/t/Pentax_2.out +0 -221
  1328. data/bin/Image-ExifTool-9.78/t/Pentax_3.out +0 -263
  1329. data/bin/Image-ExifTool-9.78/t/Pentax_4.out +0 -127
  1330. data/bin/Image-ExifTool-9.78/t/PhotoCD_2.out +0 -35
  1331. data/bin/Image-ExifTool-9.78/t/PhotoMechanic_2.out +0 -81
  1332. data/bin/Image-ExifTool-9.78/t/Photoshop_2.out +0 -96
  1333. data/bin/Image-ExifTool-9.78/t/Photoshop_3.out +0 -108
  1334. data/bin/Image-ExifTool-9.78/t/PostScript_2.out +0 -64
  1335. data/bin/Image-ExifTool-9.78/t/PostScript_3.out +0 -132
  1336. data/bin/Image-ExifTool-9.78/t/QuickTime.t +0 -54
  1337. data/bin/Image-ExifTool-9.78/t/QuickTime_2.out +0 -131
  1338. data/bin/Image-ExifTool-9.78/t/QuickTime_3.out +0 -72
  1339. data/bin/Image-ExifTool-9.78/t/RIFF_2.out +0 -24
  1340. data/bin/Image-ExifTool-9.78/t/RIFF_3.out +0 -52
  1341. data/bin/Image-ExifTool-9.78/t/RIFF_4.out +0 -16
  1342. data/bin/Image-ExifTool-9.78/t/RTF_2.out +0 -20
  1343. data/bin/Image-ExifTool-9.78/t/Radiance_2.out +0 -22
  1344. data/bin/Image-ExifTool-9.78/t/Real_2.out +0 -68
  1345. data/bin/Image-ExifTool-9.78/t/Real_3.out +0 -18
  1346. data/bin/Image-ExifTool-9.78/t/Real_4.out +0 -11
  1347. data/bin/Image-ExifTool-9.78/t/Ricoh_2.out +0 -70
  1348. data/bin/Image-ExifTool-9.78/t/Ricoh_3.out +0 -98
  1349. data/bin/Image-ExifTool-9.78/t/Ricoh_4.out +0 -112
  1350. data/bin/Image-ExifTool-9.78/t/Sanyo_2.out +0 -101
  1351. data/bin/Image-ExifTool-9.78/t/Sanyo_3.out +0 -111
  1352. data/bin/Image-ExifTool-9.78/t/Sigma_2.out +0 -91
  1353. data/bin/Image-ExifTool-9.78/t/Sigma_3.out +0 -94
  1354. data/bin/Image-ExifTool-9.78/t/Sigma_4.out +0 -63
  1355. data/bin/Image-ExifTool-9.78/t/Sigma_5.out +0 -192
  1356. data/bin/Image-ExifTool-9.78/t/Sony_2.out +0 -84
  1357. data/bin/Image-ExifTool-9.78/t/Sony_3.out +0 -85
  1358. data/bin/Image-ExifTool-9.78/t/Sony_5.out +0 -32
  1359. data/bin/Image-ExifTool-9.78/t/Torrent_2.out +0 -31
  1360. data/bin/Image-ExifTool-9.78/t/Unknown_2.out +0 -90
  1361. data/bin/Image-ExifTool-9.78/t/Unknown_3.out +0 -90
  1362. data/bin/Image-ExifTool-9.78/t/Vorbis_2.out +0 -28
  1363. data/bin/Image-ExifTool-9.78/t/Writer_10.out +0 -242
  1364. data/bin/Image-ExifTool-9.78/t/Writer_11.out +0 -37
  1365. data/bin/Image-ExifTool-9.78/t/Writer_13.out +0 -161
  1366. data/bin/Image-ExifTool-9.78/t/Writer_14.out +0 -67
  1367. data/bin/Image-ExifTool-9.78/t/Writer_15.out +0 -172
  1368. data/bin/Image-ExifTool-9.78/t/Writer_19.out +0 -34
  1369. data/bin/Image-ExifTool-9.78/t/Writer_2.out +0 -169
  1370. data/bin/Image-ExifTool-9.78/t/Writer_25.out +0 -38
  1371. data/bin/Image-ExifTool-9.78/t/Writer_26.out +0 -32
  1372. data/bin/Image-ExifTool-9.78/t/Writer_31.out +0 -97
  1373. data/bin/Image-ExifTool-9.78/t/Writer_35.out +0 -187
  1374. data/bin/Image-ExifTool-9.78/t/Writer_38.out +0 -62
  1375. data/bin/Image-ExifTool-9.78/t/Writer_4.out +0 -85
  1376. data/bin/Image-ExifTool-9.78/t/Writer_46.out +0 -79
  1377. data/bin/Image-ExifTool-9.78/t/Writer_47.out +0 -56
  1378. data/bin/Image-ExifTool-9.78/t/Writer_48.out +0 -29
  1379. data/bin/Image-ExifTool-9.78/t/Writer_51.out +0 -403
  1380. data/bin/Image-ExifTool-9.78/t/Writer_52.out +0 -22
  1381. data/bin/Image-ExifTool-9.78/t/Writer_53.out +0 -33
  1382. data/bin/Image-ExifTool-9.78/t/Writer_6.out +0 -183
  1383. data/bin/Image-ExifTool-9.78/t/Writer_7.out +0 -150
  1384. data/bin/Image-ExifTool-9.78/t/Writer_9.out +0 -238
  1385. data/bin/Image-ExifTool-9.78/t/XMP.t +0 -525
  1386. data/bin/Image-ExifTool-9.78/t/XMP_10.out +0 -36
  1387. data/bin/Image-ExifTool-9.78/t/XMP_2.out +0 -138
  1388. data/bin/Image-ExifTool-9.78/t/XMP_24.out +0 -31
  1389. data/bin/Image-ExifTool-9.78/t/XMP_25.out +0 -28
  1390. data/bin/Image-ExifTool-9.78/t/XMP_26.out +0 -52
  1391. data/bin/Image-ExifTool-9.78/t/XMP_27.out +0 -93
  1392. data/bin/Image-ExifTool-9.78/t/XMP_28.out +0 -44
  1393. data/bin/Image-ExifTool-9.78/t/XMP_29.out +0 -24
  1394. data/bin/Image-ExifTool-9.78/t/XMP_3.out +0 -136
  1395. data/bin/Image-ExifTool-9.78/t/XMP_31.out +0 -19
  1396. data/bin/Image-ExifTool-9.78/t/XMP_36.out +0 -18
  1397. data/bin/Image-ExifTool-9.78/t/XMP_37.out +0 -35
  1398. data/bin/Image-ExifTool-9.78/t/XMP_39.out +0 -44
  1399. data/bin/Image-ExifTool-9.78/t/XMP_41.out +0 -180
  1400. data/bin/Image-ExifTool-9.78/t/XMP_5.out +0 -29
  1401. data/bin/Image-ExifTool-9.78/t/XMP_6.out +0 -87
  1402. data/bin/Image-ExifTool-9.78/t/XMP_8.out +0 -17
  1403. data/bin/Image-ExifTool-9.78/t/ZIP_2.out +0 -18
  1404. data/bin/Image-ExifTool-9.78/t/ZIP_3.out +0 -17
  1405. data/bin/Image-ExifTool-9.78/t/ZIP_4.out +0 -213
  1406. data/bin/Image-ExifTool-9.78/t/ZIP_5.out +0 -134
  1407. data/bin/Image-ExifTool-9.78/t/ZIP_6.out +0 -49
  1408. data/bin/Image-ExifTool-9.78/t/ZIP_7.out +0 -28
  1409. data/bin/Image-ExifTool-9.78/t/images/XMP5.xmp +0 -158
@@ -0,0 +1,2564 @@
1
+ #------------------------------------------------------------------------------
2
+ # File: MIE.pm
3
+ #
4
+ # Description: Read/write MIE meta information
5
+ #
6
+ # Revisions: 11/18/2005 - P. Harvey Created
7
+ #------------------------------------------------------------------------------
8
+
9
+ package Image::ExifTool::MIE;
10
+
11
+ use strict;
12
+ use vars qw($VERSION %tableDefaults);
13
+ use Image::ExifTool qw(:DataAccess :Utils);
14
+ use Image::ExifTool::Exif;
15
+ use Image::ExifTool::GPS;
16
+
17
+ $VERSION = '1.44';
18
+
19
+ sub ProcessMIE($$);
20
+ sub ProcessMIEGroup($$$);
21
+ sub WriteMIEGroup($$$);
22
+ sub CheckMIE($$$);
23
+ sub GetLangInfo($$);
24
+
25
+ # local variables
26
+ my $hasZlib; # 1=Zlib available, 0=no Zlib
27
+ my %mieCode; # reverse lookup for MIE format names
28
+ my $doneMieMap; # flag indicating we added user-defined groups to %mieMap
29
+
30
+ # MIE format codes
31
+ my %mieFormat = (
32
+ 0x00 => 'undef',
33
+ 0x10 => 'MIE',
34
+ 0x18 => 'MIE',
35
+ 0x20 => 'string', # ASCII (ISO 8859-1)
36
+ 0x28 => 'utf8',
37
+ 0x29 => 'utf16',
38
+ 0x2a => 'utf32',
39
+ 0x30 => 'string_list',
40
+ 0x38 => 'utf8_list',
41
+ 0x39 => 'utf16_list',
42
+ 0x3a => 'utf32_list',
43
+ 0x40 => 'int8u',
44
+ 0x41 => 'int16u',
45
+ 0x42 => 'int32u',
46
+ 0x43 => 'int64u',
47
+ 0x48 => 'int8s',
48
+ 0x49 => 'int16s',
49
+ 0x4a => 'int32s',
50
+ 0x4b => 'int64s',
51
+ 0x52 => 'rational32u',
52
+ 0x53 => 'rational64u',
53
+ 0x5a => 'rational32s',
54
+ 0x5b => 'rational64s',
55
+ 0x61 => 'fixed16u',
56
+ 0x62 => 'fixed32u',
57
+ 0x69 => 'fixed16s',
58
+ 0x6a => 'fixed32s',
59
+ 0x72 => 'float',
60
+ 0x73 => 'double',
61
+ 0x80 => 'free',
62
+ );
63
+
64
+ # map of MIE directory locations
65
+ my %mieMap = (
66
+ 'MIE-Meta' => 'MIE',
67
+ 'MIE-Audio' => 'MIE-Meta',
68
+ 'MIE-Camera' => 'MIE-Meta',
69
+ 'MIE-Doc' => 'MIE-Meta',
70
+ 'MIE-Geo' => 'MIE-Meta',
71
+ 'MIE-Image' => 'MIE-Meta',
72
+ 'MIE-MakerNotes' => 'MIE-Meta',
73
+ 'MIE-Preview' => 'MIE-Meta',
74
+ 'MIE-Thumbnail' => 'MIE-Meta',
75
+ 'MIE-Video' => 'MIE-Meta',
76
+ 'MIE-Flash' => 'MIE-Camera',
77
+ 'MIE-Lens' => 'MIE-Camera',
78
+ 'MIE-Orient' => 'MIE-Camera',
79
+ 'MIE-Extender' => 'MIE-Lens',
80
+ 'MIE-GPS' => 'MIE-Geo',
81
+ 'MIE-UTM' => 'MIE-Geo',
82
+ 'MIE-Canon' => 'MIE-MakerNotes',
83
+ EXIF => 'MIE-Meta',
84
+ XMP => 'MIE-Meta',
85
+ IPTC => 'MIE-Meta',
86
+ ICC_Profile => 'MIE-Meta',
87
+ ID3 => 'MIE-Meta',
88
+ CanonVRD => 'MIE-Canon',
89
+ IFD0 => 'EXIF',
90
+ IFD1 => 'IFD0',
91
+ ExifIFD => 'IFD0',
92
+ GPS => 'IFD0',
93
+ SubIFD => 'IFD0',
94
+ GlobParamIFD => 'IFD0',
95
+ PrintIM => 'IFD0',
96
+ InteropIFD => 'ExifIFD',
97
+ MakerNotes => 'ExifIFD',
98
+ );
99
+
100
+ # convenience variables for common tagInfo entries
101
+ my %binaryConv = (
102
+ Writable => 'undef',
103
+ Binary => 1,
104
+ );
105
+ my %dateInfo = (
106
+ Shift => 'Time',
107
+ PrintConv => '$self->ConvertDateTime($val)',
108
+ PrintConvInv => '$self->InverseDateTime($val)',
109
+ );
110
+ my %noYes = ( 0 => 'No', 1 => 'Yes' );
111
+ my %offOn = ( 0 => 'Off', 1 => 'On' );
112
+
113
+ # default entries for MIE tag tables
114
+ %tableDefaults = (
115
+ PROCESS_PROC => \&ProcessMIE,
116
+ WRITE_PROC => \&ProcessMIE,
117
+ CHECK_PROC => \&CheckMIE,
118
+ LANG_INFO => \&GetLangInfo,
119
+ WRITABLE => 'string',
120
+ PREFERRED => 1,
121
+ );
122
+
123
+ # MIE info
124
+ %Image::ExifTool::MIE::Main = (
125
+ %tableDefaults,
126
+ GROUPS => { 1 => 'MIE-Main' },
127
+ WRITE_GROUP => 'MIE-Main',
128
+ NOTES => q{
129
+ MIE is a flexible format which may be used as a stand-alone meta information
130
+ format, for encapsulation of other files and information, or as a trailer
131
+ appended to other file formats. The tables below represent currently
132
+ defined MIE tags, however ExifTool will also extract any other information
133
+ present in a MIE file.
134
+
135
+ When writing MIE information, some special features are supported:
136
+
137
+ 1) String values may be written as ASCII (ISO 8859-1) or UTF-8. ExifTool
138
+ automatically detects the presence of wide characters and treats the string
139
+ appropriately. Internally, UTF-8 text may be converted to UTF-16 or UTF-32
140
+ and stored in this format in the file if it is more compact.
141
+
142
+ 2) All MIE string-value tags support localized text. Localized values are
143
+ written by adding a language/country code to the tag name in the form
144
+ C<TAG-xx_YY>, where C<TAG> is the tag name, C<xx> is a 2-character lower
145
+ case ISO 639-1 language code, and C<YY> is a 2-character upper case ISO
146
+ 3166-1 alpha 2 country code (eg. C<Title-en_US>). But as usual, the user
147
+ interface is case-insensitive, and ExifTool will write the correct case to
148
+ the file.
149
+
150
+ 3) Some numerical MIE tags allow units of measurement to be specified. For
151
+ these tags, units may be added in brackets immediately following the value
152
+ (eg. C<55(mi/h)>). If no units are specified, the default units are
153
+ written.
154
+
155
+ See L<http://owl.phy.queensu.ca/~phil/exiftool/MIE1.1-20070121.pdf> for the
156
+ official MIE specification.
157
+ },
158
+ '0Type' => {
159
+ Name => 'SubfileType',
160
+ Notes => q{
161
+ the capitalized common extension for this type of file. If the extension
162
+ has a dot-3 abbreviation, then the longer version is used here. For
163
+ instance, JPEG and TIFF are used, not JPG and TIF
164
+ },
165
+ },
166
+ '0Vers' => {
167
+ Name => 'MIEVersion',
168
+ Notes => 'version 1.1 is assumed if not specified',
169
+ },
170
+ '1Directory' => {
171
+ Name => 'SubfileDirectory',
172
+ Notes => 'original directory for the file',
173
+ },
174
+ '1Name' => {
175
+ Name => 'SubfileName',
176
+ Notes => 'the file name, including extension if it exists',
177
+ },
178
+ '2MIME' => { Name => 'SubfileMIMEType' },
179
+ Meta => {
180
+ SubDirectory => {
181
+ TagTable => 'Image::ExifTool::MIE::Meta',
182
+ DirName => 'MIE-Meta',
183
+ },
184
+ },
185
+ data => {
186
+ Name => 'SubfileData',
187
+ Notes => 'the subfile data',
188
+ %binaryConv,
189
+ },
190
+ rsrc => {
191
+ Name => 'SubfileResource',
192
+ Notes => 'subfile resource fork if it exists',
193
+ %binaryConv,
194
+ },
195
+ zmd5 => {
196
+ Name => 'MD5Digest',
197
+ Notes => q{
198
+ 16-byte MD5 digest written in binary form or as a 32-character hex-encoded
199
+ ASCII string. Value is an MD5 digest of the entire 0MIE group as it would be
200
+ with the digest value itself set to all null bytes
201
+ },
202
+ },
203
+ zmie => {
204
+ Name => 'TrailerSignature',
205
+ Writable => 'undef',
206
+ Notes => q{
207
+ used as the last element in the main "0MIE" group to identify a MIE trailer
208
+ when appended to another type of file. ExifTool will create this tag if set
209
+ to any value, but always with an empty data block
210
+ },
211
+ ValueConvInv => '""', # data block must be empty
212
+ },
213
+ );
214
+
215
+ # MIE meta information group
216
+ %Image::ExifTool::MIE::Meta = (
217
+ %tableDefaults,
218
+ GROUPS => { 1 => 'MIE-Meta', 2 => 'Image' },
219
+ WRITE_GROUP => 'MIE-Meta',
220
+ Audio => {
221
+ SubDirectory => {
222
+ TagTable => 'Image::ExifTool::MIE::Audio',
223
+ DirName => 'MIE-Audio',
224
+ },
225
+ },
226
+ Camera => {
227
+ SubDirectory => {
228
+ TagTable => 'Image::ExifTool::MIE::Camera',
229
+ DirName => 'MIE-Camera',
230
+ },
231
+ },
232
+ Document => {
233
+ SubDirectory => {
234
+ TagTable => 'Image::ExifTool::MIE::Doc',
235
+ DirName => 'MIE-Doc',
236
+ },
237
+ },
238
+ EXIF => {
239
+ SubDirectory => {
240
+ TagTable => 'Image::ExifTool::Exif::Main',
241
+ ProcessProc => \&Image::ExifTool::ProcessTIFF,
242
+ WriteProc => \&Image::ExifTool::WriteTIFF,
243
+ },
244
+ },
245
+ Geo => {
246
+ SubDirectory => {
247
+ TagTable => 'Image::ExifTool::MIE::Geo',
248
+ DirName => 'MIE-Geo',
249
+ },
250
+ },
251
+ ICCProfile => {
252
+ Name => 'ICC_Profile',
253
+ SubDirectory => { TagTable => 'Image::ExifTool::ICC_Profile::Main' },
254
+ },
255
+ ID3 => { SubDirectory => { TagTable => 'Image::ExifTool::ID3::Main' } },
256
+ IPTC => { SubDirectory => { TagTable => 'Image::ExifTool::IPTC::Main' } },
257
+ Image => {
258
+ SubDirectory => {
259
+ TagTable => 'Image::ExifTool::MIE::Image',
260
+ DirName => 'MIE-Image',
261
+ },
262
+ },
263
+ MakerNotes => {
264
+ SubDirectory => {
265
+ TagTable => 'Image::ExifTool::MIE::MakerNotes',
266
+ DirName => 'MIE-MakerNotes',
267
+ },
268
+ },
269
+ Preview => {
270
+ SubDirectory => {
271
+ TagTable => 'Image::ExifTool::MIE::Preview',
272
+ DirName => 'MIE-Preview',
273
+ },
274
+ },
275
+ Thumbnail => {
276
+ SubDirectory => {
277
+ TagTable => 'Image::ExifTool::MIE::Thumbnail',
278
+ DirName => 'MIE-Thumbnail',
279
+ },
280
+ },
281
+ Video => {
282
+ SubDirectory => {
283
+ TagTable => 'Image::ExifTool::MIE::Video',
284
+ DirName => 'MIE-Video',
285
+ },
286
+ },
287
+ XMP => { SubDirectory => { TagTable => 'Image::ExifTool::XMP::Main' } },
288
+ );
289
+
290
+ # MIE document information
291
+ %Image::ExifTool::MIE::Doc = (
292
+ %tableDefaults,
293
+ GROUPS => { 1 => 'MIE-Doc', 2 => 'Document' },
294
+ WRITE_GROUP => 'MIE-Doc',
295
+ NOTES => 'Information describing the main document, image or file.',
296
+ Author => { Groups => { 2 => 'Author' } },
297
+ Comment => { },
298
+ Contributors=> { Groups => { 2 => 'Author' }, List => 1 },
299
+ Copyright => { Groups => { 2 => 'Author' } },
300
+ CreateDate => { Groups => { 2 => 'Time' }, %dateInfo },
301
+ EMail => { Name => 'Email', Groups => { 2 => 'Author' } },
302
+ Keywords => { List => 1 },
303
+ ModifyDate => { Groups => { 2 => 'Time' }, %dateInfo },
304
+ OriginalDate=> {
305
+ Name => 'DateTimeOriginal',
306
+ Description => 'Date/Time Original',
307
+ Groups => { 2 => 'Time' },
308
+ %dateInfo,
309
+ },
310
+ Phone => { Name => 'PhoneNumber', Groups => { 2 => 'Author' } },
311
+ References => { List => 1 },
312
+ Software => { },
313
+ Title => { },
314
+ URL => { },
315
+ );
316
+
317
+ # MIE geographic information
318
+ %Image::ExifTool::MIE::Geo = (
319
+ %tableDefaults,
320
+ GROUPS => { 1 => 'MIE-Geo', 2 => 'Location' },
321
+ WRITE_GROUP => 'MIE-Geo',
322
+ NOTES => 'Information related to geographic location.',
323
+ Address => { },
324
+ City => { },
325
+ Country => { },
326
+ GPS => {
327
+ SubDirectory => {
328
+ TagTable => 'Image::ExifTool::MIE::GPS',
329
+ DirName => 'MIE-GPS',
330
+ },
331
+ },
332
+ PostalCode => { },
333
+ State => { Notes => 'state or province' },
334
+ UTM => {
335
+ SubDirectory => {
336
+ TagTable => 'Image::ExifTool::MIE::UTM',
337
+ DirName => 'MIE-UTM',
338
+ },
339
+ },
340
+ );
341
+
342
+ # MIE GPS information
343
+ %Image::ExifTool::MIE::GPS = (
344
+ %tableDefaults,
345
+ GROUPS => { 1 => 'MIE-GPS', 2 => 'Location' },
346
+ WRITE_GROUP => 'MIE-GPS',
347
+ Altitude => {
348
+ Name => 'GPSAltitude',
349
+ Writable => 'rational64s',
350
+ Units => [ qw(m ft) ],
351
+ Notes => q{'m' above sea level unless 'ft' specified},
352
+ },
353
+ Bearing => {
354
+ Name => 'GPSDestBearing',
355
+ Writable => 'rational64s',
356
+ Units => [ qw(deg deg{mag}) ],
357
+ Notes => q{'deg' CW from true north unless 'deg{mag}' specified},
358
+ },
359
+ Datum => { Name => 'GPSMapDatum', Notes => 'WGS-84 assumed if not specified' },
360
+ Differential => {
361
+ Name => 'GPSDifferential',
362
+ Writable => 'int8u',
363
+ PrintConv => {
364
+ 0 => 'No Correction',
365
+ 1 => 'Differential Corrected',
366
+ },
367
+ },
368
+ Distance => {
369
+ Name => 'GPSDestDistance',
370
+ Writable => 'rational64s',
371
+ Units => [ qw(km mi nmi) ],
372
+ Notes => q{'km' unless 'mi' or 'nmi' specified},
373
+ },
374
+ Heading => {
375
+ Name => 'GPSTrack',
376
+ Writable => 'rational64s',
377
+ Units => [ qw(deg deg{mag}) ],
378
+ Notes => q{'deg' CW from true north unless 'deg{mag}' specified},
379
+ },
380
+ Latitude => {
381
+ Name => 'GPSLatitude',
382
+ Writable => 'rational64s',
383
+ Count => -1,
384
+ Notes => q{
385
+ 1 to 3 numbers: degrees, minutes then seconds. South latitudes are stored
386
+ as all negative numbers, but may be entered as positive numbers with a
387
+ trailing 'S' for convenience. For example, these are all equivalent: "-40
388
+ -30", "-40.5", "40 30 0.00 S"
389
+ },
390
+ ValueConv => 'Image::ExifTool::GPS::ToDegrees($val, 1)',
391
+ ValueConvInv => 'Image::ExifTool::GPS::ToDMS($self, $val, 0)',
392
+ PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "N")',
393
+ PrintConvInv => 'Image::ExifTool::GPS::ToDegrees($val, 1)',
394
+ },
395
+ Longitude => {
396
+ Name => 'GPSLongitude',
397
+ Writable => 'rational64s',
398
+ Count => -1,
399
+ Notes => q{
400
+ 1 to 3 numbers: degrees, minutes then seconds. West longitudes are
401
+ negative, but may be entered as positive numbers with a trailing 'W'
402
+ },
403
+ ValueConv => 'Image::ExifTool::GPS::ToDegrees($val, 1)',
404
+ ValueConvInv => 'Image::ExifTool::GPS::ToDMS($self, $val, 0)',
405
+ PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "E")',
406
+ PrintConvInv => 'Image::ExifTool::GPS::ToDegrees($val, 1)',
407
+ },
408
+ MeasureMode => {
409
+ Name => 'GPSMeasureMode',
410
+ Writable => 'int8u',
411
+ PrintConv => { 2 => '2-D', 3 => '3-D' },
412
+ },
413
+ Satellites => 'GPSSatellites',
414
+ Speed => {
415
+ Name => 'GPSSpeed',
416
+ Writable => 'rational64s',
417
+ Units => [ qw(km/h mi/h m/s kn) ],
418
+ Notes => q{'km/h' unless 'mi/h', 'm/s' or 'kn' specified},
419
+ },
420
+ DateTime => { Name => 'GPSDateTime', Groups => { 2 => 'Time' }, %dateInfo },
421
+ );
422
+
423
+ # MIE UTM information
424
+ %Image::ExifTool::MIE::UTM = (
425
+ %tableDefaults,
426
+ GROUPS => { 1 => 'MIE-UTM', 2 => 'Location' },
427
+ WRITE_GROUP => 'MIE-UTM',
428
+ Datum => { Name => 'UTMMapDatum', Notes => 'WGS-84 assumed if not specified' },
429
+ Easting => { Name => 'UTMEasting' },
430
+ Northing => { Name => 'UTMNorthing' },
431
+ Zone => { Name => 'UTMZone', Writable => 'int8s' },
432
+ );
433
+
434
+ # MIE image information
435
+ %Image::ExifTool::MIE::Image = (
436
+ %tableDefaults,
437
+ GROUPS => { 1 => 'MIE-Image', 2 => 'Image' },
438
+ WRITE_GROUP => 'MIE-Image',
439
+ '0Type' => { Name => 'FullSizeImageType', Notes => 'JPEG if not specified' },
440
+ '1Name' => { Name => 'FullSizeImageName' },
441
+ BitDepth => { Name => 'BitDepth', Writable => 'int16u' },
442
+ ColorSpace => { Notes => 'standard ColorSpace values are "sRGB" and "Adobe RGB"' },
443
+ Components => {
444
+ Name => 'ComponentsConfiguration',
445
+ Notes => 'string composed of R, G, B, Y, Cb and Cr',
446
+ },
447
+ Compression => { Name => 'CompressionRatio', Writable => 'rational32u' },
448
+ ImageSize => {
449
+ Writable => 'int16u',
450
+ Count => -1,
451
+ Notes => '2 or 3 values, for number of XY or XYZ pixels',
452
+ PrintConv => '$val=~tr/ /x/;$val',
453
+ PrintConvInv => '$val=~tr/x/ /;$val',
454
+ },
455
+ Resolution => {
456
+ Writable => 'rational64u',
457
+ Units => [ qw(/in /cm /deg /arcmin /arcsec), '' ],
458
+ Count => -1,
459
+ Notes => q{
460
+ 1 to 3 values. A single value for equal resolution in all directions, or
461
+ separate X, Y and Z values if necessary. Units are '/in' unless '/cm',
462
+ '/deg', '/arcmin', '/arcsec' or '' specified
463
+ },
464
+ PrintConv => '$val=~tr/ /x/;$val',
465
+ PrintConvInv => '$val=~tr/x/ /;$val',
466
+ },
467
+ data => {
468
+ Name => 'FullSizeImage',
469
+ Groups => { 2 => 'Preview' },
470
+ %binaryConv,
471
+ RawConv => '$self->ValidateImage(\$val,$tag)',
472
+ },
473
+ );
474
+
475
+ # MIE preview image
476
+ %Image::ExifTool::MIE::Preview = (
477
+ %tableDefaults,
478
+ GROUPS => { 1 => 'MIE-Preview', 2 => 'Image' },
479
+ WRITE_GROUP => 'MIE-Preview',
480
+ '0Type' => { Name => 'PreviewImageType', Notes => 'JPEG if not specified' },
481
+ '1Name' => { Name => 'PreviewImageName' },
482
+ ImageSize => {
483
+ Name => 'PreviewImageSize',
484
+ Writable => 'int16u',
485
+ Count => -1,
486
+ Notes => '2 or 3 values, for number of XY or XYZ pixels',
487
+ PrintConv => '$val=~tr/ /x/;$val',
488
+ PrintConvInv => '$val=~tr/x/ /;$val',
489
+ },
490
+ data => {
491
+ Name => 'PreviewImage',
492
+ Groups => { 2 => 'Preview' },
493
+ %binaryConv,
494
+ RawConv => '$self->ValidateImage(\$val,$tag)',
495
+ },
496
+ );
497
+
498
+ # MIE thumbnail image
499
+ %Image::ExifTool::MIE::Thumbnail = (
500
+ %tableDefaults,
501
+ GROUPS => { 1 => 'MIE-Thumbnail', 2 => 'Image' },
502
+ WRITE_GROUP => 'MIE-Thumbnail',
503
+ '0Type' => { Name => 'ThumbnailImageType', Notes => 'JPEG if not specified' },
504
+ '1Name' => { Name => 'ThumbnailImageName' },
505
+ ImageSize => {
506
+ Name => 'ThumbnailImageSize',
507
+ Writable => 'int16u',
508
+ Count => -1,
509
+ Notes => '2 or 3 values, for number of XY or XYZ pixels',
510
+ PrintConv => '$val=~tr/ /x/;$val',
511
+ PrintConvInv => '$val=~tr/x/ /;$val',
512
+ },
513
+ data => {
514
+ Name => 'ThumbnailImage',
515
+ Groups => { 2 => 'Preview' },
516
+ %binaryConv,
517
+ RawConv => '$self->ValidateImage(\$val,$tag)',
518
+ },
519
+ );
520
+
521
+ # MIE audio information
522
+ %Image::ExifTool::MIE::Audio = (
523
+ %tableDefaults,
524
+ GROUPS => { 1 => 'MIE-Audio', 2 => 'Audio' },
525
+ WRITE_GROUP => 'MIE-Audio',
526
+ NOTES => q{
527
+ For the Audio group (and any other group containing a 'data' element), tags
528
+ refer to the contained data if present, otherwise they refer to the main
529
+ SubfileData. The C<0Type> and C<1Name> elements should exist only if C<data>
530
+ is present.
531
+ },
532
+ '0Type' => { Name => 'RelatedAudioFileType', Notes => 'MP3 if not specified' },
533
+ '1Name' => { Name => 'RelatedAudioFileName' },
534
+ SampleBits => { Writable => 'int16u' },
535
+ Channels => { Writable => 'int8u' },
536
+ Compression => { Name => 'AudioCompression' },
537
+ Duration => { Writable => 'rational64u', PrintConv => 'ConvertDuration($val)' },
538
+ SampleRate => { Writable => 'int32u' },
539
+ data => { Name => 'RelatedAudioFile', %binaryConv },
540
+ );
541
+
542
+ # MIE video information
543
+ %Image::ExifTool::MIE::Video = (
544
+ %tableDefaults,
545
+ GROUPS => { 1 => 'MIE-Video', 2 => 'Video' },
546
+ WRITE_GROUP => 'MIE-Video',
547
+ '0Type' => { Name => 'RelatedVideoFileType', Notes => 'MOV if not specified' },
548
+ '1Name' => { Name => 'RelatedVideoFileName' },
549
+ Codec => { },
550
+ Duration => { Writable => 'rational64u', PrintConv => 'ConvertDuration($val)' },
551
+ data => { Name => 'RelatedVideoFile', %binaryConv },
552
+ );
553
+
554
+ # MIE camera information
555
+ %Image::ExifTool::MIE::Camera = (
556
+ %tableDefaults,
557
+ GROUPS => { 1 => 'MIE-Camera', 2 => 'Camera' },
558
+ WRITE_GROUP => 'MIE-Camera',
559
+ Brightness => { Writable => 'int8s' },
560
+ ColorTemperature=> { Writable => 'int32u' },
561
+ ColorBalance => {
562
+ Writable => 'rational64u',
563
+ Count => 3,
564
+ Notes => 'RGB scaling factors',
565
+ },
566
+ Contrast => { Writable => 'int8s' },
567
+ DigitalZoom => { Writable => 'rational64u' },
568
+ ExposureComp => { Name => 'ExposureCompensation', Writable => 'rational64s' },
569
+ ExposureMode => { },
570
+ ExposureTime => {
571
+ Writable => 'rational64u',
572
+ PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
573
+ PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
574
+ },
575
+ Flash => {
576
+ SubDirectory => {
577
+ TagTable => 'Image::ExifTool::MIE::Flash',
578
+ DirName => 'MIE-Flash',
579
+ },
580
+ },
581
+ FirmwareVersion => { },
582
+ FocusMode => { },
583
+ ISO => { Writable => 'int16u' },
584
+ ISOSetting => {
585
+ Writable => 'int16u',
586
+ Notes => '0 = Auto, otherwise manual ISO speed setting',
587
+ },
588
+ ImageNumber => { Writable => 'int32u' },
589
+ ImageQuality => { Notes => 'Economy, Normal, Fine, Super Fine or Raw' },
590
+ ImageStabilization => { Writable => 'int8u', %offOn },
591
+ Lens => {
592
+ SubDirectory => {
593
+ TagTable => 'Image::ExifTool::MIE::Lens',
594
+ DirName => 'MIE-Lens',
595
+ },
596
+ },
597
+ Make => { },
598
+ MeasuredEV => { Writable => 'rational64s' },
599
+ Model => { },
600
+ OwnerName => { },
601
+ Orientation => {
602
+ SubDirectory => {
603
+ TagTable => 'Image::ExifTool::MIE::Orient',
604
+ DirName => 'MIE-Orient',
605
+ },
606
+ },
607
+ Saturation => { Writable => 'int8s' },
608
+ SensorSize => {
609
+ Writable => 'rational64u',
610
+ Count => 2,
611
+ Notes => 'width and height of active sensor area in mm',
612
+ },
613
+ SerialNumber => { },
614
+ Sharpness => { Writable => 'int8s' },
615
+ ShootingMode => { },
616
+ );
617
+
618
+ # Camera orientation information
619
+ %Image::ExifTool::MIE::Orient = (
620
+ %tableDefaults,
621
+ GROUPS => { 1 => 'MIE-Orient', 2 => 'Camera' },
622
+ WRITE_GROUP => 'MIE-Orient',
623
+ NOTES => 'These tags describe the camera orientation.',
624
+ Azimuth => {
625
+ Writable => 'rational64s',
626
+ Units => [ qw(deg deg{mag}) ],
627
+ Notes => q{'deg' CW from true north unless 'deg{mag}' specified},
628
+ },
629
+ Declination => { Writable => 'rational64s' },
630
+ Elevation => { Writable => 'rational64s' },
631
+ RightAscension => { Writable => 'rational64s' },
632
+ Rotation => {
633
+ Writable => 'rational64s',
634
+ Notes => 'CW rotation angle of camera about lens axis',
635
+ },
636
+ );
637
+
638
+ # MIE camera lens information
639
+ %Image::ExifTool::MIE::Lens = (
640
+ %tableDefaults,
641
+ GROUPS => { 1 => 'MIE-Lens', 2 => 'Camera' },
642
+ WRITE_GROUP => 'MIE-Lens',
643
+ NOTES => q{
644
+ All recorded lens parameters (focal length, aperture, etc) include the
645
+ effects of the extender if present.
646
+ },
647
+ Extender => {
648
+ SubDirectory => {
649
+ TagTable => 'Image::ExifTool::MIE::Extender',
650
+ DirName => 'MIE-Extender',
651
+ },
652
+ },
653
+ FNumber => { Writable => 'rational64u' },
654
+ FocalLength => { Writable => 'rational64u', Notes => 'all focal lengths in mm' },
655
+ FocusDistance => {
656
+ Writable => 'rational64u',
657
+ Units => [ qw(m ft) ],
658
+ Notes => q{'m' unless 'ft' specified},
659
+ },
660
+ Make => { Name => 'LensMake' },
661
+ MaxAperture => { Writable => 'rational64u' },
662
+ MaxApertureAtMaxFocal => { Writable => 'rational64u' },
663
+ MaxFocalLength => { Writable => 'rational64u' },
664
+ MinAperture => { Writable => 'rational64u' },
665
+ MinFocalLength => { Writable => 'rational64u' },
666
+ Model => { Name => 'LensModel' },
667
+ OpticalZoom => { Writable => 'rational64u' },
668
+ SerialNumber => { Name => 'LensSerialNumber' },
669
+ );
670
+
671
+ # MIE lens extender information
672
+ %Image::ExifTool::MIE::Extender = (
673
+ %tableDefaults,
674
+ GROUPS => { 1 => 'MIE-Extender', 2 => 'Camera' },
675
+ WRITE_GROUP => 'MIE-Extender',
676
+ Magnification => { Name => 'ExtenderMagnification', Writable => 'rational64s' },
677
+ Make => { Name => 'ExtenderMake' },
678
+ Model => { Name => 'ExtenderModel' },
679
+ SerialNumber => { Name => 'ExtenderSerialNumber' },
680
+ );
681
+
682
+ # MIE camera flash information
683
+ %Image::ExifTool::MIE::Flash = (
684
+ %tableDefaults,
685
+ GROUPS => { 1 => 'MIE-Flash', 2 => 'Camera' },
686
+ WRITE_GROUP => 'MIE-Flash',
687
+ ExposureComp => { Name => 'FlashExposureComp', Writable => 'rational64s' },
688
+ Fired => { Name => 'FlashFired', Writable => 'int8u', PrintConv => \%noYes },
689
+ GuideNumber => { Name => 'FlashGuideNumber' },
690
+ Make => { Name => 'FlashMake' },
691
+ Mode => { Name => 'FlashMode' },
692
+ Model => { Name => 'FlashModel' },
693
+ SerialNumber => { Name => 'FlashSerialNumber' },
694
+ Type => { Name => 'FlashType', Notes => '"Internal" or "External"' },
695
+ );
696
+
697
+ # MIE maker notes information
698
+ %Image::ExifTool::MIE::MakerNotes = (
699
+ %tableDefaults,
700
+ GROUPS => { 1 => 'MIE-MakerNotes' },
701
+ WRITE_GROUP => 'MIE-MakerNotes',
702
+ NOTES => q{
703
+ MIE maker notes are contained within separate groups for each manufacturer
704
+ to avoid name conflicts.
705
+ },
706
+ Canon => {
707
+ SubDirectory => {
708
+ TagTable => 'Image::ExifTool::MIE::Canon',
709
+ DirName => 'MIE-Canon',
710
+ },
711
+ },
712
+ Casio => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
713
+ FujiFilm => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
714
+ Kodak => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
715
+ KonicaMinolta=>{ SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
716
+ Nikon => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
717
+ Olympus => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
718
+ Panasonic => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
719
+ Pentax => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
720
+ Ricoh => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
721
+ Sigma => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
722
+ Sony => { SubDirectory => { TagTable => 'Image::ExifTool::MIE::Unknown' } },
723
+ );
724
+
725
+ # MIE Canon-specific information
726
+ %Image::ExifTool::MIE::Canon = (
727
+ %tableDefaults,
728
+ GROUPS => { 1 => 'MIE-Canon' },
729
+ WRITE_GROUP => 'MIE-Canon',
730
+ VRD => {
731
+ Name => 'CanonVRD',
732
+ SubDirectory => { TagTable => 'Image::ExifTool::CanonVRD::Main' },
733
+ },
734
+ );
735
+
736
+ %Image::ExifTool::MIE::Unknown = (
737
+ PROCESS_PROC => \&ProcessMIE,
738
+ GROUPS => { 1 => 'MIE-Unknown' },
739
+ );
740
+
741
+ #------------------------------------------------------------------------------
742
+ # Add user-defined MIE groups to %mieMap
743
+ # Inputs: none; Returns: nothing, but sets $doneMieMap flag
744
+ sub UpdateMieMap()
745
+ {
746
+ $doneMieMap = 1; # set flag so we only do this once
747
+ return unless %Image::ExifTool::UserDefined;
748
+ my ($tableName, @tables, %doneTable, $tagID);
749
+ # get list of top-level MIE tables with user-defined tags
750
+ foreach $tableName (keys %Image::ExifTool::UserDefined) {
751
+ next unless $tableName =~ /^Image::ExifTool::MIE::/;
752
+ my $userTable = $Image::ExifTool::UserDefined{$tableName};
753
+ my $tagTablePtr = GetTagTable($tableName) or next;
754
+ # copy the WRITE_GROUP from the actual table
755
+ $$userTable{WRITE_GROUP} = $$tagTablePtr{WRITE_GROUP};
756
+ # add to list of tables to process
757
+ $doneTable{$tableName} = 1;
758
+ push @tables, [$tableName, $userTable];
759
+ }
760
+ # recursively add all user-defined groups to MIE map
761
+ while (@tables) {
762
+ my ($tableName, $tagTablePtr) = @{shift @tables};
763
+ my $parent = $$tagTablePtr{WRITE_GROUP};
764
+ $parent or warn("No WRITE_GROUP for $tableName\n"), next;
765
+ $mieMap{$parent} or warn("$parent is not in MIE map\n"), next;
766
+ foreach $tagID (TagTableKeys($tagTablePtr)) {
767
+ my $tagInfo = $$tagTablePtr{$tagID};
768
+ next unless ref $tagInfo eq 'HASH' and $$tagInfo{SubDirectory};
769
+ my $subTableName = $tagInfo->{SubDirectory}->{TagTable};
770
+ my $subTablePtr = GetTagTable($subTableName) or next;
771
+ # only care about MIE tables
772
+ next unless $$subTablePtr{PROCESS_PROC} and
773
+ $$subTablePtr{PROCESS_PROC} eq \&ProcessMIE;
774
+ my $group = $$subTablePtr{WRITE_GROUP};
775
+ $group or warn("No WRITE_GROUP for $subTableName\n"), next;
776
+ if ($mieMap{$group} and $mieMap{$group} ne $parent) {
777
+ warn("$group already has different parent ($mieMap{$group})\n"), next;
778
+ }
779
+ $mieMap{$group} = $parent; # add to map
780
+ # process tables within this one too
781
+ $doneTable{$subTableName} and next;
782
+ $doneTable{$subTableName} = 1;
783
+ push @tables, [$subTableName, $subTablePtr];
784
+ }
785
+ }
786
+ }
787
+
788
+ #------------------------------------------------------------------------------
789
+ # Get localized version of tagInfo hash
790
+ # Inputs: 0) tagInfo hash ref, 1) locale code (eg. "en_CA")
791
+ # Returns: new tagInfo hash ref, or undef if invalid
792
+ sub GetLangInfo($$)
793
+ {
794
+ my ($tagInfo, $langCode) = @_;
795
+ # check for properly formatted language code
796
+ return undef unless $langCode =~ /^[a-z]{2}([-_])[A-Z]{2}$/;
797
+ # use '_' as a separator, but recognize '_' or '-'
798
+ $langCode =~ tr/-/_/ if $1 eq '-';
799
+ # can only set locale on string types
800
+ return undef if $$tagInfo{Writable} and $$tagInfo{Writable} ne 'string';
801
+ return Image::ExifTool::GetLangInfo($tagInfo, $langCode);
802
+ }
803
+
804
+ #------------------------------------------------------------------------------
805
+ # return true if we have Zlib::Compress
806
+ # Inputs: 0) ExifTool object ref, 1) verb for what you want to do with the info
807
+ # Returns: 1 if Zlib available, 0 otherwise
808
+ sub HasZlib($$)
809
+ {
810
+ unless (defined $hasZlib) {
811
+ $hasZlib = eval { require Compress::Zlib };
812
+ unless ($hasZlib) {
813
+ $hasZlib = 0;
814
+ $_[0]->Warn("Install Compress::Zlib to $_[1] compressed information");
815
+ }
816
+ }
817
+ return $hasZlib;
818
+ }
819
+
820
+ #------------------------------------------------------------------------------
821
+ # Get format code for MIE group element with current byte order
822
+ # Inputs: 0) [optional] true to convert result to chr()
823
+ # Returns: format code
824
+ sub MIEGroupFormat(;$)
825
+ {
826
+ my $chr = shift;
827
+ my $format = GetByteOrder() eq 'MM' ? 0x10 : 0x18;
828
+ return $chr ? chr($format) : $format;
829
+ }
830
+
831
+ #------------------------------------------------------------------------------
832
+ # ReadValue() with added support for UTF formats (utf8, utf16 and utf32)
833
+ # Inputs: 0) data reference, 1) value offset, 2) format string,
834
+ # 3) number of values (or undef to use all data)
835
+ # 4) valid data length relative to offset, 5) returned rational ref
836
+ # Returns: converted value, or undefined if data isn't there
837
+ # or list of values in list context
838
+ # Notes: all string formats are converted to UTF8
839
+ sub ReadMIEValue($$$$$;$)
840
+ {
841
+ my ($dataPt, $offset, $format, $count, $size, $ratPt) = @_;
842
+ my $val;
843
+ if ($format =~ /^(utf(8|16|32)|string)/) {
844
+ if ($1 eq 'utf8' or $1 eq 'string') {
845
+ # read the 8-bit string
846
+ $val = substr($$dataPt, $offset, $size);
847
+ # (as of ExifTool 7.62, leave string values unconverted)
848
+ } else {
849
+ # convert to UTF8
850
+ my $fmt;
851
+ if (GetByteOrder() eq 'MM') {
852
+ $fmt = ($1 eq 'utf16') ? 'n' : 'N';
853
+ } else {
854
+ $fmt = ($1 eq 'utf16') ? 'v' : 'V';
855
+ }
856
+ my @unpk = unpack("x$offset$fmt$size",$$dataPt);
857
+ if ($] >= 5.006001) {
858
+ $val = pack('C0U*', @unpk);
859
+ } else {
860
+ $val = Image::ExifTool::PackUTF8(@unpk);
861
+ }
862
+ }
863
+ # truncate at null unless this is a list
864
+ # (strings shouldn't have a null, but just in case)
865
+ $val =~ s/\0.*//s unless $format =~ /_list$/;
866
+ } else {
867
+ $format = 'undef' if $format eq 'free'; # read 'free' as 'undef'
868
+ return ReadValue($dataPt, $offset, $format, $count, $size, $ratPt);
869
+ }
870
+ return $val;
871
+ }
872
+
873
+ #------------------------------------------------------------------------------
874
+ # validate raw values for writing
875
+ # Inputs: 0) ExifTool object ref, 1) tagInfo hash ref, 2) raw value ref
876
+ # Returns: error string or undef (and possibly changes value) on success
877
+ sub CheckMIE($$$)
878
+ {
879
+ my ($et, $tagInfo, $valPtr) = @_;
880
+ my $format = $$tagInfo{Writable} || $tagInfo->{Table}->{WRITABLE};
881
+ my $err;
882
+
883
+ return 'No writable format' if not $format or $format eq '1';
884
+ # handle units if supported by this tag
885
+ my $ulist = $$tagInfo{Units};
886
+ if ($ulist and $$valPtr =~ /(.*)\((.*)\)$/) {
887
+ my ($val, $units) = ($1, $2);
888
+ ($units) = grep /^$units$/i, @$ulist;
889
+ defined $units or return 'Allowed units: (' . join('|', @$ulist) . ')';
890
+ $err = Image::ExifTool::CheckValue(\$val, $format, $$tagInfo{Count});
891
+ # add units back onto value
892
+ $$valPtr = "$val($units)" unless $err;
893
+ } elsif ($format !~ /^(utf|string|undef)/ and $$valPtr =~ /\)$/) {
894
+ return 'Units not supported';
895
+ } else {
896
+ if ($format eq 'string' and $$et{OPTIONS}{Charset} ne 'UTF8' and
897
+ $$valPtr =~ /[\x80-\xff]/)
898
+ {
899
+ # convert from Charset to UTF-8
900
+ $$valPtr = $et->Encode($$valPtr,'UTF8');
901
+ }
902
+ $err = Image::ExifTool::CheckValue($valPtr, $format, $$tagInfo{Count});
903
+ }
904
+ return $err;
905
+ }
906
+
907
+ #------------------------------------------------------------------------------
908
+ # Rewrite a MIE directory
909
+ # Inputs: 0) ExifTool object reference, 1) DirInfo reference, 2) tag table ptr
910
+ # Returns: undef on success, otherwise error message (empty message if nothing to write)
911
+ sub WriteMIEGroup($$$)
912
+ {
913
+ my ($et, $dirInfo, $tagTablePtr) = @_;
914
+ my $outfile = $$dirInfo{OutFile};
915
+ my $dirName = $$dirInfo{DirName};
916
+ my $toWrite = $$dirInfo{ToWrite} || '';
917
+ my $raf = $$dirInfo{RAF};
918
+ my $verbose = $et->Options('Verbose');
919
+ my $optCompress = $et->Options('Compress');
920
+ my $out = $et->Options('TextOut');
921
+ my ($msg, $err, $ok, $sync, $delGroup);
922
+ my $tag = '';
923
+ my $deletedTag = '';
924
+
925
+ # count each MIE directory found and make name for this specific instance
926
+ my ($grp1, %isWriting);
927
+ my $cnt = $$et{MIE_COUNT};
928
+ my $grp = $tagTablePtr->{GROUPS}->{1};
929
+ my $n = $$cnt{'MIE-Main'} || 0;
930
+ if ($grp eq 'MIE-Main') {
931
+ $$cnt{$grp} = ++$n;
932
+ ($grp1 = $grp) =~ s/MIE-/MIE$n-/;
933
+ } else {
934
+ ($grp1 = $grp) =~ s/MIE-/MIE$n-/;
935
+ my $m = $$cnt{$grp1} = ($$cnt{$grp1} || 0) + 1;
936
+ $isWriting{"$grp$m"} = 1; # eg. 'MIE-Doc2'
937
+ $isWriting{$grp1} = 1; # eg. 'MIE1-Doc'
938
+ $grp1 .= $m;
939
+ }
940
+ # build lookup for all valid group names for this MIE group
941
+ $isWriting{$grp} = 1; # eg. 'MIE-Doc'
942
+ $isWriting{$grp1} = 1; # eg. 'MIE1-Doc2'
943
+ $isWriting{"MIE$n"} = 1; # eg. 'MIE1'
944
+
945
+ # determine if we are deleting this group
946
+ if (%{$$et{DEL_GROUP}}) {
947
+ $delGroup = 1 if $$et{DEL_GROUP}{MIE} or
948
+ $$et{DEL_GROUP}{$grp} or
949
+ $$et{DEL_GROUP}{$grp1} or
950
+ $$et{DEL_GROUP}{"MIE$n"};
951
+ }
952
+
953
+ # prepare lookups and lists for writing
954
+ my $newTags = $et->GetNewTagInfoHash($tagTablePtr);
955
+ my ($addDirs, $editDirs) = $et->GetAddDirHash($tagTablePtr, $dirName);
956
+ my @editTags = sort keys %$newTags, keys %$editDirs;
957
+ $verbose and print $out $raf ? 'Writing' : 'Creating', " $grp1:\n";
958
+
959
+ # loop through elements in MIE group
960
+ MieElement: for (;;) {
961
+ my ($format, $tagLen, $valLen, $units, $oldHdr, $buff);
962
+ my $lastTag = $tag;
963
+ if ($raf) {
964
+ # read first 4 bytes of element header
965
+ my $n = $raf->Read($oldHdr, 4);
966
+ if ($n != 4) {
967
+ last if $n or defined $sync;
968
+ undef $raf; # all done reading
969
+ $ok = 1;
970
+ }
971
+ }
972
+ if ($raf) {
973
+ ($sync, $format, $tagLen, $valLen) = unpack('aC3', $oldHdr);
974
+ $sync eq '~' or $msg = 'Invalid sync byte', last;
975
+
976
+ # read tag name
977
+ if ($tagLen) {
978
+ $raf->Read($tag, $tagLen) == $tagLen or last;
979
+ $oldHdr .= $tag; # add tag to element header
980
+ $et->Warn("MIE tag '$tag' out of sequence") if $tag lt $lastTag;
981
+ # separate units from tag name if they exist
982
+ $units = $1 if $tag =~ s/\((.*)\)$//;
983
+ } else {
984
+ $tag = '';
985
+ }
986
+
987
+ # get multi-byte value length if necessary
988
+ if ($valLen > 252) {
989
+ # calculate number of bytes in extended DataLength
990
+ my $n = 1 << (256 - $valLen);
991
+ $raf->Read($buff, $n) == $n or last;
992
+ $oldHdr .= $buff; # add to old header
993
+ my $fmt = 'int' . ($n * 8) . 'u';
994
+ $valLen = ReadValue(\$buff, 0, $fmt, 1, $n);
995
+ if ($valLen > 0x7fffffff) {
996
+ $msg = "Can't write $tag (DataLength > 2GB not yet supported)";
997
+ last;
998
+ }
999
+ }
1000
+ # don't rewrite free bytes or information in deleted groups
1001
+ if ($format eq 0x80 or ($delGroup and $tagLen and ($format & 0xf0) != 0x10)) {
1002
+ $raf->Seek($valLen, 1) or $msg = 'Seek error', last;
1003
+ if ($verbose > 1) {
1004
+ my $free = ($format eq 0x80) ? ' free' : '';
1005
+ print $out " - $grp1:$tag ($valLen$free bytes)\n";
1006
+ }
1007
+ ++$$et{CHANGED} if $delGroup;
1008
+ next;
1009
+ }
1010
+ } else {
1011
+ # no more elements to read
1012
+ $tagLen = $valLen = 0;
1013
+ $tag = '';
1014
+ }
1015
+ #
1016
+ # write necessary new tags and process directories
1017
+ #
1018
+ while (@editTags) {
1019
+ last if $tagLen and $editTags[0] gt $tag;
1020
+ # we are writing the new tag now
1021
+ my ($newVal, $writable, $oldVal, $newFormat, $compress);
1022
+ my $newTag = shift @editTags;
1023
+ my $newInfo = $$editDirs{$newTag};
1024
+ if ($newInfo) {
1025
+ # create the new subdirectory or rewrite existing non-MIE directory
1026
+ my $subTablePtr = GetTagTable($newInfo->{SubDirectory}->{TagTable});
1027
+ unless ($subTablePtr) {
1028
+ $et->Warn("No tag table for $newTag $$newInfo{Name}");
1029
+ next;
1030
+ }
1031
+ my %subdirInfo;
1032
+ my $isMieGroup = ($$subTablePtr{WRITE_PROC} and
1033
+ $$subTablePtr{WRITE_PROC} eq \&ProcessMIE);
1034
+
1035
+ if ($newTag eq $tag) {
1036
+ # make sure that either both or neither old and new tags are MIE groups
1037
+ if ($isMieGroup xor ($format & 0xf3) == 0x10) {
1038
+ $et->Warn("Tag '$tag' not expected type");
1039
+ next; # don't write our new tag
1040
+ }
1041
+ # uncompress existing directory into $oldVal since we are editing it
1042
+ if ($format & 0x04) {
1043
+ last unless HasZlib($et, 'edit');
1044
+ $raf->Read($oldVal, $valLen) == $valLen or last MieElement;
1045
+ my $stat;
1046
+ my $inflate = Compress::Zlib::inflateInit();
1047
+ $inflate and ($oldVal, $stat) = $inflate->inflate($oldVal);
1048
+ unless ($inflate and $stat == Compress::Zlib::Z_STREAM_END()) {
1049
+ $msg = "Error inflating $tag";
1050
+ last MieElement;
1051
+ }
1052
+ $compress = 1;
1053
+ $valLen = length $oldVal; # uncompressed value length
1054
+ }
1055
+ } else {
1056
+ # don't create this directory unless necessary
1057
+ next unless $$addDirs{$newTag};
1058
+ }
1059
+
1060
+ if ($isMieGroup) {
1061
+ my $hdr;
1062
+ if ($newTag eq $tag) {
1063
+ # rewrite existing directory later unless it was compressed
1064
+ last unless $compress;
1065
+ # rewrite directory to '$newVal'
1066
+ $newVal = '';
1067
+ %subdirInfo = (
1068
+ OutFile => \$newVal,
1069
+ RAF => new File::RandomAccess(\$oldVal),
1070
+ );
1071
+ } elsif ($optCompress and not $$dirInfo{IsCompressed}) {
1072
+ # write to memory so we can compress the new MIE group
1073
+ $compress = 1;
1074
+ %subdirInfo = (
1075
+ OutFile => \$newVal,
1076
+ );
1077
+ } else {
1078
+ $hdr = '~' . MIEGroupFormat(1) . chr(length($newTag)) .
1079
+ "\0" . $newTag;
1080
+ %subdirInfo = (
1081
+ OutFile => $outfile,
1082
+ ToWrite => $toWrite . $hdr,
1083
+ );
1084
+ }
1085
+ $subdirInfo{DirName} = $newInfo->{SubDirectory}->{DirName} || $newTag;
1086
+ $subdirInfo{Parent} = $dirName;
1087
+ # don't compress elements of an already compressed group
1088
+ $subdirInfo{IsCompressed} = $$dirInfo{IsCompressed} || $compress;
1089
+ $msg = WriteMIEGroup($et, \%subdirInfo, $subTablePtr);
1090
+ last MieElement if $msg;
1091
+ # message is defined but empty if nothing was written
1092
+ if (defined $msg) {
1093
+ undef $msg; # not a problem if nothing was written
1094
+ next;
1095
+ } elsif (not $compress) {
1096
+ # group was written already
1097
+ $toWrite = '';
1098
+ next;
1099
+ } elsif (length($newVal) <= 4) { # terminator only?
1100
+ $verbose and print $out "Deleted compressed $grp1 (empty)\n";
1101
+ next MieElement if $newTag eq $tag; # deleting the directory
1102
+ next; # not creating the new directory
1103
+ }
1104
+ $writable = 'undef';
1105
+ $newFormat = MIEGroupFormat();
1106
+ } else {
1107
+ if ($newTag eq $tag) {
1108
+ unless ($compress) {
1109
+ # read and edit existing directory
1110
+ $raf->Read($oldVal, $valLen) == $valLen or last MieElement;
1111
+ }
1112
+ %subdirInfo = (
1113
+ DataPt => \$oldVal,
1114
+ DataLen => $valLen,
1115
+ DirName => $$newInfo{Name},
1116
+ DataPos => $$dirInfo{IsCompressed} ? undef : $raf->Tell() - $valLen,
1117
+ DirStart=> 0,
1118
+ DirLen => $valLen,
1119
+ );
1120
+ # write Compact subdirectories if we will compress the data
1121
+ if (($compress or $optCompress or $$dirInfo{IsCompressed}) and
1122
+ eval { require Compress::Zlib })
1123
+ {
1124
+ $subdirInfo{Compact} = 1;
1125
+ }
1126
+ }
1127
+ $subdirInfo{Parent} = $dirName;
1128
+ my $writeProc = $newInfo->{SubDirectory}->{WriteProc};
1129
+ # reset processed lookup to avoid errors in case of multiple EXIF blocks
1130
+ $$et{PROCESSED} = { };
1131
+ $newVal = $et->WriteDirectory(\%subdirInfo, $subTablePtr, $writeProc);
1132
+ if (defined $newVal) {
1133
+ if ($newVal eq '') {
1134
+ next MieElement if $newTag eq $tag; # deleting the directory
1135
+ next; # not creating the new directory
1136
+ }
1137
+ } else {
1138
+ next unless defined $oldVal;
1139
+ $newVal = $oldVal; # just copy over the old directory
1140
+ }
1141
+ $writable = 'undef';
1142
+ $newFormat = 0x00; # all other directories are 'undef' format
1143
+ }
1144
+ } else {
1145
+
1146
+ # get the new tag information
1147
+ $newInfo = $$newTags{$newTag};
1148
+ my $nvHash = $et->GetNewValueHash($newInfo);
1149
+ my @newVals;
1150
+
1151
+ # write information only to specified group
1152
+ my $writeGroup = $$nvHash{WriteGroup};
1153
+ last unless $isWriting{$writeGroup};
1154
+
1155
+ # if tag existed, must decide if we want to overwrite the value
1156
+ if ($newTag eq $tag) {
1157
+ my $isOverwriting;
1158
+ my $isList = $$newInfo{List};
1159
+ if ($isList) {
1160
+ last if $$nvHash{CreateOnly};
1161
+ $isOverwriting = -1; # force processing list elements individually
1162
+ } else {
1163
+ $isOverwriting = $et->IsOverwriting($nvHash);
1164
+ last unless $isOverwriting;
1165
+ }
1166
+ my ($val, $cmpVal);
1167
+ if ($isOverwriting < 0 or $verbose > 1) {
1168
+ # check to be sure we can uncompress the value if necessary
1169
+ HasZlib($et, 'edit') or last if $format & 0x04;
1170
+ # read the old value
1171
+ $raf->Read($oldVal, $valLen) == $valLen or last MieElement;
1172
+ # uncompress if necessary
1173
+ if ($format & 0x04) {
1174
+ my $stat;
1175
+ my $inflate = Compress::Zlib::inflateInit();
1176
+ # must save original compressed value in case we decide
1177
+ # not to overwrite it later
1178
+ $cmpVal = $oldVal;
1179
+ $inflate and ($oldVal, $stat) = $inflate->inflate($oldVal);
1180
+ unless ($inflate and $stat == Compress::Zlib::Z_STREAM_END()) {
1181
+ $msg = "Error inflating $tag";
1182
+ last MieElement;
1183
+ }
1184
+ $valLen = length $oldVal; # update value length
1185
+ }
1186
+ # convert according to specified format
1187
+ my $formatStr = $mieFormat{$format & 0xfb} || 'undef';
1188
+ $val = ReadMIEValue(\$oldVal, 0, $formatStr, undef, $valLen);
1189
+ if ($isOverwriting < 0 and defined $val) {
1190
+ # handle list values individually
1191
+ if ($isList) {
1192
+ my (@vals, $v);
1193
+ if ($formatStr =~ /_list$/) {
1194
+ @vals = split "\0", $val;
1195
+ } else {
1196
+ @vals = $val;
1197
+ }
1198
+ # keep any list items that we aren't overwriting
1199
+ foreach $v (@vals) {
1200
+ next if $et->IsOverwriting($nvHash, $v);
1201
+ push @newVals, $v;
1202
+ }
1203
+ } else {
1204
+ # test to see if we really want to overwrite the value
1205
+ $isOverwriting = $et->IsOverwriting($nvHash, $val);
1206
+ }
1207
+ }
1208
+ }
1209
+ if ($isOverwriting) {
1210
+ # skip the old value if we didn't read it already
1211
+ unless (defined $oldVal) {
1212
+ $raf->Seek($valLen, 1) or $msg = 'Seek error';
1213
+ }
1214
+ if ($verbose > 1) {
1215
+ $val .= "($units)" if defined $units;
1216
+ $et->VerboseValue("- $grp1:$$newInfo{Name}", $val);
1217
+ }
1218
+ $deletedTag = $tag; # remember that we deleted this tag
1219
+ ++$$et{CHANGED}; # we deleted the old value
1220
+ } else {
1221
+ if (defined $oldVal) {
1222
+ # write original compressed value
1223
+ $oldVal = $cmpVal if defined $cmpVal;
1224
+ } else {
1225
+ $raf->Read($oldVal, $valLen) == $valLen or last MieElement;
1226
+ }
1227
+ # write the old value now
1228
+ Write($outfile, $toWrite, $oldHdr, $oldVal) or $err = 1;
1229
+ $toWrite = '';
1230
+ next MieElement;
1231
+ }
1232
+ unless (@newVals) {
1233
+ # unshift the new tag info to write it later
1234
+ unshift @editTags, $newTag;
1235
+ next MieElement; # get next element from file
1236
+ }
1237
+ } else {
1238
+ # write new value if creating, or if List and list existed, or
1239
+ # if tag was previously deleted
1240
+ next unless $$nvHash{IsCreating} or
1241
+ (($newTag eq $lastTag and ($$newInfo{List} or $deletedTag eq $lastTag)
1242
+ and not $$nvHash{EditOnly}));
1243
+ }
1244
+ # get the new value to write (undef to delete)
1245
+ push @newVals, $et->GetNewValues($nvHash);
1246
+ next unless @newVals;
1247
+ $writable = $$newInfo{Writable} || $$tagTablePtr{WRITABLE};
1248
+ if ($writable eq 'string') {
1249
+ # join multiple values into a single string
1250
+ $newVal = join "\0", @newVals;
1251
+ # write string as UTF-8,16 or 32 if value contains valid UTF-8 codes
1252
+ require Image::ExifTool::XMP;
1253
+ my $isUTF8 = Image::ExifTool::XMP::IsUTF8(\$newVal);
1254
+ if ($isUTF8 > 0) {
1255
+ $writable = 'utf8';
1256
+ # write UTF-16 or UTF-32 if it is more compact
1257
+ my $to = $isUTF8 > 1 ? 'UCS4' : 'UCS2';
1258
+ my $tmp = Image::ExifTool::Decode(undef,$newVal,'UTF8',undef,$to);
1259
+ if (length $tmp < length $newVal) {
1260
+ $newVal = $tmp;
1261
+ $writable = ($isUTF8 > 1) ? 'utf32' : 'utf16';
1262
+ }
1263
+ }
1264
+ # write as a list if we have multiple values
1265
+ $writable .= '_list' if @newVals > 1;
1266
+ } else {
1267
+ # should only be one element in the list
1268
+ $newVal = shift @newVals;
1269
+ }
1270
+ $newFormat = $mieCode{$writable};
1271
+ unless (defined $newFormat) {
1272
+ $msg = "Bad format '$writable' for $$newInfo{Name}";
1273
+ next MieElement;
1274
+ }
1275
+ }
1276
+
1277
+ # write the new or edited element
1278
+ while (defined $newFormat) {
1279
+ my $valPt = \$newVal;
1280
+ # remove units from value and add to tag name if supported by this tag
1281
+ if ($$newInfo{Units}) {
1282
+ my $val2;
1283
+ if ($$valPt =~ /(.*)\((.*)\)$/) {
1284
+ $val2 = $1;
1285
+ $newTag .= "($2)";
1286
+ } else {
1287
+ $val2 = $$valPt;
1288
+ # add default units
1289
+ my $ustr = '(' . $newInfo->{Units}->[0] . ')';
1290
+ $newTag .= $ustr;
1291
+ $$valPt .= $ustr;
1292
+ }
1293
+ $valPt = \$val2;
1294
+ }
1295
+ # convert value if necessary
1296
+ if ($writable !~ /^(utf|string|undef)/) {
1297
+ my $val3 = WriteValue($$valPt, $writable, $$newInfo{Count});
1298
+ defined $val3 or $et->Warn("Error writing $newTag"), last;
1299
+ $valPt = \$val3;
1300
+ }
1301
+ my $len = length $$valPt;
1302
+ # compress value before writing if required
1303
+ if (($compress or $optCompress) and not $$dirInfo{IsCompressed} and
1304
+ HasZlib($et, 'write'))
1305
+ {
1306
+ my $deflate = Compress::Zlib::deflateInit();
1307
+ my $val4;
1308
+ if ($deflate) {
1309
+ $val4 = $deflate->deflate($$valPt);
1310
+ $val4 .= $deflate->flush() if defined $val4;
1311
+ }
1312
+ if (defined $val4) {
1313
+ my $len4 = length $val4;
1314
+ my $saved = $len - $len4;
1315
+ # only use compressed data if it is smaller
1316
+ if ($saved > 0) {
1317
+ $verbose and print $out " [$newTag compression saved $saved bytes]\n";
1318
+ $newFormat |= 0x04; # set compressed bit
1319
+ $len = $len4; # set length
1320
+ $valPt = \$val4; # set value pointer
1321
+ } elsif ($verbose) {
1322
+ print $out " [$newTag compression saved $saved bytes -- written uncompressed]\n";
1323
+ }
1324
+ } else {
1325
+ $et->Warn("Error deflating $newTag (written uncompressed)");
1326
+ }
1327
+ }
1328
+ # calculate the DataLength code
1329
+ my $extLen;
1330
+ if ($len < 253) {
1331
+ $extLen = '';
1332
+ } elsif ($len < 65536) {
1333
+ $extLen = Set16u($len);
1334
+ $len = 255;
1335
+ } elsif ($len <= 0x7fffffff) {
1336
+ $extLen = Set32u($len);
1337
+ $len = 254;
1338
+ } else {
1339
+ $et->Warn("Can't write $newTag (DataLength > 2GB not yet suppported)");
1340
+ last; # don't write this tag
1341
+ }
1342
+ # write this element (with leading MIE group element if not done already)
1343
+ my $hdr = $toWrite . '~' . chr($newFormat) . chr(length $newTag);
1344
+ Write($outfile, $hdr, chr($len), $newTag, $extLen, $$valPt) or $err = 1;
1345
+ $toWrite = '';
1346
+ # we changed a tag unless just editing a subdirectory
1347
+ unless ($$editDirs{$newTag}) {
1348
+ $et->VerboseValue("+ $grp1:$$newInfo{Name}", $newVal);
1349
+ ++$$et{CHANGED};
1350
+ }
1351
+ last; # didn't want to loop anyway
1352
+ }
1353
+ next MieElement if defined $oldVal;
1354
+ }
1355
+ #
1356
+ # rewrite existing element or descend into uncompressed MIE group
1357
+ #
1358
+ # all done this MIE group if we reached the terminator element
1359
+ unless ($tagLen) {
1360
+ # skip over existing terminator data (if any)
1361
+ last if $valLen and not $raf->Seek($valLen, 1);
1362
+ $ok = 1;
1363
+ # write group terminator if necessary
1364
+ unless ($toWrite) {
1365
+ # write end-of-group terminator element
1366
+ my $term = "~\0\0\0";
1367
+ unless ($$dirInfo{Parent}) {
1368
+ # write extended terminator for file-level group
1369
+ my $len = ref $outfile eq 'SCALAR' ? length($$outfile) : tell $outfile;
1370
+ $len += 10; # include length of terminator itself
1371
+ if ($len and $len <= 0x7fffffff) {
1372
+ $term = "~\0\0\x06" . Set32u($len) . MIEGroupFormat(1) . "\x04";
1373
+ }
1374
+ }
1375
+ Write($outfile, $term) or $err = 1;
1376
+ }
1377
+ last;
1378
+ }
1379
+
1380
+ # descend into existing uncompressed MIE group
1381
+ if ($format == 0x10 or $format == 0x18) {
1382
+ my ($subTablePtr, $dirName);
1383
+ my $tagInfo = $et->GetTagInfo($tagTablePtr, $tag);
1384
+ if ($tagInfo and $$tagInfo{SubDirectory}) {
1385
+ $dirName = $tagInfo->{SubDirectory}->{DirName};
1386
+ my $subTable = $tagInfo->{SubDirectory}->{TagTable};
1387
+ $subTablePtr = $subTable ? GetTagTable($subTable) : $tagTablePtr;
1388
+ } else {
1389
+ $subTablePtr = GetTagTable('Image::ExifTool::MIE::Unknown');
1390
+ }
1391
+ my $hdr = '~' . chr($format) . chr(length $tag) . "\0" . $tag;
1392
+ my %subdirInfo = (
1393
+ DirName => $dirName || $tag,
1394
+ RAF => $raf,
1395
+ ToWrite => $toWrite . $hdr,
1396
+ OutFile => $outfile,
1397
+ Parent => $dirName,
1398
+ IsCompressed => $$dirInfo{IsCompressed},
1399
+ );
1400
+ my $oldOrder = GetByteOrder();
1401
+ SetByteOrder($format & 0x08 ? 'II' : 'MM');
1402
+ $msg = WriteMIEGroup($et, \%subdirInfo, $subTablePtr);
1403
+ SetByteOrder($oldOrder);
1404
+ last if $msg;
1405
+ if (defined $msg) {
1406
+ undef $msg; # no problem if nothing written
1407
+ } else {
1408
+ $toWrite = '';
1409
+ }
1410
+ next;
1411
+ }
1412
+ # just copy existing element
1413
+ my $oldVal;
1414
+ $raf->Read($oldVal, $valLen) == $valLen or last;
1415
+ if ($toWrite) {
1416
+ Write($outfile, $toWrite) or $err = 1;
1417
+ $toWrite = '';
1418
+ }
1419
+ Write($outfile, $oldHdr, $oldVal) or $err = 1;
1420
+ }
1421
+ # return error message
1422
+ if ($err) {
1423
+ $msg = 'Error writing file';
1424
+ } elsif (not $ok and not $msg) {
1425
+ $msg = 'Unexpected end of file';
1426
+ } elsif (not $msg and $toWrite) {
1427
+ $msg = ''; # flag for nothing written
1428
+ $verbose and print $out "Deleted $grp1 (empty)\n";
1429
+ }
1430
+ return $msg;
1431
+ }
1432
+
1433
+ #------------------------------------------------------------------------------
1434
+ # Process MIE directory
1435
+ # Inputs: 0) ExifTool object reference, 1) DirInfo reference, 2) tag table ref
1436
+ # Returns: undef on success, or error message if there was a problem
1437
+ # Notes: file pointer is positioned at the MIE end on entry
1438
+ sub ProcessMIEGroup($$$)
1439
+ {
1440
+ my ($et, $dirInfo, $tagTablePtr) = @_;
1441
+ my $raf = $$dirInfo{RAF};
1442
+ my $verbose = $et->Options('Verbose');
1443
+ my $out = $et->Options('TextOut');
1444
+ my $notUTF8 = ($$et{OPTIONS}{Charset} ne 'UTF8');
1445
+ my ($msg, $buff, $ok, $oldIndent, $mime);
1446
+ my $lastTag = '';
1447
+
1448
+ # get group 1 names: $grp doesn't have numbers (eg. 'MIE-Doc'),
1449
+ # and $grp1 does (eg. 'MIE1-Doc1')
1450
+ my $cnt = $$et{MIE_COUNT};
1451
+ my $grp1 = $tagTablePtr->{GROUPS}->{1};
1452
+ my $n = $$cnt{'MIE-Main'} || 0;
1453
+ if ($grp1 eq 'MIE-Main') {
1454
+ $$cnt{$grp1} = ++$n;
1455
+ $grp1 =~ s/MIE-/MIE$n-/ if $n > 1;
1456
+ } else {
1457
+ $grp1 =~ s/MIE-/MIE$n-/ if $n > 1;
1458
+ $$cnt{$grp1} = ($$cnt{$grp1} || 0) + 1;
1459
+ $grp1 .= $$cnt{$grp1} if $$cnt{$grp1} > 1;
1460
+ }
1461
+ # set group1 name for all tags extracted from this group
1462
+ $$et{SET_GROUP1} = $grp1;
1463
+
1464
+ if ($verbose) {
1465
+ $oldIndent = $$et{INDENT};
1466
+ $$et{INDENT} .= '| ';
1467
+ $et->VerboseDir($grp1);
1468
+ }
1469
+ my $wasCompressed = $$dirInfo{WasCompressed};
1470
+
1471
+ # process all MIE elements
1472
+ for (;;) {
1473
+ $raf->Read($buff, 4) == 4 or last;
1474
+ my ($sync, $format, $tagLen, $valLen) = unpack('aC3', $buff);
1475
+ $sync eq '~' or $msg = 'Invalid sync byte', last;
1476
+
1477
+ # read tag name
1478
+ my ($tag, $units);
1479
+ if ($tagLen) {
1480
+ $raf->Read($tag, $tagLen) == $tagLen or last;
1481
+ $et->Warn("MIE tag '$tag' out of sequence") if $tag lt $lastTag;
1482
+ $lastTag = $tag;
1483
+ # separate units from tag name if they exist
1484
+ $units = $1 if $tag =~ s/\((.*)\)$//;
1485
+ } else {
1486
+ $tag = '';
1487
+ }
1488
+
1489
+ # get multi-byte value length if necessary
1490
+ if ($valLen > 252) {
1491
+ my $n = 1 << (256 - $valLen);
1492
+ $raf->Read($buff, $n) == $n or last;
1493
+ my $fmt = 'int' . ($n * 8) . 'u';
1494
+ $valLen = ReadValue(\$buff, 0, $fmt, 1, $n);
1495
+ if ($valLen > 0x7fffffff) {
1496
+ $msg = "Can't read $tag (DataLength > 2GB not yet supported)";
1497
+ last;
1498
+ }
1499
+ }
1500
+
1501
+ # all done if we reached the group terminator
1502
+ unless ($tagLen) {
1503
+ # skip over terminator data block
1504
+ $ok = 1 unless $valLen and not $raf->Seek($valLen, 1);
1505
+ last;
1506
+ }
1507
+
1508
+ # get tag information hash unless this is free space
1509
+ my ($tagInfo, $value);
1510
+ while ($format != 0x80) {
1511
+ $tagInfo = $et->GetTagInfo($tagTablePtr, $tag);
1512
+ last if $tagInfo;
1513
+ # extract tags with locale code
1514
+ if ($tag =~ /\W/) {
1515
+ if ($tag =~ /^(\w+)-([a-z]{2}_[A-Z]{2})$/) {
1516
+ my ($baseTag, $langCode) = ($1, $2);
1517
+ $tagInfo = $et->GetTagInfo($tagTablePtr, $baseTag);
1518
+ $tagInfo = GetLangInfo($tagInfo, $langCode) if $tagInfo;
1519
+ last if $tagInfo;
1520
+ } else {
1521
+ $et->Warn('Invalid MIE tag name');
1522
+ last;
1523
+ }
1524
+ }
1525
+ # extract unknown tags if specified
1526
+ $tagInfo = {
1527
+ Name => $tag,
1528
+ Writable => 0,
1529
+ PrintConv => 'length($val) > 60 ? substr($val,0,55) . "[...]" : $val',
1530
+ };
1531
+ AddTagToTable($tagTablePtr, $tag, $tagInfo);
1532
+ last;
1533
+ }
1534
+
1535
+ # read value and uncompress if necessary
1536
+ my $formatStr = $mieFormat{$format & 0xfb} || 'undef';
1537
+ if ($tagInfo or ($formatStr eq 'MIE' and $format & 0x04)) {
1538
+ $raf->Read($value, $valLen) == $valLen or last;
1539
+ if ($format & 0x04) {
1540
+ if ($verbose) {
1541
+ print $out "$$et{INDENT}\[Tag '$tag' $valLen bytes compressed]\n";
1542
+ }
1543
+ next unless HasZlib($et, 'decode');
1544
+ my $stat;
1545
+ my $inflate = Compress::Zlib::inflateInit();
1546
+ $inflate and ($value, $stat) = $inflate->inflate($value);
1547
+ unless ($inflate and $stat == Compress::Zlib::Z_STREAM_END()) {
1548
+ $et->Warn("Error inflating $tag");
1549
+ next;
1550
+ }
1551
+ $valLen = length $value;
1552
+ $wasCompressed = 1;
1553
+ }
1554
+ }
1555
+
1556
+ # process this tag
1557
+ if ($formatStr eq 'MIE') {
1558
+ # process MIE directory
1559
+ my ($subTablePtr, $dirName);
1560
+ if ($tagInfo and $$tagInfo{SubDirectory}) {
1561
+ $dirName = $tagInfo->{SubDirectory}->{DirName};
1562
+ my $subTable = $tagInfo->{SubDirectory}->{TagTable};
1563
+ $subTablePtr = $subTable ? GetTagTable($subTable) : $tagTablePtr;
1564
+ } else {
1565
+ $subTablePtr = GetTagTable('Image::ExifTool::MIE::Unknown');
1566
+ }
1567
+ if ($verbose) {
1568
+ my $order = ', byte order ' . GetByteOrder();
1569
+ $et->VerboseInfo($tag, $tagInfo, Size => $valLen, Extra => $order);
1570
+ }
1571
+ my %subdirInfo = (
1572
+ DirName => $dirName || $tag,
1573
+ RAF => $raf,
1574
+ Parent => $$dirInfo{DirName},
1575
+ WasCompressed => $wasCompressed,
1576
+ );
1577
+ # read from uncompressed data instead if necessary
1578
+ $subdirInfo{RAF} = new File::RandomAccess(\$value) if $valLen;
1579
+
1580
+ my $oldOrder = GetByteOrder();
1581
+ SetByteOrder($format & 0x08 ? 'II' : 'MM');
1582
+ $msg = ProcessMIEGroup($et, \%subdirInfo, $subTablePtr);
1583
+ SetByteOrder($oldOrder);
1584
+ $$et{SET_GROUP1} = $grp1; # restore this group1 name
1585
+ last if $msg;
1586
+ } else {
1587
+ # process MIE data format types
1588
+ if ($tagInfo) {
1589
+ my $rational;
1590
+ # extract tag value
1591
+ my $val = ReadMIEValue(\$value, 0, $formatStr, undef, $valLen, \$rational);
1592
+ unless (defined $val) {
1593
+ $et->Warn("Error reading $tag value");
1594
+ $val = '<err>';
1595
+ }
1596
+ # save type or mime type
1597
+ $mime = $val if $tag eq '0Type' or $tag eq '2MIME';
1598
+ if ($verbose) {
1599
+ my $count;
1600
+ my $s = Image::ExifTool::FormatSize($formatStr);
1601
+ if ($s and $formatStr !~ /^(utf|string|undef)/) {
1602
+ $count = $valLen / $s;
1603
+ }
1604
+ $et->VerboseInfo($lastTag, $tagInfo,
1605
+ DataPt => \$value,
1606
+ DataPos => $raf->Tell() - $valLen,
1607
+ Size => $valLen,
1608
+ Format => $formatStr,
1609
+ Value => $val,
1610
+ Count => $count,
1611
+ );
1612
+ }
1613
+ if ($$tagInfo{SubDirectory}) {
1614
+ my $subTablePtr = GetTagTable($tagInfo->{SubDirectory}->{TagTable});
1615
+ my %subdirInfo = (
1616
+ DirName => $$tagInfo{Name},
1617
+ DataPt => \$value,
1618
+ DataLen => $valLen,
1619
+ DirStart=> 0,
1620
+ DirLen => $valLen,
1621
+ Parent => $$dirInfo{DirName},
1622
+ WasCompressed => $wasCompressed,
1623
+ );
1624
+ # set DataPos and Base for uncompressed information only
1625
+ unless ($wasCompressed) {
1626
+ $subdirInfo{DataPos} = 0; # (relative to Base)
1627
+ $subdirInfo{Base} = $raf->Tell() - $valLen;
1628
+ }
1629
+ # reset PROCESSED lookup for each MIE directory
1630
+ # (there is no possibility of double-processing a MIE directory)
1631
+ $$et{PROCESSED} = { };
1632
+ my $processProc = $tagInfo->{SubDirectory}->{ProcessProc};
1633
+ delete $$et{SET_GROUP1};
1634
+ delete $$et{NO_LIST};
1635
+ $et->ProcessDirectory(\%subdirInfo, $subTablePtr, $processProc);
1636
+ $$et{SET_GROUP1} = $grp1;
1637
+ $$et{NO_LIST} = 1;
1638
+ } else {
1639
+ # convert to specified character set if necessary
1640
+ if ($notUTF8 and $formatStr =~ /^(utf|string)/) {
1641
+ $val = $et->Decode($val, 'UTF8');
1642
+ }
1643
+ if ($formatStr =~ /_list$/) {
1644
+ # split list value into separate strings
1645
+ my @vals = split "\0", $val;
1646
+ $val = \@vals;
1647
+ }
1648
+ if (defined $units) {
1649
+ $val = "@$val" if ref $val; # convert string list to number list
1650
+ # add units to value if specified
1651
+ $val .= "($units)" if defined $units;
1652
+ }
1653
+ my $key = $et->FoundTag($tagInfo, $val);
1654
+ $$et{RATIONAL}{$key} = $rational if defined $rational and defined $key;
1655
+ }
1656
+ } else {
1657
+ # skip over unknown information or free bytes
1658
+ $raf->Seek($valLen, 1) or $msg = 'Seek error', last;
1659
+ $verbose and $et->VerboseInfo($tag, undef, Size => $valLen);
1660
+ }
1661
+ }
1662
+ }
1663
+ # modify MIME type if necessary
1664
+ $mime and not $$dirInfo{Parent} and $et->ModifyMimeType($mime);
1665
+
1666
+ $ok or $msg or $msg = 'Unexpected end of file';
1667
+ $verbose and $$et{INDENT} = $oldIndent;
1668
+ return $msg;
1669
+ }
1670
+
1671
+ #------------------------------------------------------------------------------
1672
+ # Read/write a MIE file
1673
+ # Inputs: 0) ExifTool object reference, 1) DirInfo reference
1674
+ # Returns: 1 on success, 0 if this wasn't a valid MIE file, or -1 on write error
1675
+ # - process as a trailer if "Trailer" flag set in dirInfo
1676
+ sub ProcessMIE($$)
1677
+ {
1678
+ my ($et, $dirInfo) = @_;
1679
+ return 1 unless defined $et;
1680
+ my $raf = $$dirInfo{RAF};
1681
+ my $outfile = $$dirInfo{OutFile};
1682
+ my ($buff, $err, $msg, $pos, $end, $isCreating);
1683
+ my $numDocs = 0;
1684
+ #
1685
+ # process as a trailer (from end of file) if specified
1686
+ #
1687
+ if ($$dirInfo{Trailer}) {
1688
+ my $offset = $$dirInfo{Offset} || 0; # offset from end of file
1689
+ $raf->Seek(-10 - $offset, 2) or return 0;
1690
+ for (;;) {
1691
+ # read and validate last 10 bytes
1692
+ $raf->Read($buff, 10) == 10 or last;
1693
+ last unless $buff =~ /~\0\0\x06.{4}(\x10|\x18)(\x04)$/s or
1694
+ $buff =~ /(\x10|\x18)(\x08)$/s;
1695
+ SetByteOrder($1 eq "\x10" ? 'MM' : 'II');
1696
+ my $len = ($2 eq "\x04") ? Get32u(\$buff, 4) : Get64u(\$buff, 0);
1697
+ my $curPos = $raf->Tell() or last;
1698
+ last if $len < 12 or $len > $curPos;
1699
+ # validate element header if 8-byte offset was used
1700
+ if ($2 eq "\x08") {
1701
+ last if $len < 14;
1702
+ $raf->Seek($curPos - 14, 0) and $raf->Read($buff, 4) or last;
1703
+ last unless $buff eq "~\0\0\x0a";
1704
+ }
1705
+ # looks like a good group, so remember start position
1706
+ $pos = $curPos - $len;
1707
+ $end = $curPos unless $end;
1708
+ # seek to 10 bytes from end of previous group
1709
+ $raf->Seek($pos - 10, 0) or last;
1710
+ }
1711
+ # seek to start of first MIE group
1712
+ return 0 unless defined $pos and $raf->Seek($pos, 0);
1713
+ # update DataPos and DirLen for ProcessTrailers()
1714
+ $$dirInfo{DataPos} = $pos;
1715
+ $$dirInfo{DirLen} = $end - $pos;
1716
+ if ($outfile and $$et{DEL_GROUP}{MIE}) {
1717
+ # delete the trailer
1718
+ $et->VPrint(0," Deleting MIE trailer\n");
1719
+ ++$$et{CHANGED};
1720
+ return 1;
1721
+ } elsif ($et->Options('Verbose') or $$et{HTML_DUMP}) {
1722
+ $et->DumpTrailer($dirInfo);
1723
+ }
1724
+ }
1725
+ #
1726
+ # loop through all documents in MIE file
1727
+ #
1728
+ for (;;) {
1729
+ # look for "0MIE" group element
1730
+ my $num = $raf->Read($buff, 8);
1731
+ if ($num == 8) {
1732
+ # verify file identifier
1733
+ if ($buff =~ /^~(\x10|\x18)\x04(.)0MIE/s) {
1734
+ SetByteOrder($1 eq "\x10" ? 'MM' : 'II');
1735
+ my $len = ord($2);
1736
+ # skip extended DataLength if it exists
1737
+ if ($len > 252 and not $raf->Seek(1 << (256 - $len), 1)) {
1738
+ $msg = 'Seek error';
1739
+ last;
1740
+ }
1741
+ } else {
1742
+ return 0 unless $numDocs; # not a MIE file
1743
+ if ($buff =~ /^~/) {
1744
+ $msg = 'Non-standard file-level MIE element';
1745
+ } else {
1746
+ $msg = 'Invalid MIE file-level data';
1747
+ }
1748
+ }
1749
+ } elsif ($numDocs) {
1750
+ last unless $num; # OK, all done with file
1751
+ $msg = 'Truncated MIE element header';
1752
+ } else {
1753
+ return 0 if $num or not $outfile;
1754
+ # we have the ability to create a MIE file from scratch
1755
+ $buff = ''; # start from nothing
1756
+ # set byte order according to preferences
1757
+ $et->SetPreferredByteOrder();
1758
+ $isCreating = 1;
1759
+ }
1760
+ if ($msg) {
1761
+ last if $$dirInfo{Trailer}; # allow other trailers after MIE
1762
+ if ($outfile) {
1763
+ $et->Error($msg);
1764
+ } else {
1765
+ $et->Warn($msg);
1766
+ }
1767
+ last;
1768
+ }
1769
+ # this is a new MIE document -- increment document count
1770
+ unless ($numDocs) {
1771
+ # this is a valid MIE file (unless a trailer on another file)
1772
+ $et->SetFileType();
1773
+ $$et{NO_LIST} = 1; # handle lists ourself
1774
+ $$et{MIE_COUNT} = { };
1775
+ undef $hasZlib;
1776
+ }
1777
+ ++$numDocs;
1778
+
1779
+ # process the MIE groups recursively, beginning with the main MIE group
1780
+ my $tagTablePtr = GetTagTable('Image::ExifTool::MIE::Main');
1781
+
1782
+ my %subdirInfo = (
1783
+ DirName => 'MIE',
1784
+ RAF => $raf,
1785
+ OutFile => $outfile,
1786
+ # don't define Parent so WriteMIEGroup() writes extended terminator
1787
+ );
1788
+ if ($outfile) {
1789
+ # generate lookup for MIE format codes if not done already
1790
+ unless (%mieCode) {
1791
+ foreach (keys %mieFormat) {
1792
+ $mieCode{$mieFormat{$_}} = $_;
1793
+ }
1794
+ }
1795
+ # update %mieMap with user-defined MIE groups
1796
+ UpdateMieMap() unless $doneMieMap;
1797
+ # initialize write directories, with MIE tags taking priority
1798
+ # (note that this may re-initialize directories when writing trailer
1799
+ # to another type of image, but this is OK because we are done writing
1800
+ # the other format by the time we start writing the trailer)
1801
+ $et->InitWriteDirs(\%mieMap, 'MIE');
1802
+ $subdirInfo{ToWrite} = '~' . MIEGroupFormat(1) . "\x04\xfe0MIE\0\0\0\0";
1803
+ $msg = WriteMIEGroup($et, \%subdirInfo, $tagTablePtr);
1804
+ if ($msg) {
1805
+ $et->Error($msg);
1806
+ $err = 1;
1807
+ last;
1808
+ } elsif (defined $msg and $isCreating) {
1809
+ last;
1810
+ }
1811
+ } else {
1812
+ $msg = ProcessMIEGroup($et, \%subdirInfo, $tagTablePtr);
1813
+ if ($msg) {
1814
+ $et->Warn($msg);
1815
+ last;
1816
+ }
1817
+ }
1818
+ }
1819
+ delete $$et{NO_LIST};
1820
+ delete $$et{MIE_COUNT};
1821
+ delete $$et{SET_GROUP1};
1822
+ return $err ? -1 : 1;
1823
+ }
1824
+
1825
+ 1; # end
1826
+
1827
+ __END__
1828
+
1829
+ =head1 NAME
1830
+
1831
+ Image::ExifTool::MIE - Read/write MIE meta information
1832
+
1833
+ =head1 SYNOPSIS
1834
+
1835
+ This module is used by Image::ExifTool
1836
+
1837
+ =head1 DESCRIPTION
1838
+
1839
+ This module contains routines required by Image::ExifTool to read and write
1840
+ information in MIE files.
1841
+
1842
+ =head1 WHAT IS MIE?
1843
+
1844
+ MIE stands for "Meta Information Encapsulation". The MIE format is an
1845
+ extensible, dedicated meta information format which supports storage of
1846
+ binary as well as textual meta information. MIE can be used to encapsulate
1847
+ meta information from many sources and bundle it together with any type of
1848
+ file.
1849
+
1850
+ =head2 Features
1851
+
1852
+ Below is very subjective score card comparing the features of a number of
1853
+ common file and meta information formats, and comparing them to MIE. The
1854
+ following features are rated for each format with a score of 0 to 10:
1855
+
1856
+ 1) Extensible (can incorporate user-defined information).
1857
+ 2) Meaningful tag ID's (hint to meaning of unknown information).
1858
+ 3) Sequential read/write ability (streamable).
1859
+ 4) Hierarchical information structure.
1860
+ 5) Easy to implement reader/writer/editor.
1861
+ 6) Order of information well defined.
1862
+ 7) Large data lengths supported: >64kB (+5) and >4GB (+5).
1863
+ 8) Localized text strings.
1864
+ 9) Multiple documents in a single file.
1865
+ 10) Compact format doesn't squander disk space or bandwidth.
1866
+ 11) Compressed meta information supported.
1867
+ 12) Relocatable data elements (ie. no fixed offsets).
1868
+ 13) Binary meta information (+7) with variable byte order (+3).
1869
+ 14) Mandatory tags not required (an unnecessary complication).
1870
+ 15) Append information to end of file without editing.
1871
+
1872
+ Feature number Total
1873
+ Format 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Score
1874
+ ------ --------------------------------------------- -----
1875
+ MIE 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 150
1876
+ PDF 10 10 0 10 0 0 10 0 10 10 10 0 7 10 10 97
1877
+ PNG 10 10 10 0 8 0 5 10 0 10 10 10 0 10 0 93
1878
+ XMP 10 10 10 10 2 0 10 10 10 0 0 10 0 10 0 92
1879
+ AIFF 0 5 10 10 10 0 5 0 0 10 0 10 7 10 0 77
1880
+ RIFF 0 5 10 10 10 0 5 0 0 10 0 10 7 10 0 77
1881
+ JPEG 10 0 10 0 10 0 0 0 0 10 0 10 7 10 0 67
1882
+ EPS 10 10 10 0 0 0 10 0 10 0 0 5 0 10 0 65
1883
+ CIFF 0 0 0 10 10 0 5 0 0 10 0 10 10 10 0 65
1884
+ TIFF 0 0 0 10 5 10 5 0 10 10 0 0 10 0 0 60
1885
+ EXIF 0 0 0 10 5 10 0 0 0 10 0 0 10 0 0 45
1886
+ IPTC 0 0 10 0 8 0 0 0 0 10 0 10 7 0 0 45
1887
+
1888
+ By design, MIE ranks highest by a significant margin. Other formats with
1889
+ reasonable scores are PDF, PNG and XMP, but each has significant weak
1890
+ points. What may be surprising is that TIFF, EXIF and IPTC rank so low.
1891
+
1892
+ As well as scoring high in all these features, the MIE format has the unique
1893
+ ability to encapsulate any other type of file, and provides a non-invasive
1894
+ method of adding meta information to a file. The meta information is
1895
+ logically separated from the original file data, which is extremely
1896
+ important because meta information is routinely lost when files are edited.
1897
+
1898
+ Also, the MIE format supports multiple files by simple concatenation,
1899
+ enabling all kinds of wonderful features such as linear databases, edit
1900
+ histories or non-intrusive file updates. This ability can also be leveraged
1901
+ to allow MIE-format trailers to be added to some other file types.
1902
+
1903
+ =head1 MIE 1.1 FORMAT SPECIFICATION (2007-01-21)
1904
+
1905
+ =head2 File Structure
1906
+
1907
+ A MIE file consists of a series of MIE elements. A MIE element may contain
1908
+ either data or a group of MIE elements, providing a hierarchical format for
1909
+ storing data. Each MIE element is identified by a human-readable tag name,
1910
+ and may store data from zero to 2^64-1 bytes in length.
1911
+
1912
+ =head2 File Signature
1913
+
1914
+ The first element in the MIE file must be an uncompressed MIE group element
1915
+ with a tag name of "0MIE". This restriction allows the first 8 bytes of a
1916
+ MIE file to be used to identify a MIE format file. The following table
1917
+ lists the two possible initial byte sequences for a MIE-format file (the
1918
+ first for big-endian, and the second for little-endian byte ordering):
1919
+
1920
+ Byte Number: 0 1 2 3 4 5 6 7
1921
+
1922
+ C Characters: ~ \x10 \x04 ? 0 M I E
1923
+ or ~ \x18 \x04 ? 0 M I E
1924
+
1925
+ Hexadecimal: 7e 10 04 ? 30 4d 49 45
1926
+ or 7e 18 04 ? 30 4d 49 45
1927
+
1928
+ Decimal: 126 16 4 ? 48 77 73 69
1929
+ or 126 24 4 ? 48 77 73 69
1930
+
1931
+ Note that byte 1 may have one of the two possible values (0x10 or 0x18), and
1932
+ byte 3 may have any value (0x00 to 0xff).
1933
+
1934
+ =head2 Element Structure
1935
+
1936
+ 1 byte SyncByte = 0x7e (decimal 126, character '~')
1937
+ 1 byte FormatCode (see below)
1938
+ 1 byte TagLength (T)
1939
+ 1 byte DataLength (gives D if DataLength < 253)
1940
+ T bytes TagName (T given by TagLength)
1941
+ 2 bytes DataLength2 [exists only if DataLength == 255 (0xff)]
1942
+ 4 bytes DataLength4 [exists only if DataLength == 254 (0xfe)]
1943
+ 8 bytes DataLength8 [exists only if DataLength == 253 (0xfd)]
1944
+ D bytes DataBlock (D given by DataLength)
1945
+
1946
+ The minimum element length is 4 bytes (for a group terminator). The maximum
1947
+ DataBlock size is 2^64-1 bytes. TagLength and DataLength are unsigned
1948
+ integers, and the byte ordering for multi-byte DataLength fields is
1949
+ specified by the containing MIE group element. The SyncByte is byte
1950
+ aligned, so no padding is added to align on an N-byte boundary.
1951
+
1952
+ =head3 FormatCode
1953
+
1954
+ The format code is a bitmask that defines the format of the data:
1955
+
1956
+ 7654 3210
1957
+ ++++ ---- FormatType
1958
+ ---- +--- TypeModifier
1959
+ ---- -+-- Compressed
1960
+ ---- --++ FormatSize
1961
+
1962
+ =over 4
1963
+
1964
+ =item FormatType (bitmask 0xf0):
1965
+
1966
+ 0x00 - other (or unknown) data
1967
+ 0x10 - MIE group
1968
+ 0x20 - text string
1969
+ 0x30 - list of null-separated text strings
1970
+ 0x40 - integer
1971
+ 0x50 - rational
1972
+ 0x60 - fixed point
1973
+ 0x70 - floating point
1974
+ 0x80 - free space
1975
+
1976
+ =item TypeModifier (bitmask 0x08):
1977
+
1978
+ Modifies the meaning of certain FormatTypes (0x00-0x60):
1979
+
1980
+ 0x08 - other data sensitive to MIE group byte order
1981
+ 0x18 - MIE group with little-endian byte ordering
1982
+ 0x28 - UTF encoded text string
1983
+ 0x38 - UTF encoded text string list
1984
+ 0x48 - signed integer
1985
+ 0x58 - signed rational (denominator is always unsigned)
1986
+ 0x68 - signed fixed-point
1987
+
1988
+ =item Compressed (bitmask 0x04):
1989
+
1990
+ If this bit is set, the data block is compressed using Zlib deflate. An
1991
+ entire MIE group may be compressed, with the exception of file-level groups.
1992
+
1993
+ =item FormatSize (bitmask 0x03):
1994
+
1995
+ Gives the byte size of each data element:
1996
+
1997
+ 0x00 - 8 bits (1 byte)
1998
+ 0x01 - 16 bits (2 bytes)
1999
+ 0x02 - 32 bits (4 bytes)
2000
+ 0x03 - 64 bits (8 bytes)
2001
+
2002
+ The number of bytes in a single value for this format is given by
2003
+ 2**FormatSize (or 1 << FormatSize). The number of values is the data length
2004
+ divided by this number of bytes. It is an error if the data length is not
2005
+ an even multiple of the format size in bytes.
2006
+
2007
+ =back
2008
+
2009
+ The following is a list of all currently defined MIE FormatCode values for
2010
+ uncompressed data (add 0x04 to each value for compressed data):
2011
+
2012
+ 0x00 - other data (insensitive to MIE group byte order) (1)
2013
+ 0x01 - other 16-bit data (may be byte swapped)
2014
+ 0x02 - other 32-bit data (may be byte swapped)
2015
+ 0x03 - other 64-bit data (may be byte swapped)
2016
+ 0x08 - other data (sensitive to MIE group byte order) (1)
2017
+ 0x10 - MIE group with big-endian values (1)
2018
+ 0x18 - MIE group with little-endian values (1)
2019
+ 0x20 - ASCII (ISO 8859-1) string (2,3)
2020
+ 0x28 - UTF-8 string (2,3,4)
2021
+ 0x29 - UTF-16 string (2,3,4)
2022
+ 0x2a - UTF-32 string (2,3,4)
2023
+ 0x30 - ASCII (ISO 8859-1) string list (3,5)
2024
+ 0x38 - UTF-8 string list (3,4,5)
2025
+ 0x39 - UTF-16 string list (3,4,5)
2026
+ 0x3a - UTF-32 string list (3,4,5)
2027
+ 0x40 - unsigned 8-bit integer
2028
+ 0x41 - unsigned 16-bit integer
2029
+ 0x42 - unsigned 32-bit integer
2030
+ 0x43 - unsigned 64-bit integer (6)
2031
+ 0x48 - signed 8-bit integer
2032
+ 0x49 - signed 16-bit integer
2033
+ 0x4a - signed 32-bit integer
2034
+ 0x4b - signed 64-bit integer (6)
2035
+ 0x52 - unsigned 32-bit rational (16-bit numerator then denominator) (7)
2036
+ 0x53 - unsigned 64-bit rational (32-bit numerator then denominator) (7)
2037
+ 0x5a - signed 32-bit rational (denominator is unsigned) (7)
2038
+ 0x5b - signed 64-bit rational (denominator is unsigned) (7)
2039
+ 0x61 - unsigned 16-bit fixed-point (high 8 bits is integer part) (8)
2040
+ 0x62 - unsigned 32-bit fixed-point (high 16 bits is integer part) (8)
2041
+ 0x69 - signed 16-bit fixed-point (high 8 bits is signed integer) (8)
2042
+ 0x6a - signed 32-bit fixed-point (high 16 bits is signed integer) (8)
2043
+ 0x72 - 32-bit IEEE float (not recommended for portability reasons)
2044
+ 0x73 - 64-bit IEEE double (not recommended for portability reasons) (6)
2045
+ 0x80 - free space (value data does not contain useful information)
2046
+
2047
+ Notes:
2048
+
2049
+ =over 4
2050
+
2051
+ =item 1.
2052
+
2053
+ The byte ordering specified by the MIE group TypeModifier applies to the MIE
2054
+ group element as well as all elements within the group. Data for all
2055
+ FormatCodes except 0x08 (other data, sensitive to byte order) may be
2056
+ transferred between MIE groups with different byte order by byte swapping
2057
+ the uncompressed data according to the specified data format. The following
2058
+ list illustrates the byte-swapping pattern, based on FormatSize, for all
2059
+ format types except rational (FormatType 0x50).
2060
+
2061
+ FormatSize Change in Byte Sequence
2062
+ -------------- -----------------------------------
2063
+ 0x00 (8 bits) 0 1 2 3 4 5 6 7 --> 0 1 2 3 4 5 6 7 (no change)
2064
+ 0x01 (16 bits) 0 1 2 3 4 5 6 7 --> 1 0 3 2 5 4 7 6
2065
+ 0x02 (32 bits) 0 1 2 3 4 5 6 7 --> 3 2 1 0 7 6 5 4
2066
+ 0x03 (64 bits) 0 1 2 3 4 5 6 7 --> 7 6 5 4 3 2 1 0
2067
+
2068
+ Rational values consist of two integers, so they are swapped as the next
2069
+ lower FormatSize. For example, a 32-bit rational (FormatSize 0x02, and
2070
+ FormatCode 0x52 or 0x5a) is swapped as two 16-bit values (ie. as if it had
2071
+ FormatSize 0x01).
2072
+
2073
+ =item 2.
2074
+
2075
+ The TagName of a string element may have an 6-character suffix to indicate a
2076
+ specific locale. (eg. "Title-en_US", or "Keywords-de_DE").
2077
+
2078
+ =item 3.
2079
+
2080
+ Text strings are not normally null terminated, however they may be padded
2081
+ with one or more null characters to the end of the data block to allow
2082
+ strings to be edited within fixed-length data blocks. Newlines in the text
2083
+ are indicated by a single LF (0x0a) character.
2084
+
2085
+ =item 4.
2086
+
2087
+ UTF strings must not begin with a byte order mark (BOM) since the byte order
2088
+ and byte size are specified by the MIE format. If a BOM is found, it should
2089
+ be treated as a zero-width non-breaking space.
2090
+
2091
+ =item 5.
2092
+
2093
+ A list of text strings separated by null characters. These lists must not
2094
+ be null padded or null terminated, since this would be interpreted as
2095
+ additional zero-length strings. For ASCII and UTF-8 strings, the null
2096
+ character is a single zero (0x00) byte. For UTF-16 or UTF-32 strings, the
2097
+ null character is 2 or 4 zero bytes respectively.
2098
+
2099
+ =item 6.
2100
+
2101
+ 64-bit integers and doubles are subject to the specified byte ordering for
2102
+ both 32-bit words and bytes within these words. For instance, the high
2103
+ order byte is always the first byte if big-endian, and the eighth byte if
2104
+ little-endian. This means that some swapping is always necessary for these
2105
+ values on systems where the byte order differs from the word order (eg. some
2106
+ ARM systems), regardless of the endian-ness of the stored values.
2107
+
2108
+ =item 7.
2109
+
2110
+ Rational values are treated as two separate integers. The numerator always
2111
+ comes first regardless of the byte ordering. In a signed rational value,
2112
+ only the numerator is signed. The denominator of all rational values is
2113
+ unsigned (eg. a signed 64-bit rational of 0x80000000/0x80000000 evaluates to
2114
+ -1, not +1).
2115
+
2116
+ =item 8.
2117
+
2118
+ 32-bit fixed point values are converted to floating point by treating them
2119
+ as an integer and dividing by an appropriate value. eg)
2120
+
2121
+ 16-bit fixed value = 16-bit integer value / 256.0
2122
+ 32-bit fixed value = 32-bit integer value / 65536.0
2123
+
2124
+ =back
2125
+
2126
+ =head3 TagLength
2127
+
2128
+ Gives the length of the TagName string. Any value between 0 and 255 is
2129
+ valid, but the TagLength of 0 is valid only for the MIE group terminator.
2130
+
2131
+ =head3 DataLength
2132
+
2133
+ DataLength is an unsigned byte that gives the number of bytes in the data
2134
+ block. A value between 0 and 252 gives the data length directly, and
2135
+ numbers from 253 to 255 are reserved for extended DataLength codes. Codes
2136
+ of 255, 254 and 253 indicate that the element contains an additional 2, 4 or
2137
+ 8 byte unsigned integer representing the data length.
2138
+
2139
+ 0-252 - length of data block
2140
+ 255 (0xff) - use DataLength2
2141
+ 254 (0xfe) - use DataLength4
2142
+ 253 (0xfd) - use DataLength8
2143
+
2144
+ A DataLength of zero is valid for any element except a compressed MIE group.
2145
+ A zero DataLength for an uncompressed MIE group indicates that the group
2146
+ length is unknown. For other elements, a zero length indicates there is no
2147
+ associated data. A terminator element must have a DataLength of 0, 6 or 10,
2148
+ and may not use an extended DataLength.
2149
+
2150
+ =head3 TagName
2151
+
2152
+ The TagName string is 0 to 255 bytes long, and is composed of the ASCII
2153
+ characters A-Z, a-z, 0-9 and underline ('_'). Also, a dash ('-') is used to
2154
+ separate the language/country code in the TagName of a localized text
2155
+ string, and a units string (possibly containing other ASCII characters) may
2156
+ be appear in brackets at the end of the TagName. The TagName string is NOT
2157
+ null terminated. A MIE element with a tag string of zero length is reserved
2158
+ for the group terminator.
2159
+
2160
+ MIE elements are sorted alphabetically by TagName within each group.
2161
+ Multiple elements with the same TagName are allowed, even within the same
2162
+ group.
2163
+
2164
+ TagNames should be meaningful. Case is significant. Words should be
2165
+ lowercase with an uppercase first character, and acronyms should be all
2166
+ upper case. The underline ("_") is provided to allow separation of two
2167
+ acronyms or two numbers, but it shouldn't be used unless necessary. No
2168
+ separation is necessary between an acronym and a word (eg. "ISOSetting").
2169
+
2170
+ All TagNames should start with an uppercase letter. An exception to this
2171
+ rule allows tags to begin with a digit (0-9) if they must come before other
2172
+ tags in the sort order, or a lowercase letter (a-z) if they must come after.
2173
+ For instance, the '0Type' element begins with a digit so it comes before,
2174
+ and the 'data' element begins with a lowercase letter so that it comes after
2175
+ meta information tags in the main "0MIE" group.
2176
+
2177
+ Tag names for localized text strings have an 6-character suffix with the
2178
+ following format: The first character is a dash ('-'), followed by a
2179
+ 2-character lower case ISO 639-1 language code, then an underline ('_'), and
2180
+ ending with a 2-character upper case ISO 3166-1 alpha 2 country code. (eg.
2181
+ "-en_US", "-en_GB", "-de_DE" or "-fr_FR". Note that "GB", and not "UK" is
2182
+ the code for Great Britain, although "UK" should be recognized for
2183
+ compatibility reasons.) The suffix is included when sorting the tags
2184
+ alphabetically, so the default locale (with no tag-name suffix) always comes
2185
+ first. If the country is unknown or not applicable, a country code of "XX"
2186
+ should be used.
2187
+
2188
+ Tags with numerical values may allow units of measurement to be specified.
2189
+ The units string is stored in brackets at the end of the tag name, and is
2190
+ composed of zero or more ASCII characters in the range 0x21 to 0x7d,
2191
+ excluding the bracket characters 0x28 and 0x29. (eg. "Resolution(/cm)" or
2192
+ "SpecificHeat(J/kg.K)".) See L<Image::ExifTool::MIEUnits> for details. Unit
2193
+ strings are not localized, and may not be used in combination with localized
2194
+ text strings.
2195
+
2196
+ Sets of tags which would require a common prefix should be added in a
2197
+ separate MIE group instead of adding the prefix to all tag names. For
2198
+ example, instead of these TagName's:
2199
+
2200
+ ExternalFlashType
2201
+ ExternalFlashSerialNumber
2202
+ ExternalFlashFired
2203
+
2204
+ one would instead designate a separate "ExternalFlash" MIE group to contain
2205
+ the following elements:
2206
+
2207
+ Type
2208
+ SerialNumber
2209
+ Fired
2210
+
2211
+ =head3 DataLength2/4/8
2212
+
2213
+ These extended DataLength fields exist only if DataLength is 255, 254 or
2214
+ 253, and are respectively 2, 4 or 8 byte unsigned integers giving the data
2215
+ block length. One of these values must be used if the data block is larger
2216
+ than 252 bytes, but they may be used if desired for smaller blocks too
2217
+ (although this may add a few unnecessary bytes to the MIE element).
2218
+
2219
+ =head3 DataBlock
2220
+
2221
+ The data value for the MIE element. The format of the data is given by the
2222
+ FormatCode. For MIE group elements, the data includes all contained
2223
+ elements and the group terminator.
2224
+
2225
+ =head2 MIE groups
2226
+
2227
+ All MIE data elements must be contained within a group. A group begins with
2228
+ a MIE group element, and ends with a group terminator. Groups may be nested
2229
+ in a hierarchy to arbitrary depth.
2230
+
2231
+ A MIE group element is identified by a format code of 0x10 (big endian byte
2232
+ ordering) or 0x18 (little endian). The group terminator is distinguished by
2233
+ a zero TagLength (it is the only element allowed to have a zero TagLength),
2234
+ and has a FormatCode of 0x00.
2235
+
2236
+ The MIE group element is permitted to have a zero DataLength only if the
2237
+ data is uncompressed. This special value indicates that the group length is
2238
+ unknown (otherwise the minimum value for DataLength is 4, corresponding the
2239
+ the minimum group size which includes a terminator of at least 4 bytes). If
2240
+ DataLength is zero, all elements in the group must be parsed until the group
2241
+ terminator is found. If non-zero, DataLength includes the length of all
2242
+ elements contained within the group, including the group terminator. Use of
2243
+ a non-zero DataLength is encouraged because it allows readers quickly skip
2244
+ over entire MIE groups. For compressed groups DataLength must be non-zero,
2245
+ and is the length of the compressed group data (which includes the
2246
+ compressed group terminator).
2247
+
2248
+ =head3 Group Terminator
2249
+
2250
+ The group terminator has a FormatCode and TagLength of zero. The terminator
2251
+ DataLength must be 0, 6 or 10 bytes, and extended DataLength codes may not
2252
+ be used. With a zero DataLength, the byte sequence for a terminator is "7e
2253
+ 00 00 00" (hex). With a DataLength of 6 or 10 bytes, the terminator data
2254
+ block contains information about the length and byte ordering of the
2255
+ preceding group. This additional information is recommended for file-level
2256
+ groups, and is used in multi-document MIE files and MIE trailers to allow
2257
+ the file to be scanned backwards from the end. (This may also allow some
2258
+ documents to be recovered if part of the file is corrupted.) The structure
2259
+ of this optional terminator data block is as follows:
2260
+
2261
+ 4 or 8 bytes GroupLength (unsigned integer)
2262
+ 1 byte ByteOrder (0x10 or 0x18, same as MIE group)
2263
+ 1 byte GroupLengthSize (0x04 or 0x08)
2264
+
2265
+ The ByteOrder and GroupLengthSize values give the byte ordering and size of
2266
+ the GroupLength integer. The GroupLength value is the total length of the
2267
+ entire MIE group ending with this terminator, including the opening MIE
2268
+ group element and the terminator itself.
2269
+
2270
+ =head3 File-level MIE groups
2271
+
2272
+ File-level MIE groups may NOT be compressed.
2273
+
2274
+ All elements in a MIE file are contained within a special group with a
2275
+ TagName of "0MIE". The purpose of the "OMIE" group is to provide a unique
2276
+ signature at the start of the file, and to encapsulate information allowing
2277
+ files to be easily combined. The "0MIE" group must be terminated like any
2278
+ other group, but it is recommended that the terminator of a file-level group
2279
+ include the optional data block (defined above) to provide information about
2280
+ the group length and byte order.
2281
+
2282
+ It is valid to have more than one "0MIE" group at the file level, allowing
2283
+ multiple documents in a single MIE file. Furthermore, the MIE structure
2284
+ enables multi-document files to be generated by simply concatenating two or
2285
+ more MIE files.
2286
+
2287
+ =head2 Scanning Backwards through a MIE File
2288
+
2289
+ The steps below give an algorithm to quickly locate the last document in a
2290
+ MIE file:
2291
+
2292
+ =over 4
2293
+
2294
+ =item 1.
2295
+
2296
+ Read the last 10 bytes of the file. (Note that a valid MIE file may be as
2297
+ short as 12 bytes long, but a file this length contains only an an empty MIE
2298
+ group.)
2299
+
2300
+ =item 2.
2301
+
2302
+ If the last byte of the file is zero, then it is not possible to scan
2303
+ backward through the file, so the file must be scanned from the beginning.
2304
+ Otherwise, proceed to the next step.
2305
+
2306
+ =item 3.
2307
+
2308
+ If the last byte is 4 or 8, the terminator contains information about the
2309
+ byte ordering and length of the group. Otherwise, stop here because this
2310
+ isn't a valid MIE file.
2311
+
2312
+ =item 4.
2313
+
2314
+ The next-to-last byte must be either 0x10 indicating big-endian byte
2315
+ ordering or 0x18 for little-endian ordering, otherwise this isn't a valid
2316
+ MIE file.
2317
+
2318
+ =item 5.
2319
+
2320
+ The value of the preceding 4 or 8 bytes gives the length of the complete
2321
+ file-level MIE group (GroupLength). This length includes both the leading
2322
+ MIE group element and the terminator element itself. The value is an
2323
+ unsigned integer with a byte length given in step 3), and a byte order from
2324
+ step 4). From the current file position (at the end of the data read in
2325
+ step 1), seek backward by this number of bytes to find the start of the MIE
2326
+ group element for this document.
2327
+
2328
+ =back
2329
+
2330
+ This algorithm may be repeated again beginning at this point in the file to
2331
+ locate the next-to-last document, etc.
2332
+
2333
+ The table below lists all 5 valid patterns for the last 14 bytes of a
2334
+ file-level MIE group, with all numbers in hex. The comments indicate the
2335
+ length and byte ordering of GroupLength (xx) if available:
2336
+
2337
+ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 7e 00 00 00 - (no GroupLength)
2338
+ ?? ?? ?? ?? 7e 00 00 06 xx xx xx xx 10 04 - 4 bytes, big endian
2339
+ ?? ?? ?? ?? 7e 00 00 06 xx xx xx xx 18 04 - 4 bytes, little endian
2340
+ 7e 00 00 0a xx xx xx xx xx xx xx xx 10 08 - 8 bytes, big endian
2341
+ 7e 00 00 0a xx xx xx xx xx xx xx xx 18 08 - 8 bytes, little endian
2342
+
2343
+ =head2 Trailer Signature
2344
+
2345
+ The MIE format may be used for trailer information appended to other types
2346
+ of files. When this is done, a signature must appear at the end of the main
2347
+ MIE group to uniquely identify the MIE format trailer. To achieve this, a
2348
+ "zmie" trailer signature is written as the last element in the main "0MIE"
2349
+ group. This element has a FormatCode of 0, a TagLength of 4, a DataLength
2350
+ of 0, and a TagName of "zmie". With this signature, the hex byte sequence
2351
+ "7e 00 04 00 7a 6d 69 65" appears immediately before the final group
2352
+ terminator, and the last 22 bytes of the trailer correspond to one of the
2353
+ following 4 patterns (where the trailer length is given by "xx", as above):
2354
+
2355
+ ?? ?? ?? ?? 7e 00 04 00 7a 6d 69 65 7e 00 00 06 xx xx xx xx 10 04
2356
+ ?? ?? ?? ?? 7e 00 04 00 7a 6d 69 65 7e 00 00 06 xx xx xx xx 18 04
2357
+ 7e 00 04 00 7a 6d 69 65 7e 00 00 0a xx xx xx xx xx xx xx xx 10 08
2358
+ 7e 00 04 00 7a 6d 69 65 7e 00 00 0a xx xx xx xx xx xx xx xx 18 08
2359
+
2360
+ Note that the zero-DataLength terminator may not be used here because the
2361
+ trailer length must be known for seeking backwards from the end of the file.
2362
+
2363
+ Multiple trailers may be appended to the same file using this technique.
2364
+
2365
+ =head2 MIE Data Values
2366
+
2367
+ MIE data values for a given tag are usually not restricted to a specific
2368
+ FormatCode. Any value may be represented in any appropriate format,
2369
+ including numbers represented in string (ASCII or UTF) form.
2370
+
2371
+ It is preferred that closely related values with the same format are written
2372
+ to a single tag instead of using multiple tags. This improves localization
2373
+ of like values and decreases MIE element overhead. For instance, instead of
2374
+ separate ImageWidth and ImageHeight tags, a single ImageSize tag is defined.
2375
+
2376
+ Tags which may take on a discrete set of values should have meaningful
2377
+ values if possible. This improves the extensibility of the format and
2378
+ allows a more reasonable interpretation of unrecognized values.
2379
+
2380
+ =head3 Numerical Representation
2381
+
2382
+ Integer and floating point numbers may be represented in binary or string
2383
+ form. In string form, integers are a series of digits with an optional
2384
+ leading sign (eg. "[+|-]DDDDDD"), and multiple values are separated by a
2385
+ single space character (eg. "23 128 -32"). Floating point numbers are
2386
+ similar but may also contain a decimal point and/or a signed exponent with a
2387
+ leading 'e' character (eg. "[+|-]DD[.DDDDDD][e(+|-)EEE]"). The string "inf"
2388
+ is used to represent infinity. One advantage of numerical strings is that
2389
+ they can have an arbitrarily high precision because the possible number of
2390
+ significant digits is virtually unlimited.
2391
+
2392
+ Note that numerical values may have associated units of measurement which
2393
+ are specified in the L</TagName> string.
2394
+
2395
+ =head3 Date/Time Format
2396
+
2397
+ All MIE dates are strings in the form "YYYY:mm:dd HH:MM:SS.ss+HH:MM". The
2398
+ fractional seconds (".ss") are optional, and if included may contain any
2399
+ number of significant digits (unlike all other fields which are a fixed
2400
+ number of digits and must be padded with leading zeros if necessary). The
2401
+ timezone ("+HH:MM" or "-HH:MM") is recommended but not required. If not
2402
+ given, the local system timezone is assumed.
2403
+
2404
+ =head2 MIME Type
2405
+
2406
+ The basic MIME type for a MIE file is "application/x-mie", however the
2407
+ specific MIME type depends on the type of subfile, and is obtained by adding
2408
+ "x-mie-" to the MIME type of the subfile. For example, with a subfile of
2409
+ type "image/jpeg", the MIE file MIME type is "image/x-mie-jpeg". But note
2410
+ that the "x-" is not duplicated if the subfile MIME type already starts with
2411
+ "x-". So a subfile with MIME type "image/x-raw" is contained within a MIE
2412
+ file of type "image/x-mie-raw", not "image/x-mie-x-raw". In the case of
2413
+ multiple documents in a MIE file, the MIME type is taken from the first
2414
+ document. Regardless of the subfile type, all MIE-format files should have
2415
+ a filename extension of ".MIE".
2416
+
2417
+ =head2 Levels of Support
2418
+
2419
+ Basic MIE reader/writer applications may choose not to provide support for
2420
+ some advanced features of the MIE format. Features which may not be
2421
+ supported by all software are:
2422
+
2423
+ =over 4
2424
+
2425
+ =item Compression
2426
+
2427
+ Software not supporting compression must ignore compressed elements and
2428
+ groups, but should be able to process the remaining information.
2429
+
2430
+ =item Large data lengths
2431
+
2432
+ Some software may limit the maximum size of a MIE group or element.
2433
+ Historically, a limit of 2GB may be imposed by some systems. However,
2434
+ 8-byte data lengths should be supported by all applications provided the
2435
+ value doesn't exceed the system limit. (eg. For systems with a 2GB limit,
2436
+ 8-byte data lengths should be supported if the upper 17 bits are all zero.)
2437
+ If a data length above the system limit is encountered, it may be necessary
2438
+ for the application to stop processing if it can not seek to the next
2439
+ element in the file.
2440
+
2441
+ =back
2442
+
2443
+ =head1 EXAMPLES
2444
+
2445
+ This section gives examples for working with MIE information using ExifTool.
2446
+
2447
+ =head2 Encapsulating Information with Data in a MIE File
2448
+
2449
+ The following command encapsulates any file recognized by ExifTool inside a
2450
+ MIE file, and initializes MIE tags from information within the file:
2451
+
2452
+ exiftool -o new.mie -tagsfromfile FILE '-mie:all<all' \
2453
+ '-subfilename<filename' '-subfiletype<filetype' \
2454
+ '-subfilemimetype<mimetype' '-subfiledata<=FILE'
2455
+
2456
+ where C<FILE> is the name of the file.
2457
+
2458
+ For unrecognized files, this command may be used:
2459
+
2460
+ exiftool -o new.mie -subfilename=FILE -subfiletype=TYPE \
2461
+ -subfilemimetype=MIME '-subfiledata<=FILE'
2462
+
2463
+ where C<TYPE> and C<MIME> represent the source file type and MIME type
2464
+ respectively.
2465
+
2466
+ =head2 Adding a MIE Trailer to a File
2467
+
2468
+ The MIE format may also be used to store information in a trailer appended
2469
+ to another type of file. Beware that trailers may not be compatible with
2470
+ all file formats, but JPEG and TIFF are two formats where additional trailer
2471
+ information doesn't create any problems for normal parsing of the file.
2472
+ Also note that this technique has the disadvantage that trailer information
2473
+ is commonly lost if the file is subsequently edited by other software.
2474
+
2475
+ Creating a MIE trailer with ExifTool is a two-step process since ExifTool
2476
+ can't currently be used to add a MIE trailer directly. The example below
2477
+ illustrates the steps for adding a MIE trailer with a small preview image
2478
+ (C<small.jpg>) to a destination JPEG image (C<dst.jpg>).
2479
+
2480
+ Step 1) Create a MIE file with a TrailerSignature containing the desired
2481
+ information:
2482
+
2483
+ exiftool -o new.mie -trailersignature=1 -tagsfromfile small.jpg \
2484
+ '-previewimagetype<filetype' '-previewimagesize<imagesize' \
2485
+ '-previewimagename<filename' '-previewimage<=small.jpg'
2486
+
2487
+ Step 2) Append the MIE information to another file. In Unix, this can be
2488
+ done with the 'cat' command:
2489
+
2490
+ cat new.mie >> dst.jpg
2491
+
2492
+ Once added, ExifTool may be used to edit or delete a MIE trailer in a JPEG
2493
+ or TIFF image.
2494
+
2495
+ =head2 Multiple MIE Documents in a Single File
2496
+
2497
+ The MIE specification allows multiple MIE documents (or trailers) to exist
2498
+ in a single file. A file like this may be created by simply concatenating
2499
+ MIE documents. ExifTool may be used to access information in a specific
2500
+ document by adding a copy number to the MIE group name. For example:
2501
+
2502
+ # write the Author tag in the second MIE document
2503
+ exiftool -mie2:author=phil test.mie
2504
+
2505
+ # delete the first MIE document from a file
2506
+ exiftool -mie1:all= test.mie
2507
+
2508
+ =head2 Units of Measurement
2509
+
2510
+ Some MIE tags allow values to be specified in different units of
2511
+ measurement. In the MIE file format these units are combined with the tag
2512
+ name, but when using ExifTool they are specified in brackets after the
2513
+ value:
2514
+
2515
+ exiftool -mie:gpsaltitude='7500(ft)' test.mie
2516
+
2517
+ If no units are provided, the default units are written.
2518
+
2519
+ =head2 Localized Text
2520
+
2521
+ Localized text values are accessed by adding a language/country code to the
2522
+ tag name. For example:
2523
+
2524
+ exiftool -comment-en_us='this is a comment' test.mie
2525
+
2526
+ =head1 REVISIONS
2527
+
2528
+ 2010-04-05 - Fixed "Format Size" Note 7 to give the correct number of bits
2529
+ in the example rational value
2530
+ 2007-01-21 - Specified LF character (0x0a) for text newline sequence
2531
+ 2007-01-19 - Specified ISO 8859-1 character set for extended ASCII codes
2532
+ 2007-01-01 - Improved wording of Step 5 for scanning backwards in MIE file
2533
+ 2006-12-30 - Added EXAMPLES section and note about UTF BOM
2534
+ 2006-12-20 - MIE 1.1: Changed meaning of TypeModifier bit (0x08) for
2535
+ unknown data (FormatType 0x00), and documented byte swapping
2536
+ 2006-12-14 - MIE 1.0: Added Data Values and Numerical Representations
2537
+ sections, and added ability to specify units in tag names
2538
+ 2006-11-09 - Added Levels of Support section
2539
+ 2006-11-03 - Added Trailer Signature
2540
+ 2005-11-18 - Original specification created
2541
+
2542
+ =head1 AUTHOR
2543
+
2544
+ Copyright 2003-2015, Phil Harvey (phil at owl.phy.queensu.ca)
2545
+
2546
+ This library is free software; you can redistribute it and/or modify it
2547
+ under the same terms as Perl itself. The MIE format itself is also
2548
+ copyright Phil Harvey, and is covered by the same free-use license.
2549
+
2550
+ =head1 REFERENCES
2551
+
2552
+ =over 4
2553
+
2554
+ =item L<http://owl.phy.queensu.ca/~phil/exiftool/MIE1.1-20070121.pdf>
2555
+
2556
+ =back
2557
+
2558
+ =head1 SEE ALSO
2559
+
2560
+ L<Image::ExifTool::TagNames/MIE Tags>, L<Image::ExifTool::MIEUnits>,
2561
+ L<Image::ExifTool(3pm)|Image::ExifTool>
2562
+
2563
+ =cut
2564
+