exiftool_vendored 10.04.0 → 10.23.0

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

Potentially problematic release.


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

Files changed (1225) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Image-ExifTool-10.23/Changes +7480 -0
  3. data/bin/Image-ExifTool-10.23/MANIFEST +977 -0
  4. data/bin/Image-ExifTool-10.23/META.yml +28 -0
  5. data/bin/Image-ExifTool-10.23/Makefile.PL +46 -0
  6. data/bin/Image-ExifTool-10.23/README +236 -0
  7. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/exif2iptc.args +0 -0
  8. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/exif2xmp.args +0 -0
  9. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/gps2xmp.args +0 -0
  10. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/iptc2exif.args +0 -0
  11. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/iptc2xmp.args +0 -0
  12. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/iptcCore.args +0 -0
  13. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/pdf2xmp.args +0 -0
  14. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/xmp2exif.args +0 -0
  15. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/xmp2gps.args +0 -0
  16. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/xmp2iptc.args +0 -0
  17. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/arg_files/xmp2pdf.args +0 -0
  18. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/config_files/convert_regions.config +0 -0
  19. data/bin/Image-ExifTool-10.23/config_files/example.config +343 -0
  20. data/bin/Image-ExifTool-10.23/config_files/gps2utm.config +256 -0
  21. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/config_files/photoshop_paths.config +0 -0
  22. data/bin/Image-ExifTool-10.23/config_files/picasa_faces.config +382 -0
  23. data/bin/Image-ExifTool-10.23/exiftool +6311 -0
  24. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/fmt_files/gpx.fmt +0 -0
  25. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/fmt_files/gpx_wpt.fmt +0 -0
  26. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/fmt_files/kml.fmt +0 -0
  27. data/bin/Image-ExifTool-10.23/html/ExifTool.html +2093 -0
  28. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/MIE1.1-20070121.pdf +0 -0
  29. data/bin/Image-ExifTool-10.23/html/Shift.html +173 -0
  30. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/AFCP.html +0 -0
  31. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/AIFF.html +0 -0
  32. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/APE.html +0 -0
  33. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/APP12.html +0 -0
  34. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/ASF.html +0 -0
  35. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Apple.html +0 -0
  36. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Audible.html +0 -0
  37. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/BMP.html +0 -0
  38. data/bin/Image-ExifTool-10.23/html/TagNames/BPG.html +118 -0
  39. data/bin/Image-ExifTool-10.23/html/TagNames/Canon.html +9534 -0
  40. data/bin/Image-ExifTool-10.23/html/TagNames/CanonCustom.html +2141 -0
  41. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/CanonRaw.html +0 -0
  42. data/bin/Image-ExifTool-10.23/html/TagNames/CanonVRD.html +2020 -0
  43. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Casio.html +0 -0
  44. data/bin/Image-ExifTool-10.23/html/TagNames/Composite.html +736 -0
  45. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/DICOM.html +0 -0
  46. data/bin/Image-ExifTool-10.23/html/TagNames/DNG.html +293 -0
  47. data/bin/Image-ExifTool-10.23/html/TagNames/DPX.html +229 -0
  48. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/DV.html +0 -0
  49. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/DarwinCore.html +0 -0
  50. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/DjVu.html +0 -0
  51. data/bin/Image-ExifTool-10.23/html/TagNames/EXE.html +741 -0
  52. data/bin/Image-ExifTool-10.23/html/TagNames/EXIF.html +3394 -0
  53. data/bin/Image-ExifTool-10.23/html/TagNames/Extra.html +469 -0
  54. data/bin/Image-ExifTool-10.23/html/TagNames/FLAC.html +183 -0
  55. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/FLIR.html +0 -0
  56. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Flash.html +0 -0
  57. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/FlashPix.html +0 -0
  58. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Font.html +0 -0
  59. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/FotoStation.html +0 -0
  60. data/bin/Image-ExifTool-10.23/html/TagNames/FujiFilm.html +824 -0
  61. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/GE.html +0 -0
  62. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/GIF.html +0 -0
  63. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/GIMP.html +0 -0
  64. data/bin/Image-ExifTool-10.23/html/TagNames/GPS.html +230 -0
  65. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/GeoTiff.html +0 -0
  66. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/H264.html +0 -0
  67. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/HP.html +0 -0
  68. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/HTML.html +0 -0
  69. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/ICC_Profile.html +0 -0
  70. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/ID3.html +0 -0
  71. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/IPTC.html +0 -0
  72. data/bin/Image-ExifTool-10.23/html/TagNames/ISO.html +159 -0
  73. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/ITC.html +0 -0
  74. data/bin/Image-ExifTool-10.23/html/TagNames/JFIF.html +62 -0
  75. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/JPEG.html +0 -0
  76. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/JVC.html +0 -0
  77. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Jpeg2000.html +0 -0
  78. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Kodak.html +0 -0
  79. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/KyoceraRaw.html +0 -0
  80. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/LNK.html +0 -0
  81. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Leaf.html +0 -0
  82. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Lytro.html +0 -0
  83. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/M2TS.html +0 -0
  84. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MIE.html +0 -0
  85. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MIFF.html +0 -0
  86. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MNG.html +0 -0
  87. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MOI.html +0 -0
  88. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MPC.html +0 -0
  89. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MPEG.html +0 -0
  90. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MPF.html +0 -0
  91. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MWG.html +0 -0
  92. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MXF.html +0 -0
  93. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Matroska.html +0 -0
  94. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Microsoft.html +0 -0
  95. data/bin/Image-ExifTool-10.23/html/TagNames/Minolta.html +2625 -0
  96. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/MinoltaRaw.html +0 -0
  97. data/bin/Image-ExifTool-10.23/html/TagNames/Motorola.html +32 -0
  98. data/bin/Image-ExifTool-10.23/html/TagNames/Nikon.html +5907 -0
  99. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/NikonCapture.html +0 -0
  100. data/bin/Image-ExifTool-10.23/html/TagNames/NikonCustom.html +6590 -0
  101. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Nintendo.html +0 -0
  102. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/OOXML.html +0 -0
  103. data/bin/Image-ExifTool-10.23/html/TagNames/Ogg.html +49 -0
  104. data/bin/Image-ExifTool-10.23/html/TagNames/Olympus.html +3649 -0
  105. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/OpenEXR.html +0 -0
  106. data/bin/Image-ExifTool-10.23/html/TagNames/Opus.html +62 -0
  107. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PDF.html +0 -0
  108. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PGF.html +0 -0
  109. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PICT.html +0 -0
  110. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PLIST.html +0 -0
  111. data/bin/Image-ExifTool-10.23/html/TagNames/PLUS.html +2613 -0
  112. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PNG.html +0 -0
  113. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PSP.html +0 -0
  114. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Palm.html +0 -0
  115. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Panasonic.html +0 -0
  116. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PanasonicRaw.html +0 -0
  117. data/bin/Image-ExifTool-10.23/html/TagNames/Pentax.html +4770 -0
  118. data/bin/Image-ExifTool-10.23/html/TagNames/PhaseOne.html +253 -0
  119. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PhotoCD.html +0 -0
  120. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PhotoMechanic.html +0 -0
  121. data/bin/Image-ExifTool-10.23/html/TagNames/Photoshop.html +739 -0
  122. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PostScript.html +0 -0
  123. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/PrintIM.html +0 -0
  124. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Qualcomm.html +0 -0
  125. data/bin/Image-ExifTool-10.23/html/TagNames/QuickTime.html +6060 -0
  126. data/bin/Image-ExifTool-10.23/html/TagNames/RIFF.html +1382 -0
  127. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/RSRC.html +0 -0
  128. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/RTF.html +0 -0
  129. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Radiance.html +0 -0
  130. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Rawzor.html +0 -0
  131. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Real.html +0 -0
  132. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Reconyx.html +0 -0
  133. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Ricoh.html +0 -0
  134. data/bin/Image-ExifTool-10.23/html/TagNames/Samsung.html +616 -0
  135. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Sanyo.html +0 -0
  136. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Scalado.html +0 -0
  137. data/bin/Image-ExifTool-10.23/html/TagNames/Shortcuts.html +279 -0
  138. data/bin/Image-ExifTool-10.23/html/TagNames/Sigma.html +528 -0
  139. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/SigmaRaw.html +0 -0
  140. data/bin/Image-ExifTool-10.23/html/TagNames/Sony.html +10264 -0
  141. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/SonyIDC.html +0 -0
  142. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Stim.html +0 -0
  143. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Theora.html +0 -0
  144. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Torrent.html +0 -0
  145. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/Unknown.html +0 -0
  146. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/VCard.html +0 -0
  147. data/bin/Image-ExifTool-10.23/html/TagNames/Vorbis.html +243 -0
  148. data/bin/Image-ExifTool-10.23/html/TagNames/XMP.html +8945 -0
  149. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/ZIP.html +0 -0
  150. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/iWork.html +0 -0
  151. data/bin/Image-ExifTool-10.23/html/TagNames/index.html +217 -0
  152. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/TagNames/style.css +0 -0
  153. data/bin/Image-ExifTool-10.23/html/ancient_history.html +8209 -0
  154. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/canon_raw.html +0 -0
  155. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/commentary.html +0 -0
  156. data/bin/Image-ExifTool-10.23/html/config.html +355 -0
  157. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/data_members.html +0 -0
  158. data/bin/Image-ExifTool-10.23/html/exiftool_pod.html +2535 -0
  159. data/bin/Image-ExifTool-10.23/html/faq.html +1566 -0
  160. data/bin/Image-ExifTool-10.23/html/filename.html +352 -0
  161. data/bin/Image-ExifTool-10.23/html/geotag.html +659 -0
  162. data/bin/Image-ExifTool-10.23/html/history.html +243 -0
  163. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/htmldump.html +0 -0
  164. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/idiosyncracies.html +0 -0
  165. data/bin/Image-ExifTool-10.23/html/index.html +1341 -0
  166. data/bin/Image-ExifTool-10.23/html/install.html +261 -0
  167. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/metafiles.html +0 -0
  168. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/overview.png +0 -0
  169. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/standards.html +0 -0
  170. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/struct.html +0 -0
  171. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/style.css +0 -0
  172. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/under.html +0 -0
  173. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/verbose.html +0 -0
  174. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/html/writing.html +0 -0
  175. data/bin/Image-ExifTool-10.23/lib/File/RandomAccess.pm +378 -0
  176. data/bin/Image-ExifTool-10.23/lib/File/RandomAccess.pod +231 -0
  177. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool.pm +7747 -0
  178. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool.pod +2542 -0
  179. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/AES.pm +501 -0
  180. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/AFCP.pm +286 -0
  181. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/AIFF.pm +289 -0
  182. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/APE.pm +282 -0
  183. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/APP12.pm +322 -0
  184. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/ASF.pm +885 -0
  185. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Apple.pm +129 -0
  186. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Audible.pm +317 -0
  187. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/BMP.pm +179 -0
  188. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/BPG.pm +251 -0
  189. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/BZZ.pm +472 -0
  190. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/BigTIFF.pm +282 -0
  191. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/BuildTagLookup.pm +2527 -0
  192. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Canon.pm +8734 -0
  193. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/CanonCustom.pm +2667 -0
  194. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/CanonRaw.pm +910 -0
  195. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/CanonVRD.pm +2273 -0
  196. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/CaptureOne.pm +235 -0
  197. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Casio.pm +2058 -0
  198. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Charset.pm +423 -0
  199. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Arabic.pm +0 -0
  200. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Baltic.pm +0 -0
  201. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Cyrillic.pm +0 -0
  202. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Greek.pm +0 -0
  203. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Hebrew.pm +0 -0
  204. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/JIS.pm +0 -0
  205. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Latin.pm +0 -0
  206. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Latin2.pm +0 -0
  207. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacArabic.pm +0 -0
  208. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacChineseCN.pm +0 -0
  209. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacChineseTW.pm +0 -0
  210. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacCroatian.pm +0 -0
  211. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacCyrillic.pm +0 -0
  212. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacGreek.pm +0 -0
  213. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacHebrew.pm +0 -0
  214. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacIceland.pm +0 -0
  215. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacJapanese.pm +0 -0
  216. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacKorean.pm +0 -0
  217. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacLatin2.pm +0 -0
  218. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacRSymbol.pm +0 -0
  219. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacRoman.pm +0 -0
  220. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacRomanian.pm +0 -0
  221. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacThai.pm +0 -0
  222. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/MacTurkish.pm +0 -0
  223. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/PDFDoc.pm +0 -0
  224. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/ShiftJIS.pm +0 -0
  225. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Symbol.pm +0 -0
  226. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Thai.pm +0 -0
  227. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Turkish.pm +0 -0
  228. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/lib/Image/ExifTool/Charset/Vietnam.pm +0 -0
  229. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/DICOM.pm +3874 -0
  230. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/DNG.pm +835 -0
  231. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/DPX.pm +182 -0
  232. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/DV.pm +319 -0
  233. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/DarwinCore.pm +322 -0
  234. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/DjVu.pm +376 -0
  235. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/EXE.pm +1401 -0
  236. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Exif.pm +5863 -0
  237. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/FLAC.pm +297 -0
  238. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/FLIR.pm +1533 -0
  239. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Fixup.pm +366 -0
  240. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Flash.pm +755 -0
  241. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/FlashPix.pm +1935 -0
  242. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Font.pm +647 -0
  243. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/FotoStation.pm +261 -0
  244. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/FujiFilm.pm +1232 -0
  245. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/GE.pm +81 -0
  246. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/GIF.pm +542 -0
  247. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/GIMP.pm +258 -0
  248. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/GPS.pm +558 -0
  249. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/GeoTiff.pm +2263 -0
  250. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Geotag.pm +1241 -0
  251. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/H264.pm +1110 -0
  252. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/HP.pm +263 -0
  253. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/HTML.pm +576 -0
  254. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/HtmlDump.pm +897 -0
  255. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/ICC_Profile.pm +1000 -0
  256. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/ID3.pm +1570 -0
  257. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/IPTC.pm +1264 -0
  258. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/ISO.pm +206 -0
  259. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/ITC.pm +215 -0
  260. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Import.pm +329 -0
  261. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/InDesign.pm +277 -0
  262. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/JPEG.pm +605 -0
  263. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/JPEGDigest.pm +2616 -0
  264. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/JVC.pm +130 -0
  265. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Jpeg2000.pm +882 -0
  266. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Kodak.pm +2096 -0
  267. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/KyoceraRaw.pm +173 -0
  268. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/LNK.pm +723 -0
  269. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/cs.pm +1588 -0
  270. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/de.pm +8692 -0
  271. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/en_ca.pm +934 -0
  272. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/en_gb.pm +977 -0
  273. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/es.pm +4019 -0
  274. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/fi.pm +2854 -0
  275. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/fr.pm +4758 -0
  276. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/it.pm +7918 -0
  277. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/ja.pm +5835 -0
  278. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/ko.pm +2330 -0
  279. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/nl.pm +3222 -0
  280. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/pl.pm +1276 -0
  281. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/ru.pm +768 -0
  282. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/sv.pm +638 -0
  283. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/tr.pm +544 -0
  284. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/zh_cn.pm +1330 -0
  285. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lang/zh_tw.pm +801 -0
  286. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Leaf.pm +516 -0
  287. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Lytro.pm +217 -0
  288. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/M2TS.pm +729 -0
  289. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MIE.pm +2564 -0
  290. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MIEUnits.pod +377 -0
  291. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MIFF.pm +279 -0
  292. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MNG.pm +684 -0
  293. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MOI.pm +158 -0
  294. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MPC.pm +156 -0
  295. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MPEG.pm +736 -0
  296. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MPF.pm +292 -0
  297. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MWG.pm +753 -0
  298. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MXF.pm +3031 -0
  299. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MakerNotes.pm +1736 -0
  300. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Matroska.pm +892 -0
  301. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Microsoft.pm +904 -0
  302. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Minolta.pm +2981 -0
  303. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/MinoltaRaw.pm +534 -0
  304. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Motorola.pm +62 -0
  305. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Nikon.pm +7970 -0
  306. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/NikonCapture.pm +940 -0
  307. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/NikonCustom.pm +7361 -0
  308. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Nintendo.pm +128 -0
  309. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/OOXML.pm +409 -0
  310. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Ogg.pm +240 -0
  311. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Olympus.pm +3985 -0
  312. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/OpenEXR.pm +323 -0
  313. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Opus.pm +98 -0
  314. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PDF.pm +2367 -0
  315. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PGF.pm +143 -0
  316. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PICT.pm +1260 -0
  317. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PLIST.pm +448 -0
  318. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PLUS.pm +2607 -0
  319. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PNG.pm +1227 -0
  320. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PPM.pm +169 -0
  321. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PSP.pm +306 -0
  322. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Palm.pm +403 -0
  323. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Panasonic.pm +2374 -0
  324. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PanasonicRaw.pm +643 -0
  325. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Pentax.pm +6063 -0
  326. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PhaseOne.pm +707 -0
  327. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PhotoCD.pm +507 -0
  328. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PhotoMechanic.pm +256 -0
  329. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Photoshop.pm +939 -0
  330. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PostScript.pm +699 -0
  331. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/PrintIM.pm +125 -0
  332. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Qualcomm.pm +1344 -0
  333. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/QuickTime.pm +6601 -0
  334. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/README +994 -0
  335. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/RIFF.pm +1587 -0
  336. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/RSRC.pm +241 -0
  337. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/RTF.pm +383 -0
  338. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Radiance.pm +144 -0
  339. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Rawzor.pm +189 -0
  340. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Real.pm +739 -0
  341. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Reconyx.pm +190 -0
  342. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Ricoh.pm +1148 -0
  343. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Samsung.pm +1177 -0
  344. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Sanyo.pm +440 -0
  345. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Scalado.pm +141 -0
  346. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Shift.pl +596 -0
  347. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Shortcuts.pm +337 -0
  348. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Sigma.pm +754 -0
  349. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/SigmaRaw.pm +670 -0
  350. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Sony.pm +9623 -0
  351. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/SonyIDC.pm +332 -0
  352. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Stim.pm +196 -0
  353. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/TagInfoXML.pm +827 -0
  354. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/TagLookup.pm +9250 -0
  355. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/TagNames.pod +29842 -0
  356. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Theora.pm +145 -0
  357. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Torrent.pm +317 -0
  358. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Unknown.pm +66 -0
  359. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/VCard.pm +405 -0
  360. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Vorbis.pm +255 -0
  361. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WriteCanonRaw.pl +637 -0
  362. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WriteExif.pl +2466 -0
  363. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WriteIPTC.pl +706 -0
  364. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WritePDF.pl +771 -0
  365. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WritePNG.pl +390 -0
  366. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WritePhotoshop.pl +266 -0
  367. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WritePostScript.pl +772 -0
  368. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WriteQuickTime.pl +358 -0
  369. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/WriteXMP.pl +1380 -0
  370. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/Writer.pl +6220 -0
  371. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/XMP.pm +4071 -0
  372. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/XMP2.pl +1284 -0
  373. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/XMPStruct.pl +843 -0
  374. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/ZIP.pm +667 -0
  375. data/bin/Image-ExifTool-10.23/lib/Image/ExifTool/iWork.pm +223 -0
  376. data/bin/Image-ExifTool-10.23/perl-Image-ExifTool.spec +113 -0
  377. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/AFCP.t +0 -0
  378. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/AFCP_2.out +0 -0
  379. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/AFCP_3.out +0 -0
  380. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/AIFF.t +0 -0
  381. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/AIFF_2.out +0 -0
  382. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/APE.t +0 -0
  383. data/bin/Image-ExifTool-10.23/t/APE_2.out +30 -0
  384. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/APE_3.out +0 -0
  385. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ASF.t +0 -0
  386. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ASF_2.out +0 -0
  387. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Audible.t +0 -0
  388. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Audible_2.out +0 -0
  389. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/BMP.t +0 -0
  390. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/BMP_2.out +0 -0
  391. data/bin/Image-ExifTool-10.23/t/BPG.t +28 -0
  392. data/bin/Image-ExifTool-10.23/t/BPG_2.out +92 -0
  393. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/BigTIFF.t +0 -0
  394. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/BigTIFF_2.out +0 -0
  395. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Canon.t +0 -0
  396. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonRaw.t +0 -0
  397. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonRaw_2.out +0 -0
  398. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonRaw_4.out +0 -0
  399. data/bin/Image-ExifTool-10.23/t/CanonRaw_5.out +209 -0
  400. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonRaw_6.out +0 -0
  401. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonRaw_7.out +0 -0
  402. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD.t +0 -0
  403. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_11.out +0 -0
  404. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_12.out +0 -0
  405. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_13.out +0 -0
  406. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_14.out +0 -0
  407. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_15.out +0 -0
  408. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_16.out +0 -0
  409. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_17.out +0 -0
  410. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_18.out +0 -0
  411. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_19.out +0 -0
  412. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_2.out +0 -0
  413. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_20.out +0 -0
  414. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_21.out +0 -0
  415. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_3.out +0 -0
  416. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_4.out +0 -0
  417. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_5.out +0 -0
  418. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_6.out +0 -0
  419. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_7.out +0 -0
  420. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_8.out +0 -0
  421. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/CanonVRD_9.out +0 -0
  422. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Canon_2.out +0 -0
  423. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Canon_3.out +0 -0
  424. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Casio.t +0 -0
  425. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Casio_2.out +0 -0
  426. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Casio_3.out +0 -0
  427. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Casio_4.out +0 -0
  428. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Casio_5.out +0 -0
  429. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Casio_6.out +0 -0
  430. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DICOM.t +0 -0
  431. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DICOM_2.out +0 -0
  432. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DNG.t +0 -0
  433. data/bin/Image-ExifTool-10.23/t/DNG_2.out +329 -0
  434. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DNG_3.out +0 -0
  435. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DPX.t +0 -0
  436. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DPX_2.out +0 -0
  437. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DV.t +0 -0
  438. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DV_2.out +0 -0
  439. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DjVu.t +0 -0
  440. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/DjVu_2.out +0 -0
  441. data/bin/Image-ExifTool-10.23/t/EXE.t +31 -0
  442. data/bin/Image-ExifTool-10.23/t/EXE_2.out +34 -0
  443. data/bin/Image-ExifTool-10.23/t/EXE_3.out +10 -0
  444. data/bin/Image-ExifTool-10.23/t/EXE_4.out +8 -0
  445. data/bin/Image-ExifTool-10.23/t/EXE_5.out +9 -0
  446. data/bin/Image-ExifTool-10.23/t/EXE_6.out +8 -0
  447. data/bin/Image-ExifTool-10.23/t/EXE_7.out +10 -0
  448. data/bin/Image-ExifTool-10.23/t/ExifTool.t +328 -0
  449. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_16.out +0 -0
  450. data/bin/Image-ExifTool-10.23/t/ExifTool_17.out +598 -0
  451. data/bin/Image-ExifTool-10.23/t/ExifTool_2.out +427 -0
  452. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_20.out +0 -0
  453. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_21.out +0 -0
  454. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_22.out +0 -0
  455. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_23.out +0 -0
  456. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_24.out +0 -0
  457. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_25.out +0 -0
  458. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_26.out +0 -0
  459. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_27.out +0 -0
  460. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_28.out +0 -0
  461. data/bin/Image-ExifTool-10.23/t/ExifTool_29.out +426 -0
  462. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_3.out +0 -0
  463. data/bin/Image-ExifTool-10.23/t/ExifTool_30.out +2 -0
  464. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_4.out +0 -0
  465. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_5.out +0 -0
  466. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_6.out +0 -0
  467. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_7.out +0 -0
  468. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_8.out +0 -0
  469. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ExifTool_9.out +0 -0
  470. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FLAC.t +0 -0
  471. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FLAC_2.out +0 -0
  472. data/bin/Image-ExifTool-10.23/t/FLAC_3.out +20 -0
  473. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FLIR.t +0 -0
  474. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FLIR_2.out +0 -0
  475. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FLIR_3.out +0 -0
  476. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Flash.t +0 -0
  477. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FlashPix.t +0 -0
  478. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FlashPix_2.out +0 -0
  479. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Flash_2.out +0 -0
  480. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Flash_3.out +0 -0
  481. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Font.t +0 -0
  482. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Font_2.out +0 -0
  483. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Font_3.out +0 -0
  484. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Font_4.out +0 -0
  485. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Font_5.out +0 -0
  486. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Font_6.out +0 -0
  487. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Font_7.out +0 -0
  488. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FotoStation.t +0 -0
  489. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FotoStation_2.out +0 -0
  490. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FotoStation_3.out +0 -0
  491. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FujiFilm.t +0 -0
  492. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FujiFilm_2.out +0 -0
  493. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FujiFilm_3.out +0 -0
  494. data/bin/Image-ExifTool-10.23/t/FujiFilm_4.out +143 -0
  495. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/FujiFilm_5.out +0 -0
  496. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GE.t +0 -0
  497. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GE_2.out +0 -0
  498. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GE_3.out +0 -0
  499. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GIF.t +0 -0
  500. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GIF_2.out +0 -0
  501. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GIF_3.out +0 -0
  502. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GIF_4.out +0 -0
  503. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GIMP.t +0 -0
  504. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GIMP_2.out +0 -0
  505. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GPS.t +0 -0
  506. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GPS_2.out +0 -0
  507. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GPS_3.out +0 -0
  508. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GeoTiff.t +0 -0
  509. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GeoTiff_2.out +0 -0
  510. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GeoTiff_3.out +0 -0
  511. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/GeoTiff_4.out +0 -0
  512. data/bin/Image-ExifTool-10.23/t/Geotag.t +201 -0
  513. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Geotag_10.out +0 -0
  514. data/bin/Image-ExifTool-10.23/t/Geotag_11.out +3 -0
  515. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Geotag_2.out +0 -0
  516. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Geotag_3.out +0 -0
  517. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Geotag_5.out +0 -0
  518. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Geotag_6.out +0 -0
  519. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Geotag_7.out +0 -0
  520. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Geotag_8.out +0 -0
  521. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Geotag_9.out +0 -0
  522. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/HTML.t +0 -0
  523. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/HTML_2.out +0 -0
  524. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/IPTC.t +0 -0
  525. data/bin/Image-ExifTool-10.23/t/IPTC_2.out +69 -0
  526. data/bin/Image-ExifTool-10.23/t/IPTC_4.out +67 -0
  527. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/IPTC_5.out +0 -0
  528. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/IPTC_6.out +0 -0
  529. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/IPTC_7.out +0 -0
  530. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/IPTC_8.out +0 -0
  531. data/bin/Image-ExifTool-10.23/t/ISO.t +28 -0
  532. data/bin/Image-ExifTool-10.23/t/ISO_2.out +19 -0
  533. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ITC.t +0 -0
  534. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ITC_2.out +0 -0
  535. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/InDesign.t +0 -0
  536. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/InDesign_2.out +0 -0
  537. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/InDesign_3.out +0 -0
  538. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/InDesign_4.out +0 -0
  539. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/JVC.t +0 -0
  540. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/JVC_2.out +0 -0
  541. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/JVC_3.out +0 -0
  542. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Jpeg2000.t +0 -0
  543. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Jpeg2000_2.out +0 -0
  544. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Jpeg2000_3.out +0 -0
  545. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Jpeg2000_4.out +0 -0
  546. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Kodak.t +0 -0
  547. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Kodak_2.out +0 -0
  548. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Kodak_3.out +0 -0
  549. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/KyoceraRaw.t +0 -0
  550. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/KyoceraRaw_2.out +0 -0
  551. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/LNK.t +0 -0
  552. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/LNK_2.out +0 -0
  553. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang.t +0 -0
  554. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_1.out +0 -0
  555. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_10.out +0 -0
  556. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_11.out +0 -0
  557. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_12.out +0 -0
  558. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_13.out +0 -0
  559. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_14.out +0 -0
  560. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_15.out +0 -0
  561. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_16.out +0 -0
  562. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_17.out +0 -0
  563. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_18.out +0 -0
  564. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_2.out +0 -0
  565. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_3.out +0 -0
  566. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_4.out +0 -0
  567. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_5.out +0 -0
  568. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_6.out +0 -0
  569. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_7.out +0 -0
  570. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_8.out +0 -0
  571. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lang_9.out +0 -0
  572. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lytro.t +0 -0
  573. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Lytro_2.out +0 -0
  574. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/M2TS.t +0 -0
  575. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/M2TS_2.out +0 -0
  576. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MIE.t +0 -0
  577. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MIE_2.out +0 -0
  578. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MIE_3.out +0 -0
  579. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MIE_5.out +0 -0
  580. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MIE_6.out +0 -0
  581. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MIFF.t +0 -0
  582. data/bin/Image-ExifTool-10.23/t/MIFF_2.out +114 -0
  583. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MOI.t +0 -0
  584. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MOI_2.out +0 -0
  585. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MP3.t +0 -0
  586. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MP3_2.out +0 -0
  587. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MWG.t +0 -0
  588. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MWG_2.out +0 -0
  589. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MWG_3.out +0 -0
  590. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MWG_4.out +0 -0
  591. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MWG_5.out +0 -0
  592. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MWG_6.out +0 -0
  593. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MXF.t +0 -0
  594. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/MXF_2.out +0 -0
  595. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Matroska.t +0 -0
  596. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Matroska_2.out +0 -0
  597. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Minolta.t +0 -0
  598. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Minolta_2.out +0 -0
  599. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Minolta_3.out +0 -0
  600. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Minolta_4.out +0 -0
  601. data/bin/Image-ExifTool-10.23/t/Motorola.t +29 -0
  602. data/bin/Image-ExifTool-10.23/t/Motorola_2.out +97 -0
  603. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Nikon.t +0 -0
  604. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Nikon_2.out +0 -0
  605. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Nikon_3.out +0 -0
  606. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Nikon_4.out +0 -0
  607. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Nikon_5.out +0 -0
  608. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Nikon_7.out +0 -0
  609. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Nikon_8.out +0 -0
  610. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Olympus.t +0 -0
  611. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Olympus_2.out +0 -0
  612. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Olympus_3.out +0 -0
  613. data/bin/Image-ExifTool-10.23/t/Olympus_4.out +194 -0
  614. data/bin/Image-ExifTool-10.23/t/Olympus_5.out +266 -0
  615. data/bin/Image-ExifTool-10.23/t/Olympus_6.out +153 -0
  616. data/bin/Image-ExifTool-10.23/t/Olympus_7.out +483 -0
  617. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Olympus_8.out +0 -0
  618. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/OpenEXR.t +0 -0
  619. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/OpenEXR_2.out +0 -0
  620. data/bin/Image-ExifTool-10.23/t/Opus.t +27 -0
  621. data/bin/Image-ExifTool-10.23/t/Opus_2.out +26 -0
  622. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF.t +0 -0
  623. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_10.out +0 -0
  624. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_11.out +0 -0
  625. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_12.out +0 -0
  626. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_14.out +0 -0
  627. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_15.out +0 -0
  628. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_16.out +0 -0
  629. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_17.out +0 -0
  630. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_18.out +0 -0
  631. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_19.out +0 -0
  632. data/bin/Image-ExifTool-10.23/t/PDF_2.out +127 -0
  633. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_20.out +0 -0
  634. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_22.out +0 -0
  635. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_4.out +0 -0
  636. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_5.out +0 -0
  637. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_6.out +0 -0
  638. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_7.out +0 -0
  639. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_8.out +0 -0
  640. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PDF_9.out +0 -0
  641. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PGF.t +0 -0
  642. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PGF_2.out +0 -0
  643. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PICT.t +0 -0
  644. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PICT_2.out +0 -0
  645. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PLIST.t +0 -0
  646. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PLIST_2.out +0 -0
  647. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PLIST_3.out +0 -0
  648. data/bin/Image-ExifTool-10.23/t/PLUS.t +45 -0
  649. data/bin/Image-ExifTool-10.23/t/PLUS_2.out +31 -0
  650. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PNG.t +0 -0
  651. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PNG_2.out +0 -0
  652. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PNG_3.out +0 -0
  653. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PNG_4.out +0 -0
  654. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PNG_5.out +0 -0
  655. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PPM.t +0 -0
  656. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PPM_2.out +0 -0
  657. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PPM_3.out +0 -0
  658. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PSP.t +0 -0
  659. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PSP_2.out +0 -0
  660. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Palm.t +0 -0
  661. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Palm_2.out +0 -0
  662. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Panasonic.t +0 -0
  663. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Panasonic_2.out +0 -0
  664. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Panasonic_3.out +0 -0
  665. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Panasonic_4.out +0 -0
  666. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Panasonic_5.out +0 -0
  667. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Pentax.t +0 -0
  668. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Pentax_2.out +0 -0
  669. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Pentax_3.out +0 -0
  670. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Pentax_4.out +0 -0
  671. data/bin/Image-ExifTool-10.23/t/PhaseOne.t +38 -0
  672. data/bin/Image-ExifTool-10.23/t/PhaseOne_2.out +99 -0
  673. data/bin/Image-ExifTool-10.23/t/PhaseOne_3.out +170 -0
  674. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PhotoCD.t +0 -0
  675. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PhotoCD_2.out +0 -0
  676. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PhotoMechanic.t +0 -0
  677. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PhotoMechanic_2.out +0 -0
  678. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PhotoMechanic_3.out +0 -0
  679. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Photoshop.t +0 -0
  680. data/bin/Image-ExifTool-10.23/t/Photoshop_2.out +109 -0
  681. data/bin/Image-ExifTool-10.23/t/Photoshop_3.out +117 -0
  682. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PostScript.t +0 -0
  683. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PostScript_2.out +0 -0
  684. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/PostScript_3.out +0 -0
  685. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/QuickTime.t +0 -0
  686. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/QuickTime_2.out +0 -0
  687. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/QuickTime_3.out +0 -0
  688. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/QuickTime_4.out +0 -0
  689. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/QuickTime_5.out +0 -0
  690. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/RIFF.t +0 -0
  691. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/RIFF_2.out +0 -0
  692. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/RIFF_3.out +0 -0
  693. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/RIFF_4.out +0 -0
  694. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/RTF.t +0 -0
  695. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/RTF_2.out +0 -0
  696. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Radiance.t +0 -0
  697. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Radiance_2.out +0 -0
  698. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Real.t +0 -0
  699. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Real_2.out +0 -0
  700. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Real_3.out +0 -0
  701. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Real_4.out +0 -0
  702. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Ricoh.t +0 -0
  703. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Ricoh_2.out +0 -0
  704. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Ricoh_3.out +0 -0
  705. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Ricoh_4.out +0 -0
  706. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sanyo.t +0 -0
  707. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sanyo_2.out +0 -0
  708. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sanyo_3.out +0 -0
  709. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sigma.t +0 -0
  710. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sigma_2.out +0 -0
  711. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sigma_3.out +0 -0
  712. data/bin/Image-ExifTool-10.23/t/Sigma_4.out +65 -0
  713. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sigma_5.out +0 -0
  714. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sony.t +0 -0
  715. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sony_2.out +0 -0
  716. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sony_3.out +0 -0
  717. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Sony_5.out +0 -0
  718. data/bin/Image-ExifTool-10.23/t/TestLib.pm +431 -0
  719. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Torrent.t +0 -0
  720. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Torrent_2.out +0 -0
  721. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Unknown.t +0 -0
  722. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Unknown_2.out +0 -0
  723. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Unknown_3.out +0 -0
  724. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/VCard.t +0 -0
  725. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/VCard_2.out +0 -0
  726. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/VCard_3.out +0 -0
  727. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Vorbis.t +0 -0
  728. data/bin/Image-ExifTool-10.23/t/Vorbis_2.out +29 -0
  729. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer.t +0 -0
  730. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_10.out +0 -0
  731. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_11.out +0 -0
  732. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_13.out +0 -0
  733. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_14.out +0 -0
  734. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_15.out +0 -0
  735. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_16.out +0 -0
  736. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_17.out +0 -0
  737. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_18.out +0 -0
  738. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_19.out +0 -0
  739. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_2.out +0 -0
  740. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_22.out +0 -0
  741. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_24.out +0 -0
  742. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_25.out +0 -0
  743. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_26.out +0 -0
  744. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_27.out +0 -0
  745. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_28.out +0 -0
  746. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_29.out +0 -0
  747. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_30.out +0 -0
  748. data/bin/Image-ExifTool-10.23/t/Writer_31.out +108 -0
  749. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_32.out +0 -0
  750. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_33.out +0 -0
  751. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_34.out +0 -0
  752. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_35.out +0 -0
  753. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_36.out +0 -0
  754. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_37.out +0 -0
  755. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_38.out +0 -0
  756. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_39.out +0 -0
  757. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_4.out +0 -0
  758. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_40.out +0 -0
  759. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_41.out +0 -0
  760. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_42.out +0 -0
  761. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_43.out +0 -0
  762. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_44.out +0 -0
  763. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_45.out +0 -0
  764. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_46.out +0 -0
  765. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_47.out +0 -0
  766. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_48.out +0 -0
  767. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_50.out +0 -0
  768. data/bin/Image-ExifTool-10.23/t/Writer_51.out +414 -0
  769. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_52.out +0 -0
  770. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_53.out +0 -0
  771. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_54.out +0 -0
  772. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_55.out +0 -0
  773. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_56.out +0 -0
  774. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_6.out +0 -0
  775. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_7.out +0 -0
  776. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/Writer_9.out +0 -0
  777. data/bin/Image-ExifTool-10.23/t/XMP.t +570 -0
  778. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_10.out +0 -0
  779. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_11.out +0 -0
  780. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_12.out +0 -0
  781. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_13.out +0 -0
  782. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_14.out +0 -0
  783. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_15.out +0 -0
  784. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_16.out +0 -0
  785. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_17.out +0 -0
  786. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_18.out +0 -0
  787. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_19.out +0 -0
  788. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_2.out +0 -0
  789. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_20.out +0 -0
  790. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_21.out +0 -0
  791. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_22.out +0 -0
  792. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_23.out +0 -0
  793. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_24.out +0 -0
  794. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_25.out +0 -0
  795. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_26.out +0 -0
  796. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_27.out +0 -0
  797. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_28.out +0 -0
  798. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_29.out +0 -0
  799. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_3.out +0 -0
  800. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_30.out +0 -0
  801. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_31.out +0 -0
  802. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_32.out +0 -0
  803. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_34.out +0 -0
  804. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_36.out +0 -0
  805. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_37.out +0 -0
  806. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_39.out +0 -0
  807. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_40.out +0 -0
  808. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_41.out +0 -0
  809. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_42.out +0 -0
  810. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_43.out +0 -0
  811. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_44.out +0 -0
  812. data/bin/Image-ExifTool-10.23/t/XMP_45.out +23 -0
  813. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_5.out +0 -0
  814. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_6.out +0 -0
  815. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_7.out +0 -0
  816. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_8.out +0 -0
  817. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/XMP_9.out +0 -0
  818. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ZIP.t +0 -0
  819. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ZIP_2.out +0 -0
  820. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ZIP_3.out +0 -0
  821. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ZIP_4.out +0 -0
  822. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ZIP_5.out +0 -0
  823. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ZIP_6.out +0 -0
  824. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/ZIP_7.out +0 -0
  825. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/AFCP.jpg +0 -0
  826. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/AIFF.aif +0 -0
  827. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/APE.ape +0 -0
  828. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/APE.mpc +0 -0
  829. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/ASF.wmv +0 -0
  830. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Audible.aa +0 -0
  831. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/BMP.bmp +0 -0
  832. data/bin/Image-ExifTool-10.23/t/images/BPG.bpg +0 -0
  833. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/BigTIFF.btf +0 -0
  834. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Canon.jpg +0 -0
  835. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Canon1DmkIII.jpg +0 -0
  836. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/CanonRaw.cr2 +0 -0
  837. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/CanonRaw.crw +0 -0
  838. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/CanonVRD.dr4 +0 -0
  839. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/CanonVRD.vrd +0 -0
  840. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/CaptureOne.eip +0 -0
  841. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Casio.jpg +0 -0
  842. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Casio2.jpg +0 -0
  843. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/CasioQVCI.jpg +0 -0
  844. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/DICOM.dcm +0 -0
  845. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/DNG.dng +0 -0
  846. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/DPX.dpx +0 -0
  847. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/DV.dv +0 -0
  848. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/DjVu.djvu +0 -0
  849. data/bin/Image-ExifTool-10.23/t/images/EXE.a +0 -0
  850. data/bin/Image-ExifTool-10.23/t/images/EXE.dylib +0 -0
  851. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/EXE.elf +0 -0
  852. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/EXE.exe +0 -0
  853. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/EXE.macho +0 -0
  854. data/bin/Image-ExifTool-10.23/t/images/EXE.so +0 -0
  855. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/ExifTool.jpg +0 -0
  856. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/ExifTool.tif +0 -0
  857. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/ExtendedXMP.jpg +0 -0
  858. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/FLAC.flac +0 -0
  859. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/FLAC.ogg +0 -0
  860. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/FLIR.fpf +0 -0
  861. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/FLIR.jpg +0 -0
  862. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Flash.flv +0 -0
  863. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Flash.swf +0 -0
  864. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/FlashPix.ppt +0 -0
  865. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Font.afm +0 -0
  866. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Font.dfont +0 -0
  867. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Font.pfa +0 -0
  868. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Font.pfb +0 -0
  869. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Font.pfm +0 -0
  870. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Font.ttf +0 -0
  871. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/FotoStation.jpg +0 -0
  872. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/FujiFilm.jpg +0 -0
  873. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/FujiFilm.raf +0 -0
  874. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/GE.jpg +0 -0
  875. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/GIF.gif +0 -0
  876. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/GIMP.xcf +0 -0
  877. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/GPS.jpg +0 -0
  878. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/GeoTiff.tif +0 -0
  879. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Geotag.gpx +0 -0
  880. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Geotag.igc +0 -0
  881. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Geotag.kml +0 -0
  882. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Geotag.log +0 -0
  883. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Geotag.xml +0 -0
  884. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Geotag2.log +0 -0
  885. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Geotag3.log +0 -0
  886. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/HTML.html +0 -0
  887. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/IPTC.jpg +0 -0
  888. data/bin/Image-ExifTool-10.23/t/images/ISO.iso +0 -0
  889. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/ITC.itc +0 -0
  890. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/InDesign.indd +0 -0
  891. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/JVC.jpg +0 -0
  892. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/JVC2.jpg +0 -0
  893. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Jpeg2000.j2c +0 -0
  894. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Jpeg2000.jp2 +0 -0
  895. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Kodak.jpg +0 -0
  896. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/KyoceraRaw.raw +0 -0
  897. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/LNK.lnk +0 -0
  898. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Lytro.lfp +0 -0
  899. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/M2TS.mts +0 -0
  900. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/MIE.mie +0 -0
  901. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/MIFF.miff +0 -0
  902. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/MOI.moi +0 -0
  903. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/MP3.mp3 +0 -0
  904. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/MWG.jpg +0 -0
  905. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/MXF.mxf +0 -0
  906. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Matroska.mkv +0 -0
  907. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Minolta.jpg +0 -0
  908. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Minolta.mrw +0 -0
  909. data/bin/Image-ExifTool-10.23/t/images/Motorola.jpg +0 -0
  910. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Nikon.jpg +0 -0
  911. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Nikon.nef +0 -0
  912. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/NikonD2Hs.jpg +0 -0
  913. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/NikonD70.jpg +0 -0
  914. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/OOXML.docx +0 -0
  915. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Olympus.dss +0 -0
  916. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Olympus.jpg +0 -0
  917. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Olympus2.jpg +0 -0
  918. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/OlympusE1.jpg +0 -0
  919. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/OpenDoc.ods +0 -0
  920. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/OpenEXR.exr +0 -0
  921. data/bin/Image-ExifTool-10.23/t/images/Opus.opus +0 -0
  922. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PDF.pdf +0 -0
  923. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PDF2.pdf +0 -0
  924. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PGF.pgf +0 -0
  925. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PICT.pict +0 -0
  926. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PLIST-bin.plist +0 -0
  927. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PLIST-xml.plist +0 -0
  928. data/bin/Image-ExifTool-10.23/t/images/PLUS.xmp +127 -0
  929. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PNG.png +0 -0
  930. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PPM.ppm +0 -0
  931. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PSP.psp +0 -0
  932. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Palm.mobi +0 -0
  933. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Panasonic.jpg +0 -0
  934. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Panasonic.rw2 +0 -0
  935. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Pentax.avi +0 -0
  936. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Pentax.jpg +0 -0
  937. data/bin/Image-ExifTool-10.23/t/images/PhaseOne.iiq +0 -0
  938. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PhotoCD.pcd +0 -0
  939. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PhotoMechanic.jpg +0 -0
  940. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Photoshop.psd +0 -0
  941. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/PostScript.eps +0 -0
  942. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/QuickTime.m4a +0 -0
  943. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/QuickTime.mov +0 -0
  944. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/RIFF.avi +0 -0
  945. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/RIFF.wav +0 -0
  946. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/RIFF.webp +0 -0
  947. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/RTF.rtf +0 -0
  948. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Radiance.hdr +0 -0
  949. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Real.ra +0 -0
  950. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Real.ram +0 -0
  951. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Real.rm +0 -0
  952. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Ricoh.jpg +0 -0
  953. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Ricoh2.jpg +0 -0
  954. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Sanyo.jpg +0 -0
  955. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Sigma.jpg +0 -0
  956. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Sigma.x3f +0 -0
  957. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/SigmaDP2.x3f +0 -0
  958. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Sony.jpg +0 -0
  959. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Sony.pmp +0 -0
  960. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Torrent.torrent +0 -0
  961. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Unknown.jpg +0 -0
  962. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/VCard.ics +0 -0
  963. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/VCard.vcf +0 -0
  964. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Vorbis.ogg +0 -0
  965. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/Writer.jpg +0 -0
  966. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP.inx +0 -0
  967. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP.jpg +0 -0
  968. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP.svg +0 -0
  969. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP.xml +0 -0
  970. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP.xmp +0 -0
  971. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP2.xmp +0 -0
  972. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP3.xmp +0 -0
  973. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP4.xmp +0 -0
  974. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP5.xmp +0 -0
  975. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/XMP6.xmp +0 -0
  976. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/ZIP.gz +0 -0
  977. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/ZIP.zip +0 -0
  978. data/bin/{Image-ExifTool-10.04 → Image-ExifTool-10.23}/t/images/iWork.numbers +0 -0
  979. data/lib/exiftool_vendored/version.rb +1 -1
  980. metadata +980 -941
  981. data/bin/Image-ExifTool-10.04/Changes +0 -7227
  982. data/bin/Image-ExifTool-10.04/MANIFEST +0 -937
  983. data/bin/Image-ExifTool-10.04/META.yml +0 -27
  984. data/bin/Image-ExifTool-10.04/Makefile.PL +0 -41
  985. data/bin/Image-ExifTool-10.04/README +0 -233
  986. data/bin/Image-ExifTool-10.04/config_files/example.config +0 -343
  987. data/bin/Image-ExifTool-10.04/config_files/picasa_faces.config +0 -370
  988. data/bin/Image-ExifTool-10.04/exiftool +0 -6260
  989. data/bin/Image-ExifTool-10.04/html/ExifTool.html +0 -2070
  990. data/bin/Image-ExifTool-10.04/html/Shift.html +0 -173
  991. data/bin/Image-ExifTool-10.04/html/TagNames/Canon.html +0 -9344
  992. data/bin/Image-ExifTool-10.04/html/TagNames/CanonCustom.html +0 -2081
  993. data/bin/Image-ExifTool-10.04/html/TagNames/CanonVRD.html +0 -1958
  994. data/bin/Image-ExifTool-10.04/html/TagNames/Composite.html +0 -705
  995. data/bin/Image-ExifTool-10.04/html/TagNames/DNG.html +0 -291
  996. data/bin/Image-ExifTool-10.04/html/TagNames/DPX.html +0 -224
  997. data/bin/Image-ExifTool-10.04/html/TagNames/EXE.html +0 -697
  998. data/bin/Image-ExifTool-10.04/html/TagNames/EXIF.html +0 -3383
  999. data/bin/Image-ExifTool-10.04/html/TagNames/Extra.html +0 -437
  1000. data/bin/Image-ExifTool-10.04/html/TagNames/FLAC.html +0 -183
  1001. data/bin/Image-ExifTool-10.04/html/TagNames/FujiFilm.html +0 -813
  1002. data/bin/Image-ExifTool-10.04/html/TagNames/GPS.html +0 -230
  1003. data/bin/Image-ExifTool-10.04/html/TagNames/JFIF.html +0 -61
  1004. data/bin/Image-ExifTool-10.04/html/TagNames/Minolta.html +0 -2614
  1005. data/bin/Image-ExifTool-10.04/html/TagNames/Nikon.html +0 -4836
  1006. data/bin/Image-ExifTool-10.04/html/TagNames/NikonCustom.html +0 -5633
  1007. data/bin/Image-ExifTool-10.04/html/TagNames/Ogg.html +0 -44
  1008. data/bin/Image-ExifTool-10.04/html/TagNames/Olympus.html +0 -3534
  1009. data/bin/Image-ExifTool-10.04/html/TagNames/Pentax.html +0 -4693
  1010. data/bin/Image-ExifTool-10.04/html/TagNames/PhaseOne.html +0 -253
  1011. data/bin/Image-ExifTool-10.04/html/TagNames/Photoshop.html +0 -575
  1012. data/bin/Image-ExifTool-10.04/html/TagNames/QuickTime.html +0 -6040
  1013. data/bin/Image-ExifTool-10.04/html/TagNames/RIFF.html +0 -1344
  1014. data/bin/Image-ExifTool-10.04/html/TagNames/Samsung.html +0 -604
  1015. data/bin/Image-ExifTool-10.04/html/TagNames/Shortcuts.html +0 -277
  1016. data/bin/Image-ExifTool-10.04/html/TagNames/Sigma.html +0 -469
  1017. data/bin/Image-ExifTool-10.04/html/TagNames/Sony.html +0 -8781
  1018. data/bin/Image-ExifTool-10.04/html/TagNames/Vorbis.html +0 -228
  1019. data/bin/Image-ExifTool-10.04/html/TagNames/XMP.html +0 -9175
  1020. data/bin/Image-ExifTool-10.04/html/TagNames/index.html +0 -211
  1021. data/bin/Image-ExifTool-10.04/html/ancient_history.html +0 -7903
  1022. data/bin/Image-ExifTool-10.04/html/config.html +0 -355
  1023. data/bin/Image-ExifTool-10.04/html/exiftool_pod.html +0 -2514
  1024. data/bin/Image-ExifTool-10.04/html/faq.html +0 -1534
  1025. data/bin/Image-ExifTool-10.04/html/filename.html +0 -352
  1026. data/bin/Image-ExifTool-10.04/html/geotag.html +0 -654
  1027. data/bin/Image-ExifTool-10.04/html/history.html +0 -263
  1028. data/bin/Image-ExifTool-10.04/html/index.html +0 -1331
  1029. data/bin/Image-ExifTool-10.04/html/install.html +0 -255
  1030. data/bin/Image-ExifTool-10.04/lib/File/RandomAccess.pm +0 -378
  1031. data/bin/Image-ExifTool-10.04/lib/File/RandomAccess.pod +0 -231
  1032. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool.pm +0 -7499
  1033. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool.pod +0 -2504
  1034. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/AES.pm +0 -501
  1035. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/AFCP.pm +0 -286
  1036. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/AIFF.pm +0 -289
  1037. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/APE.pm +0 -264
  1038. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/APP12.pm +0 -322
  1039. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/ASF.pm +0 -885
  1040. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Apple.pm +0 -128
  1041. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Audible.pm +0 -317
  1042. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/BMP.pm +0 -179
  1043. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/BZZ.pm +0 -472
  1044. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/BigTIFF.pm +0 -282
  1045. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/BuildTagLookup.pm +0 -2513
  1046. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Canon.pm +0 -8482
  1047. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/CanonCustom.pm +0 -2582
  1048. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/CanonRaw.pm +0 -910
  1049. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/CanonVRD.pm +0 -2240
  1050. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/CaptureOne.pm +0 -235
  1051. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Casio.pm +0 -2058
  1052. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Charset.pm +0 -396
  1053. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/DICOM.pm +0 -3874
  1054. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/DNG.pm +0 -835
  1055. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/DPX.pm +0 -181
  1056. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/DV.pm +0 -319
  1057. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/DarwinCore.pm +0 -322
  1058. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/DjVu.pm +0 -376
  1059. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/EXE.pm +0 -1253
  1060. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Exif.pm +0 -4687
  1061. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/FLAC.pm +0 -297
  1062. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/FLIR.pm +0 -1533
  1063. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Fixup.pm +0 -354
  1064. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Flash.pm +0 -755
  1065. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/FlashPix.pm +0 -1935
  1066. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Font.pm +0 -647
  1067. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/FotoStation.pm +0 -261
  1068. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/FujiFilm.pm +0 -1196
  1069. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/GE.pm +0 -81
  1070. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/GIF.pm +0 -542
  1071. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/GIMP.pm +0 -258
  1072. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/GPS.pm +0 -558
  1073. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/GeoTiff.pm +0 -2263
  1074. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Geotag.pm +0 -1221
  1075. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/H264.pm +0 -1112
  1076. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/HP.pm +0 -263
  1077. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/HTML.pm +0 -576
  1078. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/HtmlDump.pm +0 -895
  1079. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/ICC_Profile.pm +0 -1000
  1080. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/ID3.pm +0 -1569
  1081. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/IPTC.pm +0 -1264
  1082. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/ITC.pm +0 -215
  1083. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Import.pm +0 -329
  1084. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/InDesign.pm +0 -277
  1085. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/JPEG.pm +0 -605
  1086. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/JPEGDigest.pm +0 -2511
  1087. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/JVC.pm +0 -130
  1088. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Jpeg2000.pm +0 -882
  1089. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Kodak.pm +0 -2096
  1090. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/KyoceraRaw.pm +0 -173
  1091. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/LNK.pm +0 -723
  1092. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/cs.pm +0 -1588
  1093. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/de.pm +0 -8692
  1094. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/en_ca.pm +0 -848
  1095. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/en_gb.pm +0 -863
  1096. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/es.pm +0 -4019
  1097. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/fi.pm +0 -2854
  1098. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/fr.pm +0 -4758
  1099. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/it.pm +0 -7918
  1100. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/ja.pm +0 -5835
  1101. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/ko.pm +0 -2330
  1102. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/nl.pm +0 -3222
  1103. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/pl.pm +0 -1276
  1104. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/ru.pm +0 -768
  1105. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/sv.pm +0 -638
  1106. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/tr.pm +0 -544
  1107. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/zh_cn.pm +0 -1330
  1108. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lang/zh_tw.pm +0 -801
  1109. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Leaf.pm +0 -516
  1110. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Lytro.pm +0 -217
  1111. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/M2TS.pm +0 -725
  1112. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MIE.pm +0 -2564
  1113. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MIEUnits.pod +0 -377
  1114. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MIFF.pm +0 -279
  1115. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MNG.pm +0 -684
  1116. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MOI.pm +0 -158
  1117. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MPC.pm +0 -156
  1118. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MPEG.pm +0 -736
  1119. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MPF.pm +0 -292
  1120. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MWG.pm +0 -753
  1121. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MXF.pm +0 -3031
  1122. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MakerNotes.pm +0 -1725
  1123. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Matroska.pm +0 -892
  1124. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Microsoft.pm +0 -904
  1125. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Minolta.pm +0 -2961
  1126. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/MinoltaRaw.pm +0 -534
  1127. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Nikon.pm +0 -6751
  1128. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/NikonCapture.pm +0 -940
  1129. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/NikonCustom.pm +0 -6331
  1130. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Nintendo.pm +0 -128
  1131. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/OOXML.pm +0 -409
  1132. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Ogg.pm +0 -237
  1133. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Olympus.pm +0 -3797
  1134. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/OpenEXR.pm +0 -324
  1135. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PDF.pm +0 -2328
  1136. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PGF.pm +0 -143
  1137. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PICT.pm +0 -1260
  1138. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PLIST.pm +0 -453
  1139. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PNG.pm +0 -1227
  1140. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PPM.pm +0 -169
  1141. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PSP.pm +0 -306
  1142. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Palm.pm +0 -403
  1143. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Panasonic.pm +0 -2374
  1144. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PanasonicRaw.pm +0 -643
  1145. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Pentax.pm +0 -5973
  1146. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PhaseOne.pm +0 -551
  1147. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PhotoCD.pm +0 -507
  1148. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PhotoMechanic.pm +0 -256
  1149. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Photoshop.pm +0 -650
  1150. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PostScript.pm +0 -696
  1151. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/PrintIM.pm +0 -125
  1152. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Qualcomm.pm +0 -1344
  1153. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/QuickTime.pm +0 -6576
  1154. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/README +0 -981
  1155. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/RIFF.pm +0 -1530
  1156. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/RSRC.pm +0 -241
  1157. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/RTF.pm +0 -383
  1158. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Radiance.pm +0 -144
  1159. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Rawzor.pm +0 -189
  1160. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Real.pm +0 -739
  1161. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Reconyx.pm +0 -190
  1162. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Ricoh.pm +0 -1148
  1163. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Samsung.pm +0 -1168
  1164. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Sanyo.pm +0 -440
  1165. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Scalado.pm +0 -141
  1166. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Shift.pl +0 -596
  1167. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Shortcuts.pm +0 -336
  1168. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Sigma.pm +0 -684
  1169. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/SigmaRaw.pm +0 -668
  1170. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Sony.pm +0 -9219
  1171. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/SonyIDC.pm +0 -331
  1172. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Stim.pm +0 -196
  1173. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/TagInfoXML.pm +0 -827
  1174. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/TagLookup.pm +0 -8948
  1175. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/TagNames.pod +0 -29199
  1176. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Theora.pm +0 -145
  1177. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Torrent.pm +0 -317
  1178. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Unknown.pm +0 -66
  1179. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/VCard.pm +0 -405
  1180. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Vorbis.pm +0 -238
  1181. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WriteCanonRaw.pl +0 -637
  1182. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WriteExif.pl +0 -3741
  1183. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WriteIPTC.pl +0 -706
  1184. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WritePDF.pl +0 -768
  1185. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WritePNG.pl +0 -390
  1186. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WritePhotoshop.pl +0 -266
  1187. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WritePostScript.pl +0 -772
  1188. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WriteQuickTime.pl +0 -358
  1189. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/WriteXMP.pl +0 -1367
  1190. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/Writer.pl +0 -6165
  1191. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/XMP.pm +0 -4034
  1192. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/XMP2.pl +0 -1579
  1193. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/XMPStruct.pl +0 -828
  1194. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/ZIP.pm +0 -667
  1195. data/bin/Image-ExifTool-10.04/lib/Image/ExifTool/iWork.pm +0 -223
  1196. data/bin/Image-ExifTool-10.04/perl-Image-ExifTool.spec +0 -112
  1197. data/bin/Image-ExifTool-10.04/t/APE_2.out +0 -29
  1198. data/bin/Image-ExifTool-10.04/t/CanonRaw_5.out +0 -209
  1199. data/bin/Image-ExifTool-10.04/t/DNG_2.out +0 -328
  1200. data/bin/Image-ExifTool-10.04/t/EXE.t +0 -31
  1201. data/bin/Image-ExifTool-10.04/t/EXE_2.out +0 -41
  1202. data/bin/Image-ExifTool-10.04/t/EXE_3.out +0 -16
  1203. data/bin/Image-ExifTool-10.04/t/EXE_4.out +0 -15
  1204. data/bin/Image-ExifTool-10.04/t/ExifTool.t +0 -304
  1205. data/bin/Image-ExifTool-10.04/t/ExifTool_17.out +0 -598
  1206. data/bin/Image-ExifTool-10.04/t/ExifTool_2.out +0 -418
  1207. data/bin/Image-ExifTool-10.04/t/FLAC_3.out +0 -20
  1208. data/bin/Image-ExifTool-10.04/t/FujiFilm_4.out +0 -141
  1209. data/bin/Image-ExifTool-10.04/t/Geotag.t +0 -185
  1210. data/bin/Image-ExifTool-10.04/t/IPTC_2.out +0 -60
  1211. data/bin/Image-ExifTool-10.04/t/IPTC_4.out +0 -58
  1212. data/bin/Image-ExifTool-10.04/t/MIFF_2.out +0 -110
  1213. data/bin/Image-ExifTool-10.04/t/Olympus_4.out +0 -194
  1214. data/bin/Image-ExifTool-10.04/t/Olympus_5.out +0 -266
  1215. data/bin/Image-ExifTool-10.04/t/Olympus_6.out +0 -153
  1216. data/bin/Image-ExifTool-10.04/t/Olympus_7.out +0 -483
  1217. data/bin/Image-ExifTool-10.04/t/PDF_2.out +0 -118
  1218. data/bin/Image-ExifTool-10.04/t/Photoshop_2.out +0 -98
  1219. data/bin/Image-ExifTool-10.04/t/Photoshop_3.out +0 -110
  1220. data/bin/Image-ExifTool-10.04/t/Sigma_4.out +0 -65
  1221. data/bin/Image-ExifTool-10.04/t/TestLib.pm +0 -427
  1222. data/bin/Image-ExifTool-10.04/t/Vorbis_2.out +0 -29
  1223. data/bin/Image-ExifTool-10.04/t/Writer_31.out +0 -99
  1224. data/bin/Image-ExifTool-10.04/t/Writer_51.out +0 -405
  1225. data/bin/Image-ExifTool-10.04/t/XMP.t +0 -557
@@ -1,4687 +0,0 @@
1
- #------------------------------------------------------------------------------
2
- # File: Exif.pm
3
- #
4
- # Description: Read EXIF/TIFF meta information
5
- #
6
- # Revisions: 11/25/2003 - P. Harvey Created
7
- # 02/06/2004 - P. Harvey Moved processing functions from ExifTool
8
- # 03/19/2004 - P. Harvey Check PreviewImage for validity
9
- # 11/11/2004 - P. Harvey Split off maker notes into MakerNotes.pm
10
- # 12/13/2004 - P. Harvey Added AUTOLOAD to load write routines
11
- #
12
- # References: 0) http://www.exif.org/Exif2-2.PDF
13
- # 1) http://partners.adobe.com/asn/developer/pdfs/tn/TIFF6.pdf
14
- # 2) http://www.adobe.com/products/dng/pdfs/dng_spec_1_3_0_0.pdf
15
- # 3) http://www.awaresystems.be/imaging/tiff/tifftags.html
16
- # 4) http://www.remotesensing.org/libtiff/TIFFTechNote2.html
17
- # 5) http://www.exif.org/dcf.PDF
18
- # 6) http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html
19
- # 7) http://www.fine-view.com/jp/lab/doc/ps6ffspecsv2.pdf
20
- # 8) http://www.ozhiker.com/electronics/pjmt/jpeg_info/meta.html
21
- # 9) http://hul.harvard.edu/jhove/tiff-tags.html
22
- # 10) http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf
23
- # 11) Robert Mucke private communication
24
- # 12) http://www.broomscloset.com/closet/photo/exif/TAG2000-22_DIS12234-2.PDF
25
- # 13) http://www.microsoft.com/whdc/xps/wmphoto.mspx
26
- # 14) http://www.asmail.be/msg0054681802.html
27
- # 15) http://crousseau.free.fr/imgfmt_raw.htm
28
- # 16) http://www.cybercom.net/~dcoffin/dcraw/
29
- # 17) http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml
30
- # 18) http://www.asmail.be/msg0055568584.html
31
- # 19) http://libpsd.graphest.com/files/Photoshop%20File%20Formats.pdf
32
- # 20) http://tiki-lounge.com/~raf/tiff/fields.html
33
- # 21) http://community.roxen.com/developers/idocs/rfc/rfc3949.html
34
- # 22) http://tools.ietf.org/html/draft-ietf-fax-tiff-fx-extension1-01
35
- # 23) MetaMorph Stack (STK) Image File Format:
36
- # --> ftp://ftp.meta.moleculardevices.com/support/stack/STK.doc
37
- # 24) http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf (Exif 2.3)
38
- # 25) Vesa Kivisto private communication (7D)
39
- # 26) Jeremy Brown private communication
40
- # 27) Gregg Lee private communication
41
- # 28) http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/cinemadng/pdfs/CinemaDNG_Format_Specification_v1_1.pdf
42
- # 29) http://www.libtiff.org
43
- # JD) Jens Duttke private communication
44
- #------------------------------------------------------------------------------
45
-
46
- package Image::ExifTool::Exif;
47
-
48
- use strict;
49
- use vars qw($VERSION $AUTOLOAD @formatSize @formatName %formatNumber %intFormat
50
- %lightSource %flash %compression %photometricInterpretation %orientation
51
- %subfileType);
52
- use Image::ExifTool qw(:DataAccess :Utils);
53
- use Image::ExifTool::MakerNotes;
54
-
55
- $VERSION = '3.76';
56
-
57
- sub ProcessExif($$$);
58
- sub WriteExif($$$);
59
- sub CheckExif($$$);
60
- sub RebuildMakerNotes($$$);
61
- sub EncodeExifText($$);
62
- sub ValidateIFD($;$);
63
- sub ProcessTiffIFD($$$);
64
- sub PrintParameter($$$);
65
- sub GetOffList($$$$$);
66
- sub PrintLensInfo($);
67
- sub ConvertLensInfo($);
68
-
69
- # size limit for loading binary data block into memory
70
- sub BINARY_DATA_LIMIT { return 10 * 1024 * 1024; }
71
-
72
- # byte sizes for the various EXIF format types below
73
- @formatSize = (undef,1,1,2,4,8,1,1,2,4,8,4,8,4,2,8,8,8,8);
74
-
75
- @formatName = (
76
- undef, 'int8u', 'string', 'int16u',
77
- 'int32u', 'rational64u','int8s', 'undef',
78
- 'int16s', 'int32s', 'rational64s','float',
79
- 'double', 'ifd', 'unicode', 'complex',
80
- 'int64u', 'int64s', 'ifd64', # (new BigTIFF formats)
81
- );
82
-
83
- # hash to look up EXIF format numbers by name
84
- # (format types are all lower case)
85
- %formatNumber = (
86
- 'int8u' => 1, # BYTE
87
- 'string' => 2, # ASCII
88
- 'int16u' => 3, # SHORT
89
- 'int32u' => 4, # LONG
90
- 'rational64u' => 5, # RATIONAL
91
- 'int8s' => 6, # SBYTE
92
- 'undef' => 7, # UNDEFINED
93
- 'binary' => 7, # (same as undef)
94
- 'int16s' => 8, # SSHORT
95
- 'int32s' => 9, # SLONG
96
- 'rational64s' => 10, # SRATIONAL
97
- 'float' => 11, # FLOAT
98
- 'double' => 12, # DOUBLE
99
- 'ifd' => 13, # IFD (with int32u format)
100
- 'unicode' => 14, # UNICODE [see Note below]
101
- 'complex' => 15, # COMPLEX [see Note below]
102
- 'int64u' => 16, # LONG8 [BigTIFF]
103
- 'int64s' => 17, # SLONG8 [BigTIFF]
104
- 'ifd64' => 18, # IFD8 (with int64u format) [BigTIFF]
105
- # Note: unicode and complex types are not yet properly supported by ExifTool.
106
- # These are types which have been observed in the Adobe DNG SDK code, but
107
- # aren't fully supported there either. We know the sizes, but that's about it.
108
- # We don't know if the unicode is null terminated, or the format for complex
109
- # (although I suspect it would be two 4-byte floats, real and imaginary).
110
- );
111
-
112
- # lookup for integer format strings
113
- %intFormat = (
114
- 'int8u' => 1,
115
- 'int16u' => 3,
116
- 'int32u' => 4,
117
- 'int8s' => 6,
118
- 'int16s' => 8,
119
- 'int32s' => 9,
120
- 'ifd' => 13,
121
- 'int64u' => 16,
122
- 'int64s' => 17,
123
- 'ifd64' => 18,
124
- );
125
-
126
- # EXIF LightSource PrintConv values
127
- %lightSource = (
128
- 0 => 'Unknown',
129
- 1 => 'Daylight',
130
- 2 => 'Fluorescent',
131
- 3 => 'Tungsten (Incandescent)',
132
- 4 => 'Flash',
133
- 9 => 'Fine Weather',
134
- 10 => 'Cloudy',
135
- 11 => 'Shade',
136
- 12 => 'Daylight Fluorescent', # (D 5700 - 7100K)
137
- 13 => 'Day White Fluorescent', # (N 4600 - 5500K)
138
- 14 => 'Cool White Fluorescent', # (W 3800 - 4500K)
139
- 15 => 'White Fluorescent', # (WW 3250 - 3800K)
140
- 16 => 'Warm White Fluorescent', # (L 2600 - 3250K)
141
- 17 => 'Standard Light A',
142
- 18 => 'Standard Light B',
143
- 19 => 'Standard Light C',
144
- 20 => 'D55',
145
- 21 => 'D65',
146
- 22 => 'D75',
147
- 23 => 'D50',
148
- 24 => 'ISO Studio Tungsten',
149
- 255 => 'Other',
150
- );
151
-
152
- # EXIF Flash values
153
- %flash = (
154
- OTHER => sub {
155
- # translate "Off" and "On" when writing
156
- my ($val, $inv) = @_;
157
- return undef unless $inv and $val =~ /^(off|on)$/i;
158
- return lc $val eq 'off' ? 0x00 : 0x01;
159
- },
160
- 0x00 => 'No Flash',
161
- 0x01 => 'Fired',
162
- 0x05 => 'Fired, Return not detected',
163
- 0x07 => 'Fired, Return detected',
164
- 0x08 => 'On, Did not fire', # not charged up?
165
- 0x09 => 'On, Fired',
166
- 0x0d => 'On, Return not detected',
167
- 0x0f => 'On, Return detected',
168
- 0x10 => 'Off, Did not fire',
169
- 0x14 => 'Off, Did not fire, Return not detected',
170
- 0x18 => 'Auto, Did not fire',
171
- 0x19 => 'Auto, Fired',
172
- 0x1d => 'Auto, Fired, Return not detected',
173
- 0x1f => 'Auto, Fired, Return detected',
174
- 0x20 => 'No flash function',
175
- 0x30 => 'Off, No flash function',
176
- 0x41 => 'Fired, Red-eye reduction',
177
- 0x45 => 'Fired, Red-eye reduction, Return not detected',
178
- 0x47 => 'Fired, Red-eye reduction, Return detected',
179
- 0x49 => 'On, Red-eye reduction',
180
- 0x4d => 'On, Red-eye reduction, Return not detected',
181
- 0x4f => 'On, Red-eye reduction, Return detected',
182
- 0x50 => 'Off, Red-eye reduction',
183
- 0x58 => 'Auto, Did not fire, Red-eye reduction',
184
- 0x59 => 'Auto, Fired, Red-eye reduction',
185
- 0x5d => 'Auto, Fired, Red-eye reduction, Return not detected',
186
- 0x5f => 'Auto, Fired, Red-eye reduction, Return detected',
187
- );
188
-
189
- # TIFF Compression values
190
- # (values with format "Xxxxx XXX Compressed" are used to identify RAW file types)
191
- %compression = (
192
- 1 => 'Uncompressed',
193
- 2 => 'CCITT 1D',
194
- 3 => 'T4/Group 3 Fax',
195
- 4 => 'T6/Group 4 Fax',
196
- 5 => 'LZW',
197
- 6 => 'JPEG (old-style)', #3
198
- 7 => 'JPEG', #4
199
- 8 => 'Adobe Deflate', #3
200
- 9 => 'JBIG B&W', #3
201
- 10 => 'JBIG Color', #3
202
- 99 => 'JPEG', #16
203
- 262 => 'Kodak 262', #16
204
- 32766 => 'Next', #3
205
- 32767 => 'Sony ARW Compressed', #16
206
- 32769 => 'Packed RAW', #PH (used by Epson, Nikon, Samsung)
207
- 32770 => 'Samsung SRW Compressed', #PH
208
- 32771 => 'CCIRLEW', #3
209
- 32772 => 'Samsung SRW Compressed 2', #PH (NX3000,NXmini)
210
- 32773 => 'PackBits',
211
- 32809 => 'Thunderscan', #3
212
- 32867 => 'Kodak KDC Compressed', #PH
213
- 32895 => 'IT8CTPAD', #3
214
- 32896 => 'IT8LW', #3
215
- 32897 => 'IT8MP', #3
216
- 32898 => 'IT8BL', #3
217
- 32908 => 'PixarFilm', #3
218
- 32909 => 'PixarLog', #3
219
- 32946 => 'Deflate', #3
220
- 32947 => 'DCS', #3
221
- 34661 => 'JBIG', #3
222
- 34676 => 'SGILog', #3
223
- 34677 => 'SGILog24', #3
224
- 34712 => 'JPEG 2000', #3
225
- 34713 => 'Nikon NEF Compressed', #PH
226
- 34715 => 'JBIG2 TIFF FX', #20
227
- 34718 => 'Microsoft Document Imaging (MDI) Binary Level Codec', #18
228
- 34719 => 'Microsoft Document Imaging (MDI) Progressive Transform Codec', #18
229
- 34720 => 'Microsoft Document Imaging (MDI) Vector', #18
230
- 34892 => 'Lossy JPEG', # (DNG 1.4)
231
- 65000 => 'Kodak DCR Compressed', #PH
232
- 65535 => 'Pentax PEF Compressed', #Jens
233
- );
234
-
235
- %photometricInterpretation = (
236
- 0 => 'WhiteIsZero',
237
- 1 => 'BlackIsZero',
238
- 2 => 'RGB',
239
- 3 => 'RGB Palette',
240
- 4 => 'Transparency Mask',
241
- 5 => 'CMYK',
242
- 6 => 'YCbCr',
243
- 8 => 'CIELab',
244
- 9 => 'ICCLab', #3
245
- 10 => 'ITULab', #3
246
- 32803 => 'Color Filter Array', #2
247
- 32844 => 'Pixar LogL', #3
248
- 32845 => 'Pixar LogLuv', #3
249
- 34892 => 'Linear Raw', #2
250
- );
251
-
252
- %orientation = (
253
- 1 => 'Horizontal (normal)',
254
- 2 => 'Mirror horizontal',
255
- 3 => 'Rotate 180',
256
- 4 => 'Mirror vertical',
257
- 5 => 'Mirror horizontal and rotate 270 CW',
258
- 6 => 'Rotate 90 CW',
259
- 7 => 'Mirror horizontal and rotate 90 CW',
260
- 8 => 'Rotate 270 CW',
261
- );
262
-
263
- %subfileType = (
264
- 0 => 'Full-resolution Image',
265
- 1 => 'Reduced-resolution image',
266
- 2 => 'Single page of multi-page image',
267
- 3 => 'Single page of multi-page reduced-resolution image',
268
- 4 => 'Transparency mask',
269
- 5 => 'Transparency mask of reduced-resolution image',
270
- 6 => 'Transparency mask of multi-page image',
271
- 7 => 'Transparency mask of reduced-resolution multi-page image',
272
- 0x10001 => 'Alternate reduced-resolution image', # (DNG 1.2)
273
- 0xffffffff => 'invalid', #(found in E5700 NEF's)
274
- BITMASK => {
275
- 0 => 'Reduced resolution',
276
- 1 => 'Single page',
277
- 2 => 'Transparency mask',
278
- 3 => 'TIFF/IT final page', #20
279
- 4 => 'TIFF-FX mixed raster content', #20
280
- },
281
- );
282
-
283
- # PrintConv for parameter tags
284
- %Image::ExifTool::Exif::printParameter = (
285
- PrintConv => {
286
- 0 => 'Normal',
287
- OTHER => \&Image::ExifTool::Exif::PrintParameter,
288
- },
289
- );
290
-
291
- # ValueConv that makes long values binary type
292
- my %longBin = (
293
- ValueConv => 'length($val) > 64 ? \$val : $val',
294
- ValueConvInv => '$val',
295
- );
296
-
297
- # PrintConv for SampleFormat (0x153)
298
- my %sampleFormat = (
299
- 1 => 'Unsigned', # unsigned integer
300
- 2 => 'Signed', # two's complement signed integer
301
- 3 => 'Float', # IEEE floating point
302
- 4 => 'Undefined',
303
- 5 => 'Complex int', # complex integer (ref 3)
304
- 6 => 'Complex float', # complex IEEE floating point (ref 3)
305
- );
306
-
307
- # main EXIF tag table
308
- %Image::ExifTool::Exif::Main = (
309
- GROUPS => { 0 => 'EXIF', 1 => 'IFD0', 2 => 'Image'},
310
- WRITE_PROC => \&WriteExif,
311
- WRITE_GROUP => 'ExifIFD', # default write group
312
- SET_GROUP1 => 1, # set group1 name to directory name for all tags in table
313
- 0x1 => {
314
- Name => 'InteropIndex',
315
- Description => 'Interoperability Index',
316
- PrintConv => {
317
- R98 => 'R98 - DCF basic file (sRGB)',
318
- R03 => 'R03 - DCF option file (Adobe RGB)',
319
- THM => 'THM - DCF thumbnail file',
320
- },
321
- },
322
- 0x2 => { #5
323
- Name => 'InteropVersion',
324
- Description => 'Interoperability Version',
325
- RawConv => '$val=~s/\0+$//; $val', # (some idiots add null terminators)
326
- },
327
- 0x0b => { #PH
328
- Name => 'ProcessingSoftware',
329
- Notes => 'used by ACD Systems Digital Imaging',
330
- },
331
- 0xfe => {
332
- Name => 'SubfileType',
333
- # set priority directory if this is the full resolution image
334
- DataMember => 'SubfileType',
335
- RawConv => '$self->SetPriorityDir() if $val eq "0"; $$self{SubfileType} = $val',
336
- PrintConv => \%subfileType,
337
- },
338
- 0xff => {
339
- Name => 'OldSubfileType',
340
- # set priority directory if this is the full resolution image
341
- RawConv => '$self->SetPriorityDir() if $val eq "1"; $val',
342
- PrintConv => {
343
- 1 => 'Full-resolution image',
344
- 2 => 'Reduced-resolution image',
345
- 3 => 'Single page of multi-page image',
346
- },
347
- },
348
- 0x100 => {
349
- Name => 'ImageWidth',
350
- # even though Group 1 is set dynamically we need to register IFD1 once
351
- # so it will show up in the group lists
352
- Groups => { 1 => 'IFD1' },
353
- # Note: priority 0 tags automatically have their priority increased for the
354
- # priority direcory (the directory with a SubfileType of "Full-resolution image")
355
- Priority => 0,
356
- },
357
- 0x101 => {
358
- Name => 'ImageHeight',
359
- Notes => 'called ImageLength by the EXIF spec.',
360
- Priority => 0,
361
- },
362
- 0x102 => {
363
- Name => 'BitsPerSample',
364
- Priority => 0,
365
- },
366
- 0x103 => {
367
- Name => 'Compression',
368
- DataMember => 'Compression',
369
- SeparateTable => 'Compression',
370
- RawConv => q{
371
- Image::ExifTool::Exif::IdentifyRawFile($self, $val);
372
- return $$self{Compression} = $val;
373
- },
374
- PrintConv => \%compression,
375
- Priority => 0,
376
- },
377
- 0x106 => {
378
- Name => 'PhotometricInterpretation',
379
- PrintConv => \%photometricInterpretation,
380
- Priority => 0,
381
- },
382
- 0x107 => {
383
- Name => 'Thresholding',
384
- PrintConv => {
385
- 1 => 'No dithering or halftoning',
386
- 2 => 'Ordered dither or halftone',
387
- 3 => 'Randomized dither',
388
- },
389
- },
390
- 0x108 => 'CellWidth',
391
- 0x109 => 'CellLength',
392
- 0x10a => {
393
- Name => 'FillOrder',
394
- PrintConv => {
395
- 1 => 'Normal',
396
- 2 => 'Reversed',
397
- },
398
- },
399
- 0x10d => 'DocumentName',
400
- 0x10e => {
401
- Name => 'ImageDescription',
402
- Priority => 0,
403
- },
404
- 0x10f => {
405
- Name => 'Make',
406
- Groups => { 2 => 'Camera' },
407
- DataMember => 'Make',
408
- # remove trailing blanks and save as an ExifTool member variable
409
- RawConv => '$val =~ s/\s+$//; $$self{Make} = $val',
410
- # NOTE: trailing "blanks" (spaces) are removed from all EXIF tags which
411
- # may be "unknown" (filled with spaces) according to the EXIF spec.
412
- # This allows conditional replacement with "exiftool -TAG-= -TAG=VALUE".
413
- # - also removed are any other trailing whitespace characters
414
- },
415
- 0x110 => {
416
- Name => 'Model',
417
- Description => 'Camera Model Name',
418
- Groups => { 2 => 'Camera' },
419
- DataMember => 'Model',
420
- # remove trailing blanks and save as an ExifTool member variable
421
- RawConv => '$val =~ s/\s+$//; $$self{Model} = $val',
422
- },
423
- 0x111 => [
424
- {
425
- Condition => q[
426
- $$self{TIFF_TYPE} eq 'MRW' and $$self{DIR_NAME} eq 'IFD0' and
427
- $$self{Model} =~ /^DiMAGE A200/
428
- ],
429
- Name => 'StripOffsets',
430
- IsOffset => 1,
431
- OffsetPair => 0x117, # point to associated byte counts
432
- # A200 stores this information in the wrong byte order!!
433
- ValueConv => '$val=join(" ",unpack("N*",pack("V*",split(" ",$val))));\$val',
434
- ByteOrder => 'LittleEndian',
435
- },
436
- {
437
- Condition => q[
438
- ($$self{TIFF_TYPE} ne 'CR2' or $$self{DIR_NAME} ne 'IFD0') and
439
- ($$self{TIFF_TYPE} ne 'DNG' or $$self{DIR_NAME} !~ /^SubIFD[12]$/)
440
- ],
441
- Name => 'StripOffsets',
442
- IsOffset => 1,
443
- OffsetPair => 0x117, # point to associated byte counts
444
- ValueConv => 'length($val) > 32 ? \$val : $val',
445
- },
446
- {
447
- Condition => '$$self{DIR_NAME} eq "IFD0"',
448
- Name => 'PreviewImageStart',
449
- IsOffset => 1,
450
- OffsetPair => 0x117,
451
- Notes => q{
452
- PreviewImageStart in IFD0 of CR2 images and SubIFD1 of DNG images, and
453
- JpgFromRawStart in SubIFD2 of DNG images
454
- },
455
- DataTag => 'PreviewImage',
456
- Writable => 'int32u',
457
- WriteGroup => 'IFD0',
458
- WriteCondition => '$$self{TIFF_TYPE} eq "CR2"',
459
- Protected => 2,
460
- },
461
- {
462
- Condition => '$$self{DIR_NAME} eq "SubIFD1"',
463
- Name => 'PreviewImageStart',
464
- IsOffset => 1,
465
- OffsetPair => 0x117,
466
- DataTag => 'PreviewImage',
467
- Writable => 'int32u',
468
- WriteGroup => 'SubIFD1',
469
- WriteCondition => '$$self{TIFF_TYPE} eq "DNG"',
470
- Protected => 2,
471
- },
472
- {
473
- Name => 'JpgFromRawStart',
474
- IsOffset => 1,
475
- OffsetPair => 0x117,
476
- DataTag => 'JpgFromRaw',
477
- Writable => 'int32u',
478
- WriteGroup => 'SubIFD2',
479
- WriteCondition => '$$self{TIFF_TYPE} eq "DNG"',
480
- Protected => 2,
481
- },
482
- ],
483
- 0x112 => {
484
- Name => 'Orientation',
485
- PrintConv => \%orientation,
486
- Priority => 0, # so PRIORITY_DIR takes precedence
487
- },
488
- 0x115 => {
489
- Name => 'SamplesPerPixel',
490
- Priority => 0,
491
- },
492
- 0x116 => {
493
- Name => 'RowsPerStrip',
494
- Priority => 0,
495
- },
496
- 0x117 => [
497
- {
498
- Condition => q[
499
- $$self{TIFF_TYPE} eq 'MRW' and $$self{DIR_NAME} eq 'IFD0' and
500
- $$self{Model} =~ /^DiMAGE A200/
501
- ],
502
- Name => 'StripByteCounts',
503
- OffsetPair => 0x111, # point to associated offset
504
- # A200 stores this information in the wrong byte order!!
505
- ValueConv => '$val=join(" ",unpack("N*",pack("V*",split(" ",$val))));\$val',
506
- ByteOrder => 'LittleEndian',
507
- },
508
- {
509
- Condition => q[
510
- ($$self{TIFF_TYPE} ne 'CR2' or $$self{DIR_NAME} ne 'IFD0') and
511
- ($$self{TIFF_TYPE} ne 'DNG' or $$self{DIR_NAME} !~ /^SubIFD[12]$/)
512
- ],
513
- Name => 'StripByteCounts',
514
- OffsetPair => 0x111, # point to associated offset
515
- ValueConv => 'length($val) > 32 ? \$val : $val',
516
- },
517
- {
518
- Condition => '$$self{DIR_NAME} eq "IFD0"',
519
- Name => 'PreviewImageLength',
520
- OffsetPair => 0x111,
521
- Notes => q{
522
- PreviewImageLength in IFD0 of CR2 images and SubIFD1 of DNG images, and
523
- JpgFromRawLength in SubIFD2 of DNG images
524
- },
525
- DataTag => 'PreviewImage',
526
- Writable => 'int32u',
527
- WriteGroup => 'IFD0',
528
- WriteCondition => '$$self{TIFF_TYPE} eq "CR2"',
529
- Protected => 2,
530
- },
531
- {
532
- Condition => '$$self{DIR_NAME} eq "SubIFD1"',
533
- Name => 'PreviewImageLength',
534
- OffsetPair => 0x111,
535
- DataTag => 'PreviewImage',
536
- Writable => 'int32u',
537
- WriteGroup => 'SubIFD1',
538
- WriteCondition => '$$self{TIFF_TYPE} eq "DNG"',
539
- Protected => 2,
540
- },
541
- {
542
- Name => 'JpgFromRawLength',
543
- OffsetPair => 0x111,
544
- DataTag => 'JpgFromRaw',
545
- Writable => 'int32u',
546
- WriteGroup => 'SubIFD2',
547
- WriteCondition => '$$self{TIFF_TYPE} eq "DNG"',
548
- Protected => 2,
549
- },
550
- ],
551
- 0x118 => 'MinSampleValue',
552
- 0x119 => 'MaxSampleValue',
553
- 0x11a => {
554
- Name => 'XResolution',
555
- Priority => 0, # so PRIORITY_DIR takes precedence
556
- },
557
- 0x11b => {
558
- Name => 'YResolution',
559
- Priority => 0,
560
- },
561
- 0x11c => {
562
- Name => 'PlanarConfiguration',
563
- PrintConv => {
564
- 1 => 'Chunky',
565
- 2 => 'Planar',
566
- },
567
- Priority => 0,
568
- },
569
- 0x11d => 'PageName',
570
- 0x11e => 'XPosition',
571
- 0x11f => 'YPosition',
572
- # FreeOffsets/FreeByteCounts are used by Ricoh for RMETA information
573
- # in TIFF images (not yet supported)
574
- 0x120 => {
575
- Name => 'FreeOffsets',
576
- IsOffset => 1,
577
- OffsetPair => 0x121,
578
- ValueConv => 'length($val) > 32 ? \$val : $val',
579
- },
580
- 0x121 => {
581
- Name => 'FreeByteCounts',
582
- OffsetPair => 0x120,
583
- ValueConv => 'length($val) > 32 ? \$val : $val',
584
- },
585
- 0x122 => {
586
- Name => 'GrayResponseUnit',
587
- PrintConv => { #3
588
- 1 => 0.1,
589
- 2 => 0.001,
590
- 3 => 0.0001,
591
- 4 => 0.00001,
592
- 5 => 0.000001,
593
- },
594
- },
595
- 0x123 => {
596
- Name => 'GrayResponseCurve',
597
- Binary => 1,
598
- },
599
- 0x124 => {
600
- Name => 'T4Options',
601
- PrintConv => { BITMASK => {
602
- 0 => '2-Dimensional encoding',
603
- 1 => 'Uncompressed',
604
- 2 => 'Fill bits added',
605
- } }, #3
606
- },
607
- 0x125 => {
608
- Name => 'T6Options',
609
- PrintConv => { BITMASK => {
610
- 1 => 'Uncompressed',
611
- } }, #3
612
- },
613
- 0x128 => {
614
- Name => 'ResolutionUnit',
615
- Notes => 'the value 1 is not standard EXIF',
616
- PrintConv => {
617
- 1 => 'None',
618
- 2 => 'inches',
619
- 3 => 'cm',
620
- },
621
- Priority => 0,
622
- },
623
- 0x129 => 'PageNumber',
624
- 0x12c => 'ColorResponseUnit', #9
625
- 0x12d => {
626
- Name => 'TransferFunction',
627
- Binary => 1,
628
- },
629
- 0x131 => {
630
- Name => 'Software',
631
- RawConv => '$val =~ s/\s+$//; $val', # trim trailing blanks
632
- },
633
- 0x132 => {
634
- Name => 'ModifyDate',
635
- Groups => { 2 => 'Time' },
636
- Notes => 'called DateTime by the EXIF spec.',
637
- PrintConv => '$self->ConvertDateTime($val)',
638
- },
639
- 0x13b => {
640
- Name => 'Artist',
641
- Groups => { 2 => 'Author' },
642
- Notes => 'becomes a list-type tag when the MWG module is loaded',
643
- RawConv => '$val =~ s/\s+$//; $val', # trim trailing blanks
644
- },
645
- 0x13c => 'HostComputer',
646
- 0x13d => {
647
- Name => 'Predictor',
648
- PrintConv => {
649
- 1 => 'None',
650
- 2 => 'Horizontal differencing',
651
- },
652
- },
653
- 0x13e => {
654
- Name => 'WhitePoint',
655
- Groups => { 2 => 'Camera' },
656
- },
657
- 0x13f => {
658
- Name => 'PrimaryChromaticities',
659
- Priority => 0,
660
- },
661
- 0x140 => {
662
- Name => 'ColorMap',
663
- Format => 'binary',
664
- Binary => 1,
665
- },
666
- 0x141 => 'HalftoneHints',
667
- 0x142 => 'TileWidth',
668
- 0x143 => 'TileLength',
669
- 0x144 => {
670
- Name => 'TileOffsets',
671
- IsOffset => 1,
672
- OffsetPair => 0x145,
673
- ValueConv => 'length($val) > 32 ? \$val : $val',
674
- },
675
- 0x145 => {
676
- Name => 'TileByteCounts',
677
- OffsetPair => 0x144,
678
- ValueConv => 'length($val) > 32 ? \$val : $val',
679
- },
680
- 0x146 => 'BadFaxLines', #3
681
- 0x147 => { #3
682
- Name => 'CleanFaxData',
683
- PrintConv => {
684
- 0 => 'Clean',
685
- 1 => 'Regenerated',
686
- 2 => 'Unclean',
687
- },
688
- },
689
- 0x148 => 'ConsecutiveBadFaxLines', #3
690
- 0x14a => [
691
- {
692
- Name => 'SubIFD',
693
- # use this opportunity to identify an ARW image, and if so we
694
- # must decide if this is a SubIFD or the A100 raw data
695
- # (use SubfileType, Compression and FILE_TYPE to identify ARW/SR2,
696
- # then call SetARW to finish the job)
697
- Condition => q{
698
- $$self{DIR_NAME} ne 'IFD0' or $$self{FILE_TYPE} ne 'TIFF' or
699
- $$self{Make} !~ /^SONY/ or
700
- not $$self{SubfileType} or $$self{SubfileType} != 1 or
701
- not $$self{Compression} or $$self{Compression} != 6 or
702
- not require Image::ExifTool::Sony or
703
- Image::ExifTool::Sony::SetARW($self, $valPt)
704
- },
705
- Groups => { 1 => 'SubIFD' },
706
- Flags => 'SubIFD',
707
- SubDirectory => {
708
- Start => '$val',
709
- MaxSubdirs => 10, # (have seen 5 in a DNG 1.4 image)
710
- },
711
- },
712
- { #16
713
- Name => 'A100DataOffset',
714
- Notes => 'the data offset in original Sony DSLR-A100 ARW images',
715
- DataMember => 'A100DataOffset',
716
- RawConv => '$$self{A100DataOffset} = $val',
717
- IsOffset => 1,
718
- Protected => 2,
719
- },
720
- ],
721
- 0x14c => {
722
- Name => 'InkSet',
723
- PrintConv => { #3
724
- 1 => 'CMYK',
725
- 2 => 'Not CMYK',
726
- },
727
- },
728
- 0x14d => 'InkNames', #3
729
- 0x14e => 'NumberofInks', #3
730
- 0x150 => 'DotRange',
731
- 0x151 => 'TargetPrinter',
732
- 0x152 => {
733
- Name => 'ExtraSamples',
734
- PrintConv => { #20
735
- 0 => 'Unspecified',
736
- 1 => 'Associated Alpha',
737
- 2 => 'Unassociated Alpha',
738
- },
739
- },
740
- 0x153 => {
741
- Name => 'SampleFormat',
742
- Notes => 'SamplesPerPixel values',
743
- PrintConvColumns => 2,
744
- PrintConv => [ \%sampleFormat, \%sampleFormat, \%sampleFormat, \%sampleFormat ],
745
- },
746
- 0x154 => 'SMinSampleValue',
747
- 0x155 => 'SMaxSampleValue',
748
- 0x156 => 'TransferRange',
749
- 0x157 => 'ClipPath', #3
750
- 0x158 => 'XClipPathUnits', #3
751
- 0x159 => 'YClipPathUnits', #3
752
- 0x15a => { #3
753
- Name => 'Indexed',
754
- PrintConv => { 0 => 'Not indexed', 1 => 'Indexed' },
755
- },
756
- 0x15b => {
757
- Name => 'JPEGTables',
758
- Binary => 1,
759
- },
760
- 0x15f => { #10
761
- Name => 'OPIProxy',
762
- PrintConv => {
763
- 0 => 'Higher resolution image does not exist',
764
- 1 => 'Higher resolution image exists',
765
- },
766
- },
767
- # 0x181 => 'Decode', #20 (typo! - should be 0x1b1, ref 21)
768
- # 0x182 => 'DefaultImageColor', #20 (typo! - should be 0x1b2, ref 21)
769
- 0x190 => { #3
770
- Name => 'GlobalParametersIFD',
771
- Groups => { 1 => 'GlobParamIFD' },
772
- Flags => 'SubIFD',
773
- SubDirectory => {
774
- DirName => 'GlobParamIFD',
775
- Start => '$val',
776
- MaxSubdirs => 1,
777
- },
778
- },
779
- 0x191 => { #3
780
- Name => 'ProfileType',
781
- PrintConv => { 0 => 'Unspecified', 1 => 'Group 3 FAX' },
782
- },
783
- 0x192 => { #3
784
- Name => 'FaxProfile',
785
- PrintConv => {
786
- 0 => 'Unknown',
787
- 1 => 'Minimal B&W lossless, S',
788
- 2 => 'Extended B&W lossless, F',
789
- 3 => 'Lossless JBIG B&W, J',
790
- 4 => 'Lossy color and grayscale, C',
791
- 5 => 'Lossless color and grayscale, L',
792
- 6 => 'Mixed raster content, M',
793
- 7 => 'Profile T', #20
794
- 255 => 'Multi Profiles', #20
795
- },
796
- },
797
- 0x193 => { #3
798
- Name => 'CodingMethods',
799
- PrintConv => { BITMASK => {
800
- 0 => 'Unspecified compression',
801
- 1 => 'Modified Huffman',
802
- 2 => 'Modified Read',
803
- 3 => 'Modified MR',
804
- 4 => 'JBIG',
805
- 5 => 'Baseline JPEG',
806
- 6 => 'JBIG color',
807
- } },
808
- },
809
- 0x194 => 'VersionYear', #3
810
- 0x195 => 'ModeNumber', #3
811
- 0x1b1 => 'Decode', #3
812
- 0x1b2 => 'DefaultImageColor', #3 (changed to ImageBaseColor, ref 21)
813
- 0x1b3 => 'T82Options', #20
814
- 0x1b5 => { #19
815
- Name => 'JPEGTables',
816
- Binary => 1,
817
- },
818
- 0x200 => {
819
- Name => 'JPEGProc',
820
- PrintConv => {
821
- 1 => 'Baseline',
822
- 14 => 'Lossless',
823
- },
824
- },
825
- 0x201 => [
826
- {
827
- Name => 'ThumbnailOffset',
828
- Notes => q{
829
- ThumbnailOffset in IFD1 of JPEG and some TIFF-based images, IFD0 of MRW
830
- images and AVI and MOV videos, and the SubIFD in IFD1 of SRW images;
831
- PreviewImageStart in MakerNotes and IFD0 of ARW and SR2 images;
832
- JpgFromRawStart in SubIFD of NEF images and IFD2 of PEF images; and
833
- OtherImageStart in everything else
834
- },
835
- # thumbnail is found in IFD1 of JPEG and TIFF images, and
836
- # IFD0 of EXIF information in FujiFilm AVI (RIFF) and MOV videos
837
- Condition => q{
838
- $$self{DIR_NAME} eq 'IFD1' or
839
- ($$self{DIR_NAME} eq 'IFD0' and $$self{FILE_TYPE} =~ /^(RIFF|MOV)$/)
840
- },
841
- IsOffset => 1,
842
- OffsetPair => 0x202,
843
- DataTag => 'ThumbnailImage',
844
- Writable => 'int32u',
845
- WriteGroup => 'IFD1',
846
- # according to the EXIF spec. a JPEG-compressed thumbnail image may not
847
- # be stored in a TIFF file, but these TIFF-based RAW image formats
848
- # use IFD1 for a JPEG-compressed thumbnail: CR2, ARW, SR2 and PEF.
849
- # (SRF also stores a JPEG image in IFD1, but it is actually a preview
850
- # and we don't yet write SRF anyway)
851
- WriteCondition => q{
852
- $$self{FILE_TYPE} ne "TIFF" or
853
- $$self{TIFF_TYPE} =~ /^(CR2|ARW|SR2|PEF)$/
854
- },
855
- Protected => 2,
856
- },
857
- {
858
- Name => 'ThumbnailOffset',
859
- # thumbnail in IFD0 of MRW images (Minolta A200)
860
- # and IFD0 of NRW images (Nikon Coolpix P6000,P7000,P7100)
861
- Condition => '$$self{DIR_NAME} eq "IFD0" and $$self{TIFF_TYPE} =~ /^(MRW|NRW)$/',
862
- IsOffset => 1,
863
- OffsetPair => 0x202,
864
- # A200 uses the wrong base offset for this pointer!!
865
- WrongBase => '$$self{Model} =~ /^DiMAGE A200/ ? $$self{MRW_WrongBase} : undef',
866
- DataTag => 'ThumbnailImage',
867
- Writable => 'int32u',
868
- WriteGroup => 'IFD0',
869
- WriteCondition => '$$self{FILE_TYPE} =~ /^(MRW|NRW)$/',
870
- Protected => 2,
871
- },
872
- {
873
- Name => 'ThumbnailOffset',
874
- # in SubIFD of IFD1 in Samsung SRW images
875
- Condition => q{
876
- $$self{TIFF_TYPE} eq 'SRW' and $$self{DIR_NAME} eq 'SubIFD' and
877
- $$self{PATH}[-2] eq 'IFD1'
878
- },
879
- IsOffset => 1,
880
- OffsetPair => 0x202,
881
- DataTag => 'ThumbnailImage',
882
- Writable => 'int32u',
883
- WriteGroup => 'SubIFD',
884
- WriteCondition => '$$self{TIFF_TYPE} eq "SRW"',
885
- Protected => 2,
886
- },
887
- {
888
- Name => 'PreviewImageStart',
889
- Condition => '$$self{DIR_NAME} eq "MakerNotes"',
890
- IsOffset => 1,
891
- OffsetPair => 0x202,
892
- DataTag => 'PreviewImage',
893
- Writable => 'int32u',
894
- WriteGroup => 'MakerNotes',
895
- # (no WriteCondition necessary because MakerNotes won't be created)
896
- Protected => 2,
897
- },
898
- {
899
- Name => 'PreviewImageStart',
900
- # PreviewImage in IFD0 of ARW and SR2 files for all models
901
- Condition => '$$self{DIR_NAME} eq "IFD0" and $$self{TIFF_TYPE} =~ /^(ARW|SR2)$/',
902
- IsOffset => 1,
903
- OffsetPair => 0x202,
904
- DataTag => 'PreviewImage',
905
- Writable => 'int32u',
906
- WriteGroup => 'IFD0',
907
- WriteCondition => '$$self{TIFF_TYPE} =~ /^(ARW|SR2)$/',
908
- Protected => 2,
909
- },
910
- {
911
- Name => 'JpgFromRawStart',
912
- Condition => '$$self{DIR_NAME} eq "SubIFD"',
913
- IsOffset => 1,
914
- OffsetPair => 0x202,
915
- DataTag => 'JpgFromRaw',
916
- Writable => 'int32u',
917
- WriteGroup => 'SubIFD',
918
- # JpgFromRaw is in SubIFD of NEF, NRW and SRW files
919
- WriteCondition => '$$self{TIFF_TYPE} =~ /^(NEF|NRW|SRW)$/',
920
- Protected => 2,
921
- },
922
- {
923
- Name => 'JpgFromRawStart',
924
- Condition => '$$self{DIR_NAME} eq "IFD2"',
925
- IsOffset => 1,
926
- OffsetPair => 0x202,
927
- DataTag => 'JpgFromRaw',
928
- Writable => 'int32u',
929
- WriteGroup => 'IFD2',
930
- # JpgFromRaw is in IFD2 of PEF files
931
- WriteCondition => '$$self{TIFF_TYPE} eq "PEF"',
932
- Protected => 2,
933
- },
934
- {
935
- Name => 'OtherImageStart',
936
- Condition => '$$self{DIR_NAME} eq "SubIFD1"',
937
- IsOffset => 1,
938
- OffsetPair => 0x202,
939
- DataTag => 'OtherImage',
940
- Writable => 'int32u',
941
- WriteGroup => 'SubIFD1',
942
- Protected => 2,
943
- Permanent => 1, # (don't add/delete this tag: makes WriteCondition unnecessary)
944
- },
945
- {
946
- Name => 'OtherImageStart',
947
- Condition => '$$self{DIR_NAME} eq "SubIFD2"',
948
- IsOffset => 1,
949
- OffsetPair => 0x202,
950
- DataTag => 'OtherImage',
951
- Writable => 'int32u',
952
- WriteGroup => 'SubIFD2',
953
- Protected => 2,
954
- Permanent => 1, # (don't add/delete this tag: makes WriteCondition unnecessary)
955
- },
956
- {
957
- Name => 'OtherImageStart',
958
- IsOffset => 1,
959
- OffsetPair => 0x202,
960
- },
961
- ],
962
- 0x202 => [
963
- {
964
- Name => 'ThumbnailLength',
965
- Notes => q{
966
- ThumbnailLength in IFD1 of JPEG and some TIFF-based images, IFD0 of MRW
967
- images and AVI and MOV videos, and the SubIFD in IFD1 of SRW images;
968
- PreviewImageLength in MakerNotes and IFD0 of ARW and SR2 images;
969
- JpgFromRawLength in SubIFD of NEF images, and IFD2 of PEF images; and
970
- OtherImageLength in everything else
971
- },
972
- Condition => q{
973
- $$self{DIR_NAME} eq 'IFD1' or
974
- ($$self{DIR_NAME} eq 'IFD0' and $$self{FILE_TYPE} =~ /^(RIFF|MOV)$/)
975
- },
976
- OffsetPair => 0x201,
977
- DataTag => 'ThumbnailImage',
978
- Writable => 'int32u',
979
- WriteGroup => 'IFD1',
980
- WriteCondition => q{
981
- $$self{FILE_TYPE} ne "TIFF" or
982
- $$self{TIFF_TYPE} =~ /^(CR2|ARW|SR2|PEF)$/
983
- },
984
- Protected => 2,
985
- },
986
- {
987
- Name => 'ThumbnailLength',
988
- # thumbnail in IFD0 of MRW images (Minolta A200)
989
- # and IFD0 of NRW images (Nikon Coolpix P6000,P7000,P7100)
990
- Condition => '$$self{DIR_NAME} eq "IFD0" and $$self{TIFF_TYPE} =~ /^(MRW|NRW)$/',
991
- OffsetPair => 0x201,
992
- DataTag => 'ThumbnailImage',
993
- Writable => 'int32u',
994
- WriteGroup => 'IFD0',
995
- WriteCondition => '$$self{FILE_TYPE} =~ /^(MRW|NRW)$/',
996
- Protected => 2,
997
- },
998
- {
999
- Name => 'ThumbnailLength',
1000
- # in SubIFD of IFD1 in Samsung SRW images
1001
- Condition => q{
1002
- $$self{TIFF_TYPE} eq 'SRW' and $$self{DIR_NAME} eq 'SubIFD' and
1003
- $$self{PATH}[-2] eq 'IFD1'
1004
- },
1005
- OffsetPair => 0x201,
1006
- DataTag => 'ThumbnailImage',
1007
- Writable => 'int32u',
1008
- WriteGroup => 'SubIFD',
1009
- WriteCondition => '$$self{TIFF_TYPE} eq "SRW"',
1010
- Protected => 2,
1011
- },
1012
- {
1013
- Name => 'PreviewImageLength',
1014
- Condition => '$$self{DIR_NAME} eq "MakerNotes"',
1015
- OffsetPair => 0x201,
1016
- DataTag => 'PreviewImage',
1017
- Writable => 'int32u',
1018
- WriteGroup => 'MakerNotes',
1019
- # (no WriteCondition necessary because MakerNotes won't be created)
1020
- Protected => 2,
1021
- },
1022
- {
1023
- Name => 'PreviewImageLength',
1024
- # PreviewImage in IFD0 of ARW and SR2 files for all models
1025
- Condition => '$$self{DIR_NAME} eq "IFD0" and $$self{TIFF_TYPE} =~ /^(ARW|SR2)$/',
1026
- OffsetPair => 0x201,
1027
- DataTag => 'PreviewImage',
1028
- Writable => 'int32u',
1029
- WriteGroup => 'IFD0',
1030
- WriteCondition => '$$self{TIFF_TYPE} =~ /^(ARW|SR2)$/',
1031
- Protected => 2,
1032
- },
1033
- {
1034
- Name => 'JpgFromRawLength',
1035
- Condition => '$$self{DIR_NAME} eq "SubIFD"',
1036
- OffsetPair => 0x201,
1037
- DataTag => 'JpgFromRaw',
1038
- Writable => 'int32u',
1039
- WriteGroup => 'SubIFD',
1040
- WriteCondition => '$$self{TIFF_TYPE} =~ /^(NEF|NRW|SRW)$/',
1041
- Protected => 2,
1042
- },
1043
- {
1044
- Name => 'JpgFromRawLength',
1045
- Condition => '$$self{DIR_NAME} eq "IFD2"',
1046
- OffsetPair => 0x201,
1047
- DataTag => 'JpgFromRaw',
1048
- Writable => 'int32u',
1049
- WriteGroup => 'IFD2',
1050
- WriteCondition => '$$self{TIFF_TYPE} eq "PEF"',
1051
- Protected => 2,
1052
- },
1053
- {
1054
- Name => 'OtherImageLength',
1055
- Condition => '$$self{DIR_NAME} eq "SubIFD1"',
1056
- OffsetPair => 0x201,
1057
- DataTag => 'OtherImage',
1058
- Writable => 'int32u',
1059
- WriteGroup => 'SubIFD1',
1060
- Protected => 2,
1061
- Permanent => 1, # (don't add/delete this tag: makes WriteCondition unnecessary)
1062
- },
1063
- {
1064
- Name => 'OtherImageLength',
1065
- Condition => '$$self{DIR_NAME} eq "SubIFD2"',
1066
- OffsetPair => 0x201,
1067
- DataTag => 'OtherImage',
1068
- Writable => 'int32u',
1069
- WriteGroup => 'SubIFD2',
1070
- Protected => 2,
1071
- Permanent => 1, # (don't add/delete this tag: makes WriteCondition unnecessary)
1072
- },
1073
- {
1074
- Name => 'OtherImageLength',
1075
- OffsetPair => 0x201,
1076
- },
1077
- ],
1078
- 0x203 => 'JPEGRestartInterval',
1079
- 0x205 => 'JPEGLosslessPredictors',
1080
- 0x206 => 'JPEGPointTransforms',
1081
- 0x207 => {
1082
- Name => 'JPEGQTables',
1083
- IsOffset => 1,
1084
- # this tag is not supported for writing, so define an
1085
- # invalid offset pair to cause a "No size tag" error to be
1086
- # generated if we try to write a file containing this tag
1087
- OffsetPair => -1,
1088
- },
1089
- 0x208 => {
1090
- Name => 'JPEGDCTables',
1091
- IsOffset => 1,
1092
- OffsetPair => -1, # (see comment for JPEGQTables)
1093
- },
1094
- 0x209 => {
1095
- Name => 'JPEGACTables',
1096
- IsOffset => 1,
1097
- OffsetPair => -1, # (see comment for JPEGQTables)
1098
- },
1099
- 0x211 => {
1100
- Name => 'YCbCrCoefficients',
1101
- Priority => 0,
1102
- },
1103
- 0x212 => {
1104
- Name => 'YCbCrSubSampling',
1105
- PrintConvColumns => 2,
1106
- PrintConv => \%Image::ExifTool::JPEG::yCbCrSubSampling,
1107
- Priority => 0,
1108
- },
1109
- 0x213 => {
1110
- Name => 'YCbCrPositioning',
1111
- PrintConv => {
1112
- 1 => 'Centered',
1113
- 2 => 'Co-sited',
1114
- },
1115
- Priority => 0,
1116
- },
1117
- 0x214 => {
1118
- Name => 'ReferenceBlackWhite',
1119
- Priority => 0,
1120
- },
1121
- 0x22f => 'StripRowCounts',
1122
- 0x2bc => {
1123
- Name => 'ApplicationNotes', # (writable directory!)
1124
- Writable => 'int8u',
1125
- Format => 'undef',
1126
- Flags => [ 'Binary', 'Protected' ],
1127
- # this could be an XMP block
1128
- SubDirectory => {
1129
- DirName => 'XMP',
1130
- TagTable => 'Image::ExifTool::XMP::Main',
1131
- },
1132
- },
1133
- 0x3e7 => 'USPTOMiscellaneous', #20
1134
- 0x1000 => 'RelatedImageFileFormat', #5
1135
- 0x1001 => 'RelatedImageWidth', #5
1136
- 0x1002 => { #5
1137
- Name => 'RelatedImageHeight',
1138
- Notes => 'called RelatedImageLength by the DCF spec.',
1139
- },
1140
- # (0x474x tags written by MicrosoftPhoto)
1141
- 0x4746 => 'Rating', #PH
1142
- 0x4747 => { # (written by Digital Image Pro)
1143
- Name => 'XP_DIP_XML',
1144
- Format => 'undef',
1145
- # the following reference indicates this is Unicode:
1146
- # http://social.msdn.microsoft.com/Forums/en-US/isvvba/thread/ce6edcbb-8fc2-40c6-ad98-85f5d835ddfb
1147
- ValueConv => '$self->Decode($val,"UCS2","II")',
1148
- },
1149
- 0x4748 => {
1150
- Name => 'StitchInfo',
1151
- SubDirectory => {
1152
- TagTable => 'Image::ExifTool::Microsoft::Stitch',
1153
- ByteOrder => 'LittleEndian', #PH (NC)
1154
- },
1155
- },
1156
- 0x4749 => 'RatingPercent', #PH
1157
- 0x7035 => 'ChromaticAberrationCorrParams', #forum6509 (Sony A7 ARW)
1158
- 0x7037 => 'DistortionCorrParams', #forum6509 (Sony A7 ARW)
1159
- 0x800d => 'ImageID', #10
1160
- 0x80a3 => { Name => 'WangTag1', Binary => 1 }, #20
1161
- 0x80a4 => { Name => 'WangAnnotation', Binary => 1 },
1162
- 0x80a5 => { Name => 'WangTag3', Binary => 1 }, #20
1163
- 0x80a6 => { #20
1164
- Name => 'WangTag4',
1165
- PrintConv => 'length($val) <= 64 ? $val : \$val',
1166
- },
1167
- # tags 0x80b8-0x80bb are registered to Island Graphics
1168
- 0x80b8 => 'ImageReferencePoints', #29
1169
- 0x80b9 => 'RegionXformTackPoint', #29
1170
- 0x80ba => 'WarpQuadrilateral', #29
1171
- 0x80bb => 'AffineTransformMat', #29
1172
- 0x80e3 => 'Matteing', #9
1173
- 0x80e4 => 'DataType', #9
1174
- 0x80e5 => 'ImageDepth', #9
1175
- 0x80e6 => 'TileDepth', #9
1176
- # tags 0x8214-0x8219 are registered to Pixar
1177
- 0x8214 => 'ImageFullWidth', #29
1178
- 0x8215 => 'ImageFullHeight', #29
1179
- 0x8216 => 'TextureFormat', #29
1180
- 0x8217 => 'WrapModes', #29
1181
- 0x8218 => 'FovCot', #29
1182
- 0x8219 => 'MatrixWorldToScreen', #29
1183
- 0x821a => 'MatrixWorldToCamera', #29
1184
- 0x827d => 'Model2', #29 (Eastman Kodak)
1185
- 0x828d => 'CFARepeatPatternDim', #12
1186
- 0x828e => {
1187
- Name => 'CFAPattern2', #12
1188
- Format => 'int8u', # (written incorrectly as 'undef' in Nikon NRW images)
1189
- },
1190
- 0x828f => { #12
1191
- Name => 'BatteryLevel',
1192
- Groups => { 2 => 'Camera' },
1193
- },
1194
- 0x8290 => {
1195
- Name => 'KodakIFD',
1196
- Groups => { 1 => 'KodakIFD' },
1197
- Flags => 'SubIFD',
1198
- Notes => 'used in various types of Kodak images',
1199
- SubDirectory => {
1200
- TagTable => 'Image::ExifTool::Kodak::IFD',
1201
- DirName => 'KodakIFD',
1202
- Start => '$val',
1203
- MaxSubdirs => 1,
1204
- },
1205
- },
1206
- 0x8298 => {
1207
- Name => 'Copyright',
1208
- Groups => { 2 => 'Author' },
1209
- Format => 'undef',
1210
- Notes => q{
1211
- may contain copyright notices for photographer and editor, separated by a
1212
- newline. As per the EXIF specification, the newline is replaced by a null
1213
- byte when writing to file, but this may be avoided by disabling the print
1214
- conversion
1215
- },
1216
- # internally the strings are separated by a null character in this format:
1217
- # Photographer only: photographer + NULL
1218
- # Both: photographer + NULL + editor + NULL
1219
- # Editor only: SPACE + NULL + editor + NULL
1220
- # (this is done as a RawConv so conditional replaces will work properly)
1221
- RawConv => sub {
1222
- my ($val, $self) = @_;
1223
- $val =~ s/ *\0/\n/; # translate first NULL to a newline, removing trailing blanks
1224
- $val =~ s/ *\0.*//s; # truncate at second NULL and remove trailing blanks
1225
- $val =~ s/\n$//; # remove trailing newline if it exists
1226
- # decode if necessary (note: this is the only non-'string' EXIF value like this)
1227
- my $enc = $self->Options('CharsetEXIF');
1228
- $val = $self->Decode($val,$enc) if $enc;
1229
- return $val;
1230
- },
1231
- },
1232
- 0x829a => {
1233
- Name => 'ExposureTime',
1234
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
1235
- },
1236
- 0x829d => {
1237
- Name => 'FNumber',
1238
- PrintConv => 'Image::ExifTool::Exif::PrintFNumber($val)',
1239
- },
1240
- 0x82a5 => { #3
1241
- Name => 'MDFileTag',
1242
- Notes => 'tags 0x82a5-0x82ac are used in Molecular Dynamics GEL files',
1243
- },
1244
- 0x82a6 => 'MDScalePixel', #3
1245
- 0x82a7 => 'MDColorTable', #3
1246
- 0x82a8 => 'MDLabName', #3
1247
- 0x82a9 => 'MDSampleInfo', #3
1248
- 0x82aa => 'MDPrepDate', #3
1249
- 0x82ab => 'MDPrepTime', #3
1250
- 0x82ac => 'MDFileUnits', #3
1251
- 0x830e => 'PixelScale',
1252
- 0x8335 => 'AdventScale', #20
1253
- 0x8336 => 'AdventRevision', #20
1254
- 0x835c => 'UIC1Tag', #23
1255
- 0x835d => 'UIC2Tag', #23
1256
- 0x835e => 'UIC3Tag', #23
1257
- 0x835f => 'UIC4Tag', #23
1258
- 0x83bb => { #12
1259
- Name => 'IPTC-NAA', # (writable directory! -- but see note below)
1260
- # this should actually be written as 'undef' (see
1261
- # http://www.awaresystems.be/imaging/tiff/tifftags/iptc.html),
1262
- # but Photoshop writes it as int32u and Nikon Capture won't read
1263
- # anything else, so we do the same thing here... Doh!
1264
- Format => 'undef', # convert binary values as undef
1265
- Writable => 'int32u', # but write int32u format code in IFD
1266
- WriteGroup => 'IFD0',
1267
- Flags => [ 'Binary', 'Protected' ],
1268
- SubDirectory => {
1269
- DirName => 'IPTC',
1270
- TagTable => 'Image::ExifTool::IPTC::Main',
1271
- },
1272
- # Note: This directory may be written as a block via the IPTC-NAA tag,
1273
- # but this technique is not recommended. Instead, it is better to
1274
- # write the Extra IPTC tag and let ExifTool decide where it should go.
1275
- },
1276
- 0x847e => 'IntergraphPacketData', #3
1277
- 0x847f => 'IntergraphFlagRegisters', #3
1278
- 0x8480 => 'IntergraphMatrix',
1279
- 0x8481 => 'INGRReserved', #20
1280
- 0x8482 => {
1281
- Name => 'ModelTiePoint',
1282
- Groups => { 2 => 'Location' },
1283
- },
1284
- 0x84e0 => 'Site', #9
1285
- 0x84e1 => 'ColorSequence', #9
1286
- 0x84e2 => 'IT8Header', #9
1287
- 0x84e3 => { #9
1288
- Name => 'RasterPadding',
1289
- PrintConv => { #20
1290
- 0 => 'Byte',
1291
- 1 => 'Word',
1292
- 2 => 'Long Word',
1293
- 9 => 'Sector',
1294
- 10 => 'Long Sector',
1295
- },
1296
- },
1297
- 0x84e4 => 'BitsPerRunLength', #9
1298
- 0x84e5 => 'BitsPerExtendedRunLength', #9
1299
- 0x84e6 => 'ColorTable', #9
1300
- 0x84e7 => { #9
1301
- Name => 'ImageColorIndicator',
1302
- PrintConv => { #20
1303
- 0 => 'Unspecified Image Color',
1304
- 1 => 'Specified Image Color',
1305
- },
1306
- },
1307
- 0x84e8 => { #9
1308
- Name => 'BackgroundColorIndicator',
1309
- PrintConv => { #20
1310
- 0 => 'Unspecified Background Color',
1311
- 1 => 'Specified Background Color',
1312
- },
1313
- },
1314
- 0x84e9 => 'ImageColorValue', #9
1315
- 0x84ea => 'BackgroundColorValue', #9
1316
- 0x84eb => 'PixelIntensityRange', #9
1317
- 0x84ec => 'TransparencyIndicator', #9
1318
- 0x84ed => 'ColorCharacterization', #9
1319
- 0x84ee => { #9
1320
- Name => 'HCUsage',
1321
- PrintConv => { #20
1322
- 0 => 'CT',
1323
- 1 => 'Line Art',
1324
- 2 => 'Trap',
1325
- },
1326
- },
1327
- 0x84ef => 'TrapIndicator', #17
1328
- 0x84f0 => 'CMYKEquivalent', #17
1329
- 0x8546 => { #11
1330
- Name => 'SEMInfo',
1331
- Notes => 'found in some scanning electron microscope images',
1332
- },
1333
- 0x8568 => {
1334
- Name => 'AFCP_IPTC',
1335
- SubDirectory => {
1336
- # must change directory name so we don't create this directory
1337
- DirName => 'AFCP_IPTC',
1338
- TagTable => 'Image::ExifTool::IPTC::Main',
1339
- },
1340
- },
1341
- 0x85b8 => 'PixelMagicJBIGOptions', #20
1342
- 0x85d7 => 'JPLCartoIFD', #exifprobe (NC)
1343
- 0x85d8 => {
1344
- Name => 'ModelTransform',
1345
- Groups => { 2 => 'Location' },
1346
- },
1347
- 0x8602 => { #16
1348
- Name => 'WB_GRGBLevels',
1349
- Notes => 'found in IFD0 of Leaf MOS images',
1350
- },
1351
- # 0x8603 - Leaf CatchLight color matrix (ref 16)
1352
- 0x8606 => {
1353
- Name => 'LeafData',
1354
- Format => 'undef', # avoid converting huge block to string of int8u's!
1355
- SubDirectory => {
1356
- DirName => 'LeafIFD',
1357
- TagTable => 'Image::ExifTool::Leaf::Main',
1358
- },
1359
- },
1360
- 0x8649 => { #19
1361
- Name => 'PhotoshopSettings',
1362
- Format => 'binary',
1363
- SubDirectory => {
1364
- DirName => 'Photoshop',
1365
- TagTable => 'Image::ExifTool::Photoshop::Main',
1366
- },
1367
- },
1368
- 0x8769 => {
1369
- Name => 'ExifOffset',
1370
- Groups => { 1 => 'ExifIFD' },
1371
- SubIFD => 2,
1372
- SubDirectory => {
1373
- DirName => 'ExifIFD',
1374
- Start => '$val',
1375
- },
1376
- },
1377
- 0x8773 => {
1378
- Name => 'ICC_Profile',
1379
- SubDirectory => {
1380
- TagTable => 'Image::ExifTool::ICC_Profile::Main',
1381
- },
1382
- },
1383
- 0x877f => { #20
1384
- Name => 'TIFF_FXExtensions',
1385
- PrintConv => { BITMASK => {
1386
- 0 => 'Resolution/Image Width',
1387
- 1 => 'N Layer Profile M',
1388
- 2 => 'Shared Data',
1389
- 3 => 'B&W JBIG2',
1390
- 4 => 'JBIG2 Profile M',
1391
- }},
1392
- },
1393
- 0x8780 => { #20
1394
- Name => 'MultiProfiles',
1395
- PrintConv => { BITMASK => {
1396
- 0 => 'Profile S',
1397
- 1 => 'Profile F',
1398
- 2 => 'Profile J',
1399
- 3 => 'Profile C',
1400
- 4 => 'Profile L',
1401
- 5 => 'Profile M',
1402
- 6 => 'Profile T',
1403
- 7 => 'Resolution/Image Width',
1404
- 8 => 'N Layer Profile M',
1405
- 9 => 'Shared Data',
1406
- 10 => 'JBIG2 Profile M',
1407
- }},
1408
- },
1409
- 0x8781 => { #22
1410
- Name => 'SharedData',
1411
- IsOffset => 1,
1412
- # this tag is not supported for writing, so define an
1413
- # invalid offset pair to cause a "No size tag" error to be
1414
- # generated if we try to write a file containing this tag
1415
- OffsetPair => -1,
1416
- },
1417
- 0x8782 => 'T88Options', #20
1418
- 0x87ac => 'ImageLayer',
1419
- 0x87af => {
1420
- Name => 'GeoTiffDirectory',
1421
- Format => 'undef',
1422
- Binary => 1,
1423
- Notes => q{
1424
- these "GeoTiff" tags may read and written as a block, but they aren't
1425
- extracted unless specifically requested. Byte order changes are handled
1426
- automatically when copying between TIFF images with different byte order
1427
- },
1428
- RawConv => '$val . GetByteOrder()', # save byte order
1429
- },
1430
- 0x87b0 => {
1431
- Name => 'GeoTiffDoubleParams',
1432
- Format => 'undef',
1433
- Binary => 1,
1434
- RawConv => '$val . GetByteOrder()', # save byte order
1435
- },
1436
- 0x87b1 => {
1437
- Name => 'GeoTiffAsciiParams',
1438
- Binary => 1,
1439
- },
1440
- 0x87be => 'JBIGOptions', #29
1441
- 0x8822 => {
1442
- Name => 'ExposureProgram',
1443
- Groups => { 2 => 'Camera' },
1444
- Notes => 'the value of 9 is not standard EXIF, but is used by the Canon EOS 7D',
1445
- PrintConv => {
1446
- 0 => 'Not Defined',
1447
- 1 => 'Manual',
1448
- 2 => 'Program AE',
1449
- 3 => 'Aperture-priority AE',
1450
- 4 => 'Shutter speed priority AE',
1451
- 5 => 'Creative (Slow speed)',
1452
- 6 => 'Action (High speed)',
1453
- 7 => 'Portrait',
1454
- 8 => 'Landscape',
1455
- 9 => 'Bulb', #25
1456
- },
1457
- },
1458
- 0x8824 => {
1459
- Name => 'SpectralSensitivity',
1460
- Groups => { 2 => 'Camera' },
1461
- },
1462
- 0x8825 => {
1463
- Name => 'GPSInfo',
1464
- Groups => { 1 => 'GPS' },
1465
- Flags => 'SubIFD',
1466
- SubDirectory => {
1467
- DirName => 'GPS',
1468
- TagTable => 'Image::ExifTool::GPS::Main',
1469
- Start => '$val',
1470
- MaxSubdirs => 1,
1471
- },
1472
- },
1473
- 0x8827 => {
1474
- Name => 'ISO',
1475
- Notes => q{
1476
- called ISOSpeedRatings by EXIF 2.2, then PhotographicSensitivity by the EXIF
1477
- 2.3 spec.
1478
- },
1479
- PrintConv => '$val=~s/\s+/, /g; $val',
1480
- },
1481
- 0x8828 => {
1482
- Name => 'Opto-ElectricConvFactor',
1483
- Notes => 'called OECF by the EXIF spec.',
1484
- Binary => 1,
1485
- },
1486
- 0x8829 => 'Interlace', #12
1487
- 0x882a => 'TimeZoneOffset', #12
1488
- 0x882b => 'SelfTimerMode', #12
1489
- 0x8830 => { #24
1490
- Name => 'SensitivityType',
1491
- Notes => 'applies to EXIF:ISO tag',
1492
- PrintConv => {
1493
- 0 => 'Unknown',
1494
- 1 => 'Standard Output Sensitivity',
1495
- 2 => 'Recommended Exposure Index',
1496
- 3 => 'ISO Speed',
1497
- 4 => 'Standard Output Sensitivity and Recommended Exposure Index',
1498
- 5 => 'Standard Output Sensitivity and ISO Speed',
1499
- 6 => 'Recommended Exposure Index and ISO Speed',
1500
- 7 => 'Standard Output Sensitivity, Recommended Exposure Index and ISO Speed',
1501
- },
1502
- },
1503
- 0x8831 => 'StandardOutputSensitivity', #24
1504
- 0x8832 => 'RecommendedExposureIndex', #24
1505
- 0x8833 => 'ISOSpeed', #24
1506
- 0x8834 => { #24
1507
- Name => 'ISOSpeedLatitudeyyy',
1508
- Description => 'ISO Speed Latitude yyy',
1509
- },
1510
- 0x8835 => { #24
1511
- Name => 'ISOSpeedLatitudezzz',
1512
- Description => 'ISO Speed Latitude zzz',
1513
- },
1514
- 0x885c => 'FaxRecvParams', #9
1515
- 0x885d => 'FaxSubAddress', #9
1516
- 0x885e => 'FaxRecvTime', #9
1517
- 0x8871 => 'FedexEDR', #exifprobe (NC)
1518
- 0x888a => { #PH
1519
- Name => 'LeafSubIFD',
1520
- Format => 'int32u', # Leaf incorrectly uses 'undef' format!
1521
- Groups => { 1 => 'LeafSubIFD' },
1522
- Flags => 'SubIFD',
1523
- SubDirectory => {
1524
- TagTable => 'Image::ExifTool::Leaf::SubIFD',
1525
- Start => '$val',
1526
- },
1527
- },
1528
- 0x9000 => {
1529
- Name => 'ExifVersion',
1530
- RawConv => '$val=~s/\0+$//; $val', # (some idiots add null terminators)
1531
- },
1532
- 0x9003 => {
1533
- Name => 'DateTimeOriginal',
1534
- Description => 'Date/Time Original',
1535
- Groups => { 2 => 'Time' },
1536
- Notes => 'date/time when original image was taken',
1537
- PrintConv => '$self->ConvertDateTime($val)',
1538
- },
1539
- 0x9004 => {
1540
- Name => 'CreateDate',
1541
- Groups => { 2 => 'Time' },
1542
- Notes => 'called DateTimeDigitized by the EXIF spec.',
1543
- PrintConv => '$self->ConvertDateTime($val)',
1544
- },
1545
- 0x9009 => { # undef[44] (or undef[11]) written by Google Plus uploader - PH
1546
- Name => 'GooglePlusUploadCode',
1547
- Format => 'int8u',
1548
- Count => -1,
1549
- },
1550
- 0x9101 => {
1551
- Name => 'ComponentsConfiguration',
1552
- Format => 'int8u',
1553
- PrintConvColumns => 2,
1554
- PrintConv => {
1555
- 0 => '-',
1556
- 1 => 'Y',
1557
- 2 => 'Cb',
1558
- 3 => 'Cr',
1559
- 4 => 'R',
1560
- 5 => 'G',
1561
- 6 => 'B',
1562
- OTHER => sub {
1563
- my ($val, $inv, $conv) = @_;
1564
- my @a = split /,?\s+/, $val;
1565
- if ($inv) {
1566
- my %invConv;
1567
- $invConv{lc $$conv{$_}} = $_ foreach keys %$conv;
1568
- # strings like "YCbCr" and "RGB" still work for writing
1569
- @a = $a[0] =~ /(Y|Cb|Cr|R|G|B)/g if @a == 1;
1570
- foreach (@a) {
1571
- $_ = $invConv{lc $_};
1572
- return undef unless defined $_;
1573
- }
1574
- push @a, 0 while @a < 4;
1575
- } else {
1576
- foreach (@a) {
1577
- $_ = $$conv{$_} || "Err ($_)";
1578
- }
1579
- }
1580
- return join ', ', @a;
1581
- },
1582
- },
1583
- },
1584
- 0x9102 => 'CompressedBitsPerPixel',
1585
- # 0x9103 - int16u: 1 (found in Pentax XG-1 samples)
1586
- 0x9201 => {
1587
- Name => 'ShutterSpeedValue',
1588
- Notes => 'displayed in seconds, but stored as an APEX value',
1589
- Format => 'rational64s', # Leica M8 patch (incorrectly written as rational64u)
1590
- ValueConv => 'abs($val)<100 ? 2**(-$val) : 0',
1591
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
1592
- },
1593
- 0x9202 => {
1594
- Name => 'ApertureValue',
1595
- Notes => 'displayed as an F number, but stored as an APEX value',
1596
- ValueConv => '2 ** ($val / 2)',
1597
- PrintConv => 'sprintf("%.1f",$val)',
1598
- },
1599
- # Wikipedia: BrightnessValue = Bv = Av + Tv - Sv
1600
- # ExifTool: LightValue = LV = Av + Tv - Sv + 5 (5 is the Sv for ISO 100 in Exif usage)
1601
- 0x9203 => 'BrightnessValue',
1602
- 0x9204 => {
1603
- Name => 'ExposureCompensation',
1604
- Format => 'rational64s', # Leica M8 patch (incorrectly written as rational64u)
1605
- Notes => 'called ExposureBiasValue by the EXIF spec.',
1606
- PrintConv => 'Image::ExifTool::Exif::PrintFraction($val)',
1607
- },
1608
- 0x9205 => {
1609
- Name => 'MaxApertureValue',
1610
- Notes => 'displayed as an F number, but stored as an APEX value',
1611
- Groups => { 2 => 'Camera' },
1612
- ValueConv => '2 ** ($val / 2)',
1613
- PrintConv => 'sprintf("%.1f",$val)',
1614
- },
1615
- 0x9206 => {
1616
- Name => 'SubjectDistance',
1617
- Groups => { 2 => 'Camera' },
1618
- PrintConv => '$val =~ /^(inf|undef)$/ ? $val : "${val} m"',
1619
- },
1620
- 0x9207 => {
1621
- Name => 'MeteringMode',
1622
- Groups => { 2 => 'Camera' },
1623
- PrintConv => {
1624
- 0 => 'Unknown',
1625
- 1 => 'Average',
1626
- 2 => 'Center-weighted average',
1627
- 3 => 'Spot',
1628
- 4 => 'Multi-spot',
1629
- 5 => 'Multi-segment',
1630
- 6 => 'Partial',
1631
- 255 => 'Other',
1632
- },
1633
- },
1634
- 0x9208 => {
1635
- Name => 'LightSource',
1636
- Groups => { 2 => 'Camera' },
1637
- SeparateTable => 'LightSource',
1638
- PrintConv => \%lightSource,
1639
- },
1640
- 0x9209 => {
1641
- Name => 'Flash',
1642
- Groups => { 2 => 'Camera' },
1643
- Flags => 'PrintHex',
1644
- SeparateTable => 'Flash',
1645
- PrintConv => \%flash,
1646
- },
1647
- 0x920a => {
1648
- Name => 'FocalLength',
1649
- Groups => { 2 => 'Camera' },
1650
- PrintConv => 'sprintf("%.1f mm",$val)',
1651
- },
1652
- # Note: tags 0x920b-0x9217 are duplicates of 0xa20b-0xa217
1653
- # (The TIFF standard uses 0xa2xx, but you'll find both in images)
1654
- 0x920b => { #12
1655
- Name => 'FlashEnergy',
1656
- Groups => { 2 => 'Camera' },
1657
- },
1658
- 0x920c => 'SpatialFrequencyResponse', #12 (not in Fuji images - PH)
1659
- 0x920d => 'Noise', #12
1660
- 0x920e => 'FocalPlaneXResolution', #12
1661
- 0x920f => 'FocalPlaneYResolution', #12
1662
- 0x9210 => { #12
1663
- Name => 'FocalPlaneResolutionUnit',
1664
- Groups => { 2 => 'Camera' },
1665
- PrintConv => {
1666
- 1 => 'None',
1667
- 2 => 'inches',
1668
- 3 => 'cm',
1669
- 4 => 'mm',
1670
- 5 => 'um',
1671
- },
1672
- },
1673
- 0x9211 => 'ImageNumber', #12
1674
- 0x9212 => { #12
1675
- Name => 'SecurityClassification',
1676
- PrintConv => {
1677
- T => 'Top Secret',
1678
- S => 'Secret',
1679
- C => 'Confidential',
1680
- R => 'Restricted',
1681
- U => 'Unclassified',
1682
- },
1683
- },
1684
- 0x9213 => 'ImageHistory', #12
1685
- 0x9214 => {
1686
- Name => 'SubjectArea',
1687
- Groups => { 2 => 'Camera' },
1688
- },
1689
- 0x9215 => 'ExposureIndex', #12
1690
- 0x9216 => 'TIFF-EPStandardID', #12
1691
- 0x9217 => { #12
1692
- Name => 'SensingMethod',
1693
- Groups => { 2 => 'Camera' },
1694
- Notes => 'values 1 and 6 are not standard EXIF',
1695
- PrintConv => {
1696
- 1 => 'Monochrome area', #12 (not standard EXIF)
1697
- 2 => 'One-chip color area',
1698
- 3 => 'Two-chip color area',
1699
- 4 => 'Three-chip color area',
1700
- 5 => 'Color sequential area',
1701
- 6 => 'Monochrome linear', #12 (not standard EXIF)
1702
- 7 => 'Trilinear',
1703
- 8 => 'Color sequential linear',
1704
- },
1705
- },
1706
- 0x923a => 'CIP3DataFile', #20
1707
- 0x923b => 'CIP3Sheet', #20
1708
- 0x923c => 'CIP3Side', #20
1709
- 0x923f => 'StoNits', #9
1710
- # handle maker notes as a conditional list
1711
- 0x927c => \@Image::ExifTool::MakerNotes::Main,
1712
- 0x9286 => {
1713
- Name => 'UserComment',
1714
- # I have seen other applications write it incorrectly as 'string' or 'int8u'
1715
- Format => 'undef',
1716
- RawConv => 'Image::ExifTool::Exif::ConvertExifText($self,$val,1,$tag)',
1717
- },
1718
- 0x9290 => {
1719
- Name => 'SubSecTime',
1720
- Groups => { 2 => 'Time' },
1721
- ValueConv => '$val=~s/ +$//; $val', # trim trailing blanks
1722
- },
1723
- 0x9291 => {
1724
- Name => 'SubSecTimeOriginal',
1725
- Groups => { 2 => 'Time' },
1726
- ValueConv => '$val=~s/ +$//; $val', # trim trailing blanks
1727
- },
1728
- 0x9292 => {
1729
- Name => 'SubSecTimeDigitized',
1730
- Groups => { 2 => 'Time' },
1731
- ValueConv => '$val=~s/ +$//; $val', # trim trailing blanks
1732
- },
1733
- # The following 3 tags are found in MSOffice TIFF images
1734
- # References:
1735
- # http://social.msdn.microsoft.com/Forums/en-US/os_standocs/thread/03086d55-294a-49d5-967a-5303d34c40f8/
1736
- # http://blogs.msdn.com/openspecification/archive/2009/12/08/details-of-three-tiff-tag-extensions-that-microsoft-office-document-imaging-modi-software-may-write-into-the-tiff-files-it-generates.aspx
1737
- # http://www.microsoft.com/downloads/details.aspx?FamilyID=0dbc435d-3544-4f4b-9092-2f2643d64a39&displaylang=en#filelist
1738
- 0x932f => 'MSDocumentText',
1739
- 0x9330 => {
1740
- Name => 'MSPropertySetStorage',
1741
- Binary => 1,
1742
- },
1743
- 0x9331 => {
1744
- Name => 'MSDocumentTextPosition',
1745
- Binary => 1, # (just in case -- don't know what format this is)
1746
- },
1747
- 0x935c => { #3/19
1748
- Name => 'ImageSourceData',
1749
- Binary => 1,
1750
- Protected => 1, # (because this can be hundreds of megabytes)
1751
- },
1752
- 0x9c9b => {
1753
- Name => 'XPTitle',
1754
- Format => 'undef',
1755
- ValueConv => '$self->Decode($val,"UCS2","II")',
1756
- },
1757
- 0x9c9c => {
1758
- Name => 'XPComment',
1759
- Format => 'undef',
1760
- ValueConv => '$self->Decode($val,"UCS2","II")',
1761
- },
1762
- 0x9c9d => {
1763
- Name => 'XPAuthor',
1764
- Groups => { 2 => 'Author' },
1765
- Format => 'undef',
1766
- ValueConv => '$self->Decode($val,"UCS2","II")',
1767
- },
1768
- 0x9c9e => {
1769
- Name => 'XPKeywords',
1770
- Format => 'undef',
1771
- ValueConv => '$self->Decode($val,"UCS2","II")',
1772
- },
1773
- 0x9c9f => {
1774
- Name => 'XPSubject',
1775
- Format => 'undef',
1776
- ValueConv => '$self->Decode($val,"UCS2","II")',
1777
- },
1778
- 0xa000 => {
1779
- Name => 'FlashpixVersion',
1780
- RawConv => '$val=~s/\0+$//; $val', # (some idiots add null terminators)
1781
- },
1782
- 0xa001 => {
1783
- Name => 'ColorSpace',
1784
- Notes => q{
1785
- the value of 0x2 is not standard EXIF. Instead, an Adobe RGB image is
1786
- indicated by "Uncalibrated" with an InteropIndex of "R03". The values
1787
- 0xfffd and 0xfffe are also non-standard, and are used by some Sony cameras
1788
- },
1789
- PrintHex => 1,
1790
- PrintConv => {
1791
- 1 => 'sRGB',
1792
- 2 => 'Adobe RGB',
1793
- 0xffff => 'Uncalibrated',
1794
- # Sony uses these definitions: (ref JD)
1795
- # 0xffff => 'Adobe RGB', (conflicts with Uncalibrated)
1796
- 0xfffe => 'ICC Profile',
1797
- 0xfffd => 'Wide Gamut RGB',
1798
- },
1799
- },
1800
- 0xa002 => {
1801
- Name => 'ExifImageWidth',
1802
- Notes => 'called PixelXDimension by the EXIF spec.',
1803
- },
1804
- 0xa003 => {
1805
- Name => 'ExifImageHeight',
1806
- Notes => 'called PixelYDimension by the EXIF spec.',
1807
- },
1808
- 0xa004 => 'RelatedSoundFile',
1809
- 0xa005 => {
1810
- Name => 'InteropOffset',
1811
- Groups => { 1 => 'InteropIFD' },
1812
- Flags => 'SubIFD',
1813
- Description => 'Interoperability Offset',
1814
- SubDirectory => {
1815
- DirName => 'InteropIFD',
1816
- Start => '$val',
1817
- MaxSubdirs => 1,
1818
- },
1819
- },
1820
- 0xa20b => {
1821
- Name => 'FlashEnergy',
1822
- Groups => { 2 => 'Camera' },
1823
- },
1824
- 0xa20c => {
1825
- Name => 'SpatialFrequencyResponse',
1826
- PrintConv => 'Image::ExifTool::Exif::PrintSFR($val)',
1827
- },
1828
- 0xa20d => 'Noise',
1829
- 0xa20e => { Name => 'FocalPlaneXResolution', Groups => { 2 => 'Camera' } },
1830
- 0xa20f => { Name => 'FocalPlaneYResolution', Groups => { 2 => 'Camera' } },
1831
- 0xa210 => {
1832
- Name => 'FocalPlaneResolutionUnit',
1833
- Groups => { 2 => 'Camera' },
1834
- Notes => 'values 1, 4 and 5 are not standard EXIF',
1835
- PrintConv => {
1836
- 1 => 'None', # (not standard EXIF)
1837
- 2 => 'inches',
1838
- 3 => 'cm',
1839
- 4 => 'mm', # (not standard EXIF)
1840
- 5 => 'um', # (not standard EXIF)
1841
- },
1842
- },
1843
- 0xa211 => 'ImageNumber',
1844
- 0xa212 => 'SecurityClassification',
1845
- 0xa213 => 'ImageHistory',
1846
- 0xa214 => {
1847
- Name => 'SubjectLocation',
1848
- Groups => { 2 => 'Camera' },
1849
- },
1850
- 0xa215 => 'ExposureIndex',
1851
- 0xa216 => 'TIFF-EPStandardID',
1852
- 0xa217 => {
1853
- Name => 'SensingMethod',
1854
- Groups => { 2 => 'Camera' },
1855
- PrintConv => {
1856
- 1 => 'Not defined',
1857
- 2 => 'One-chip color area',
1858
- 3 => 'Two-chip color area',
1859
- 4 => 'Three-chip color area',
1860
- 5 => 'Color sequential area',
1861
- 7 => 'Trilinear',
1862
- 8 => 'Color sequential linear',
1863
- },
1864
- },
1865
- 0xa300 => {
1866
- Name => 'FileSource',
1867
- PrintConv => {
1868
- 1 => 'Film Scanner',
1869
- 2 => 'Reflection Print Scanner',
1870
- 3 => 'Digital Camera',
1871
- # handle the case where Sigma incorrectly gives this tag a count of 4
1872
- "\3\0\0\0" => 'Sigma Digital Camera',
1873
- },
1874
- },
1875
- 0xa301 => {
1876
- Name => 'SceneType',
1877
- PrintConv => {
1878
- 1 => 'Directly photographed',
1879
- },
1880
- },
1881
- 0xa302 => {
1882
- Name => 'CFAPattern',
1883
- RawConv => 'Image::ExifTool::Exif::DecodeCFAPattern($self, $val)',
1884
- PrintConv => 'Image::ExifTool::Exif::PrintCFAPattern($val)',
1885
- },
1886
- 0xa401 => {
1887
- Name => 'CustomRendered',
1888
- PrintConv => {
1889
- 0 => 'Normal',
1890
- 1 => 'Custom',
1891
- # 4 - Apple iPhone5c horizontal orientation
1892
- # 6 - Apple iPhone5c panorama
1893
- },
1894
- },
1895
- 0xa402 => {
1896
- Name => 'ExposureMode',
1897
- Groups => { 2 => 'Camera' },
1898
- PrintConv => {
1899
- 0 => 'Auto',
1900
- 1 => 'Manual',
1901
- 2 => 'Auto bracket',
1902
- # have seen 3 from Samsung EX1, NX30, NX200 - PH
1903
- },
1904
- },
1905
- 0xa403 => {
1906
- Name => 'WhiteBalance',
1907
- Groups => { 2 => 'Camera' },
1908
- # set Priority to zero to keep this WhiteBalance from overriding the
1909
- # MakerNotes WhiteBalance, since the MakerNotes WhiteBalance and is more
1910
- # accurate and contains more information (if it exists)
1911
- Priority => 0,
1912
- PrintConv => {
1913
- 0 => 'Auto',
1914
- 1 => 'Manual',
1915
- },
1916
- },
1917
- 0xa404 => {
1918
- Name => 'DigitalZoomRatio',
1919
- Groups => { 2 => 'Camera' },
1920
- },
1921
- 0xa405 => {
1922
- Name => 'FocalLengthIn35mmFormat',
1923
- Notes => 'called FocalLengthIn35mmFilm by the EXIF spec.',
1924
- Groups => { 2 => 'Camera' },
1925
- PrintConv => '"$val mm"',
1926
- },
1927
- 0xa406 => {
1928
- Name => 'SceneCaptureType',
1929
- Groups => { 2 => 'Camera' },
1930
- PrintConv => {
1931
- 0 => 'Standard',
1932
- 1 => 'Landscape',
1933
- 2 => 'Portrait',
1934
- 3 => 'Night',
1935
- # 4 - HDR (Samsung GT-I9300)
1936
- },
1937
- },
1938
- 0xa407 => {
1939
- Name => 'GainControl',
1940
- Groups => { 2 => 'Camera' },
1941
- PrintConv => {
1942
- 0 => 'None',
1943
- 1 => 'Low gain up',
1944
- 2 => 'High gain up',
1945
- 3 => 'Low gain down',
1946
- 4 => 'High gain down',
1947
- },
1948
- },
1949
- 0xa408 => {
1950
- Name => 'Contrast',
1951
- Groups => { 2 => 'Camera' },
1952
- PrintConv => {
1953
- 0 => 'Normal',
1954
- 1 => 'Low',
1955
- 2 => 'High',
1956
- },
1957
- },
1958
- 0xa409 => {
1959
- Name => 'Saturation',
1960
- Groups => { 2 => 'Camera' },
1961
- PrintConv => {
1962
- 0 => 'Normal',
1963
- 1 => 'Low',
1964
- 2 => 'High',
1965
- },
1966
- },
1967
- 0xa40a => {
1968
- Name => 'Sharpness',
1969
- Groups => { 2 => 'Camera' },
1970
- PrintConv => {
1971
- 0 => 'Normal',
1972
- 1 => 'Soft',
1973
- 2 => 'Hard',
1974
- },
1975
- },
1976
- 0xa40b => {
1977
- Name => 'DeviceSettingDescription',
1978
- Groups => { 2 => 'Camera' },
1979
- Binary => 1,
1980
- },
1981
- 0xa40c => {
1982
- Name => 'SubjectDistanceRange',
1983
- Groups => { 2 => 'Camera' },
1984
- PrintConv => {
1985
- 0 => 'Unknown',
1986
- 1 => 'Macro',
1987
- 2 => 'Close',
1988
- 3 => 'Distant',
1989
- },
1990
- },
1991
- # 0xa40d - int16u: 0 (GE E1486 TW)
1992
- # 0xa40e - int16u: 1 (GE E1486 TW)
1993
- 0xa420 => 'ImageUniqueID',
1994
- 0xa430 => { #24
1995
- Name => 'OwnerName',
1996
- Notes => 'called CameraOwnerName by the EXIF spec.',
1997
- },
1998
- 0xa431 => { #24
1999
- Name => 'SerialNumber',
2000
- Notes => 'called BodySerialNumber by the EXIF spec.',
2001
- },
2002
- 0xa432 => { #24
2003
- Name => 'LensInfo',
2004
- Notes => q{
2005
- 4 rational values giving focal and aperture ranges, called LensSpecification
2006
- by the EXIF spec.
2007
- },
2008
- # convert to the form "12-20mm f/3.8-4.5" or "50mm f/1.4"
2009
- PrintConv => \&Image::ExifTool::Exif::PrintLensInfo,
2010
- },
2011
- 0xa433 => 'LensMake', #24
2012
- 0xa434 => 'LensModel', #24
2013
- 0xa435 => 'LensSerialNumber', #24
2014
- 0xa480 => 'GDALMetadata', #3
2015
- 0xa481 => 'GDALNoData', #3
2016
- 0xa500 => 'Gamma',
2017
- 0xafc0 => 'ExpandSoftware', #JD (Opanda)
2018
- 0xafc1 => 'ExpandLens', #JD (Opanda)
2019
- 0xafc2 => 'ExpandFilm', #JD (Opanda)
2020
- 0xafc3 => 'ExpandFilterLens', #JD (Opanda)
2021
- 0xafc4 => 'ExpandScanner', #JD (Opanda)
2022
- 0xafc5 => 'ExpandFlashLamp', #JD (Opanda)
2023
- #
2024
- # Windows Media Photo / HD Photo (WDP/HDP) tags
2025
- #
2026
- 0xbc01 => { #13
2027
- Name => 'PixelFormat',
2028
- PrintHex => 1,
2029
- Format => 'undef',
2030
- Notes => q{
2031
- tags 0xbc** are used in Windows HD Photo (HDP and WDP) images. The actual
2032
- PixelFormat values are 16-byte GUID's but the leading 15 bytes,
2033
- '6fddc324-4e03-4bfe-b1853-d77768dc9', have been removed below to avoid
2034
- unnecessary clutter
2035
- },
2036
- ValueConv => q{
2037
- require Image::ExifTool::ASF;
2038
- $val = Image::ExifTool::ASF::GetGUID($val);
2039
- # GUID's are too long, so remove redundant information
2040
- $val =~ s/^6fddc324-4e03-4bfe-b185-3d77768dc9//i and $val = hex($val);
2041
- return $val;
2042
- },
2043
- PrintConv => {
2044
- 0x0d => '24-bit RGB',
2045
- 0x0c => '24-bit BGR',
2046
- 0x0e => '32-bit BGR',
2047
- 0x15 => '48-bit RGB',
2048
- 0x12 => '48-bit RGB Fixed Point',
2049
- 0x3b => '48-bit RGB Half',
2050
- 0x18 => '96-bit RGB Fixed Point',
2051
- 0x1b => '128-bit RGB Float',
2052
- 0x0f => '32-bit BGRA',
2053
- 0x16 => '64-bit RGBA',
2054
- 0x1d => '64-bit RGBA Fixed Point',
2055
- 0x3a => '64-bit RGBA Half',
2056
- 0x1e => '128-bit RGBA Fixed Point',
2057
- 0x19 => '128-bit RGBA Float',
2058
- 0x10 => '32-bit PBGRA',
2059
- 0x17 => '64-bit PRGBA',
2060
- 0x1a => '128-bit PRGBA Float',
2061
- 0x1c => '32-bit CMYK',
2062
- 0x2c => '40-bit CMYK Alpha',
2063
- 0x1f => '64-bit CMYK',
2064
- 0x2d => '80-bit CMYK Alpha',
2065
- 0x20 => '24-bit 3 Channels',
2066
- 0x21 => '32-bit 4 Channels',
2067
- 0x22 => '40-bit 5 Channels',
2068
- 0x23 => '48-bit 6 Channels',
2069
- 0x24 => '56-bit 7 Channels',
2070
- 0x25 => '64-bit 8 Channels',
2071
- 0x2e => '32-bit 3 Channels Alpha',
2072
- 0x2f => '40-bit 4 Channels Alpha',
2073
- 0x30 => '48-bit 5 Channels Alpha',
2074
- 0x31 => '56-bit 6 Channels Alpha',
2075
- 0x32 => '64-bit 7 Channels Alpha',
2076
- 0x33 => '72-bit 8 Channels Alpha',
2077
- 0x26 => '48-bit 3 Channels',
2078
- 0x27 => '64-bit 4 Channels',
2079
- 0x28 => '80-bit 5 Channels',
2080
- 0x29 => '96-bit 6 Channels',
2081
- 0x2a => '112-bit 7 Channels',
2082
- 0x2b => '128-bit 8 Channels',
2083
- 0x34 => '64-bit 3 Channels Alpha',
2084
- 0x35 => '80-bit 4 Channels Alpha',
2085
- 0x36 => '96-bit 5 Channels Alpha',
2086
- 0x37 => '112-bit 6 Channels Alpha',
2087
- 0x38 => '128-bit 7 Channels Alpha',
2088
- 0x39 => '144-bit 8 Channels Alpha',
2089
- 0x08 => '8-bit Gray',
2090
- 0x0b => '16-bit Gray',
2091
- 0x13 => '16-bit Gray Fixed Point',
2092
- 0x3e => '16-bit Gray Half',
2093
- 0x3f => '32-bit Gray Fixed Point',
2094
- 0x11 => '32-bit Gray Float',
2095
- 0x05 => 'Black & White',
2096
- 0x09 => '16-bit BGR555',
2097
- 0x0a => '16-bit BGR565',
2098
- 0x13 => '32-bit BGR101010',
2099
- 0x3d => '32-bit RGBE',
2100
- },
2101
- },
2102
- 0xbc02 => { #13
2103
- Name => 'Transformation',
2104
- PrintConv => {
2105
- 0 => 'Horizontal (normal)',
2106
- 1 => 'Mirror vertical',
2107
- 2 => 'Mirror horizontal',
2108
- 3 => 'Rotate 180',
2109
- 4 => 'Rotate 90 CW',
2110
- 5 => 'Mirror horizontal and rotate 90 CW',
2111
- 6 => 'Mirror horizontal and rotate 270 CW',
2112
- 7 => 'Rotate 270 CW',
2113
- },
2114
- },
2115
- 0xbc03 => { #13
2116
- Name => 'Uncompressed',
2117
- PrintConv => { 0 => 'No', 1 => 'Yes' },
2118
- },
2119
- 0xbc04 => { #13
2120
- Name => 'ImageType',
2121
- PrintConv => { BITMASK => {
2122
- 0 => 'Preview',
2123
- 1 => 'Page',
2124
- } },
2125
- },
2126
- 0xbc80 => 'ImageWidth', #13
2127
- 0xbc81 => 'ImageHeight', #13
2128
- 0xbc82 => 'WidthResolution', #13
2129
- 0xbc83 => 'HeightResolution', #13
2130
- 0xbcc0 => { #13
2131
- Name => 'ImageOffset',
2132
- IsOffset => 1,
2133
- OffsetPair => 0xbcc1, # point to associated byte count
2134
- },
2135
- 0xbcc1 => { #13
2136
- Name => 'ImageByteCount',
2137
- OffsetPair => 0xbcc0, # point to associated offset
2138
- },
2139
- 0xbcc2 => { #13
2140
- Name => 'AlphaOffset',
2141
- IsOffset => 1,
2142
- OffsetPair => 0xbcc3, # point to associated byte count
2143
- },
2144
- 0xbcc3 => { #13
2145
- Name => 'AlphaByteCount',
2146
- OffsetPair => 0xbcc2, # point to associated offset
2147
- },
2148
- 0xbcc4 => { #13
2149
- Name => 'ImageDataDiscard',
2150
- PrintConv => {
2151
- 0 => 'Full Resolution',
2152
- 1 => 'Flexbits Discarded',
2153
- 2 => 'HighPass Frequency Data Discarded',
2154
- 3 => 'Highpass and LowPass Frequency Data Discarded',
2155
- },
2156
- },
2157
- 0xbcc5 => { #13
2158
- Name => 'AlphaDataDiscard',
2159
- PrintConv => {
2160
- 0 => 'Full Resolution',
2161
- 1 => 'Flexbits Discarded',
2162
- 2 => 'HighPass Frequency Data Discarded',
2163
- 3 => 'Highpass and LowPass Frequency Data Discarded',
2164
- },
2165
- },
2166
- #
2167
- 0xc427 => 'OceScanjobDesc', #3
2168
- 0xc428 => 'OceApplicationSelector', #3
2169
- 0xc429 => 'OceIDNumber', #3
2170
- 0xc42a => 'OceImageLogic', #3
2171
- 0xc44f => { Name => 'Annotations', Binary => 1 }, #7/19
2172
- 0xc4a5 => {
2173
- Name => 'PrintIM', # (writable directory!)
2174
- # must set Writable here so this tag will be saved with MakerNotes option
2175
- Writable => 'undef',
2176
- WriteGroup => 'IFD0',
2177
- Binary => 1,
2178
- # (don't make Binary/Protected because we can't copy individual PrintIM tags anyway)
2179
- Description => 'Print Image Matching',
2180
- SubDirectory => {
2181
- TagTable => 'Image::ExifTool::PrintIM::Main',
2182
- },
2183
- PrintConvInv => '$val =~ /^PrintIM/ ? $val : undef', # quick validation
2184
- },
2185
- 0xc573 => { #PH
2186
- Name => 'OriginalFileName',
2187
- Notes => 'used by some obscure software', # (possibly Swizzy Photosmacker?)
2188
- # (it is a 'string', but obscure, so don't make it writable)
2189
- },
2190
- 0xc580 => { #20
2191
- Name => 'USPTOOriginalContentType',
2192
- PrintConv => {
2193
- 0 => 'Text or Drawing',
2194
- 1 => 'Grayscale',
2195
- 2 => 'Color',
2196
- },
2197
- },
2198
- # 0xc5d8 - found in CR2 images
2199
- # 0xc5d9 - found in CR2 images
2200
- # 0xc5e0 - found in CR2 images
2201
- #
2202
- # DNG tags 0xc6XX and 0xc7XX (ref 2 unless otherwise stated)
2203
- #
2204
- 0xc612 => {
2205
- Name => 'DNGVersion',
2206
- Notes => 'tags 0xc612-0xc7b5 are used in DNG images unless otherwise noted',
2207
- DataMember => 'DNGVersion',
2208
- RawConv => '$$self{DNGVersion} = $val',
2209
- PrintConv => '$val =~ tr/ /./; $val',
2210
- },
2211
- 0xc613 => {
2212
- Name => 'DNGBackwardVersion',
2213
- PrintConv => '$val =~ tr/ /./; $val',
2214
- },
2215
- 0xc614 => 'UniqueCameraModel',
2216
- 0xc615 => {
2217
- Name => 'LocalizedCameraModel',
2218
- Format => 'string',
2219
- PrintConv => '$self->Printable($val, 0)',
2220
- },
2221
- 0xc616 => {
2222
- Name => 'CFAPlaneColor',
2223
- PrintConv => q{
2224
- my @cols = qw(Red Green Blue Cyan Magenta Yellow White);
2225
- my @vals = map { $cols[$_] || "Unknown($_)" } split(' ', $val);
2226
- return join(',', @vals);
2227
- },
2228
- },
2229
- 0xc617 => {
2230
- Name => 'CFALayout',
2231
- PrintConv => {
2232
- 1 => 'Rectangular',
2233
- 2 => 'Even columns offset down 1/2 row',
2234
- 3 => 'Even columns offset up 1/2 row',
2235
- 4 => 'Even rows offset right 1/2 column',
2236
- 5 => 'Even rows offset left 1/2 column',
2237
- # the following are new for DNG 1.3:
2238
- 6 => 'Even rows offset up by 1/2 row, even columns offset left by 1/2 column',
2239
- 7 => 'Even rows offset up by 1/2 row, even columns offset right by 1/2 column',
2240
- 8 => 'Even rows offset down by 1/2 row, even columns offset left by 1/2 column',
2241
- 9 => 'Even rows offset down by 1/2 row, even columns offset right by 1/2 column',
2242
- },
2243
- },
2244
- 0xc618 => { Name => 'LinearizationTable', Binary => 1 },
2245
- 0xc619 => 'BlackLevelRepeatDim',
2246
- 0xc61a => 'BlackLevel',
2247
- 0xc61b => { Name => 'BlackLevelDeltaH', %longBin },
2248
- 0xc61c => { Name => 'BlackLevelDeltaV', %longBin },
2249
- 0xc61d => 'WhiteLevel',
2250
- 0xc61e => 'DefaultScale',
2251
- 0xc61f => 'DefaultCropOrigin',
2252
- 0xc620 => 'DefaultCropSize',
2253
- 0xc621 => 'ColorMatrix1',
2254
- 0xc622 => 'ColorMatrix2',
2255
- 0xc623 => 'CameraCalibration1',
2256
- 0xc624 => 'CameraCalibration2',
2257
- 0xc625 => 'ReductionMatrix1',
2258
- 0xc626 => 'ReductionMatrix2',
2259
- 0xc627 => 'AnalogBalance',
2260
- 0xc628 => 'AsShotNeutral',
2261
- 0xc629 => 'AsShotWhiteXY',
2262
- 0xc62a => 'BaselineExposure',
2263
- 0xc62b => 'BaselineNoise',
2264
- 0xc62c => 'BaselineSharpness',
2265
- 0xc62d => 'BayerGreenSplit',
2266
- 0xc62e => 'LinearResponseLimit',
2267
- 0xc62f => {
2268
- Name => 'CameraSerialNumber',
2269
- Groups => { 2 => 'Camera' },
2270
- },
2271
- 0xc630 => {
2272
- Name => 'DNGLensInfo',
2273
- Groups => { 2 => 'Camera' },
2274
- PrintConv =>\&PrintLensInfo,
2275
- },
2276
- 0xc631 => 'ChromaBlurRadius',
2277
- 0xc632 => 'AntiAliasStrength',
2278
- 0xc633 => 'ShadowScale',
2279
- 0xc634 => [
2280
- {
2281
- Condition => '$$self{TIFF_TYPE} =~ /^(ARW|SR2)$/',
2282
- Name => 'SR2Private',
2283
- Groups => { 1 => 'SR2' },
2284
- Flags => 'SubIFD',
2285
- Format => 'int32u',
2286
- # some utilites have problems unless this is int8u format:
2287
- # - Adobe Camera Raw 5.3 gives an error
2288
- # - Apple Preview 10.5.8 gets the wrong white balance
2289
- FixFormat => 'int8u', # (stupid Sony)
2290
- SubDirectory => {
2291
- DirName => 'SR2Private',
2292
- TagTable => 'Image::ExifTool::Sony::SR2Private',
2293
- Start => '$val',
2294
- },
2295
- },
2296
- {
2297
- Condition => '$$valPt =~ /^Adobe\0/',
2298
- Name => 'DNGAdobeData',
2299
- Flags => [ 'Binary', 'Protected' ],
2300
- Writable => 'undef', # (writable directory!) (to make it possible to delete this mess)
2301
- WriteGroup => 'IFD0',
2302
- NestedHtmlDump => 1,
2303
- SubDirectory => { TagTable => 'Image::ExifTool::DNG::AdobeData' },
2304
- Format => 'undef', # written incorrectly as int8u (change to undef for speed)
2305
- },
2306
- {
2307
- # Pentax/Samsung models that write AOC maker notes in JPG images:
2308
- # K-5,K-7,K-m,K-x,K-r,K10D,K20D,K100D,K110D,K200D,K2000,GX10,GX20
2309
- # (Note: the following expression also appears in WriteExif.pl)
2310
- Condition => q{
2311
- $$valPt =~ /^(PENTAX |SAMSUNG)\0/ and
2312
- $$self{Model} =~ /\b(K(-[57mrx]|(10|20|100|110|200)D|2000)|GX(10|20))\b/
2313
- },
2314
- Name => 'MakerNotePentax',
2315
- MakerNotes => 1, # (causes "MakerNotes header" to be identified in HtmlDump output)
2316
- Binary => 1,
2317
- # Note: Don't make this block-writable for a few reasons:
2318
- # 1) It would be dangerous (possibly confusing Pentax software)
2319
- # 2) It is a different format from the JPEG version of MakerNotePentax
2320
- # 3) It is converted to JPEG format by RebuildMakerNotes() when copying
2321
- SubDirectory => {
2322
- TagTable => 'Image::ExifTool::Pentax::Main',
2323
- Start => '$valuePtr + 10',
2324
- Base => '$start - 10',
2325
- ByteOrder => 'Unknown', # easier to do this than read byteorder word
2326
- },
2327
- Format => 'undef', # written incorrectly as int8u (change to undef for speed)
2328
- },
2329
- {
2330
- # must duplicate the above tag with a different name for more recent
2331
- # Pentax models which use the "PENTAX" instead of the "AOC" maker notes
2332
- # in JPG images (needed when copying maker notes from DNG to JPG)
2333
- Condition => '$$valPt =~ /^(PENTAX |SAMSUNG)\0/',
2334
- Name => 'MakerNotePentax5',
2335
- MakerNotes => 1,
2336
- Binary => 1,
2337
- SubDirectory => {
2338
- TagTable => 'Image::ExifTool::Pentax::Main',
2339
- Start => '$valuePtr + 10',
2340
- Base => '$start - 10',
2341
- ByteOrder => 'Unknown',
2342
- },
2343
- Format => 'undef',
2344
- },
2345
- {
2346
- Name => 'DNGPrivateData',
2347
- Flags => [ 'Binary', 'Protected' ],
2348
- Format => 'undef',
2349
- Writable => 'undef',
2350
- WriteGroup => 'IFD0',
2351
- },
2352
- ],
2353
- 0xc635 => {
2354
- Name => 'MakerNoteSafety',
2355
- PrintConv => {
2356
- 0 => 'Unsafe',
2357
- 1 => 'Safe',
2358
- },
2359
- },
2360
- 0xc640 => { #15
2361
- Name => 'RawImageSegmentation',
2362
- # (int16u[3], not writable)
2363
- Notes => q{
2364
- used in segmented Canon CR2 images. 3 numbers: 1. Number of segments minus
2365
- one; 2. Pixel width of segments except last; 3. Pixel width of last segment
2366
- },
2367
- },
2368
- 0xc65a => {
2369
- Name => 'CalibrationIlluminant1',
2370
- SeparateTable => 'LightSource',
2371
- PrintConv => \%lightSource,
2372
- },
2373
- 0xc65b => {
2374
- Name => 'CalibrationIlluminant2',
2375
- SeparateTable => 'LightSource',
2376
- PrintConv => \%lightSource,
2377
- },
2378
- 0xc65c => 'BestQualityScale',
2379
- 0xc65d => {
2380
- Name => 'RawDataUniqueID',
2381
- Format => 'undef',
2382
- ValueConv => 'uc(unpack("H*",$val))',
2383
- },
2384
- 0xc660 => { #3
2385
- Name => 'AliasLayerMetadata',
2386
- Notes => 'used by Alias Sketchbook Pro',
2387
- },
2388
- 0xc68b => {
2389
- Name => 'OriginalRawFileName',
2390
- Format => 'string', # sometimes written as int8u
2391
- },
2392
- 0xc68c => {
2393
- Name => 'OriginalRawFileData', # (writable directory!)
2394
- Writable => 'undef', # must be defined here so tag will be extracted if specified
2395
- WriteGroup => 'IFD0',
2396
- Flags => [ 'Binary', 'Protected' ],
2397
- SubDirectory => {
2398
- TagTable => 'Image::ExifTool::DNG::OriginalRaw',
2399
- },
2400
- },
2401
- 0xc68d => 'ActiveArea',
2402
- 0xc68e => 'MaskedAreas',
2403
- 0xc68f => {
2404
- Name => 'AsShotICCProfile',
2405
- Binary => 1,
2406
- Writable => 'undef', # must be defined here so tag will be extracted if specified
2407
- SubDirectory => {
2408
- DirName => 'AsShotICCProfile',
2409
- TagTable => 'Image::ExifTool::ICC_Profile::Main',
2410
- },
2411
- },
2412
- 0xc690 => 'AsShotPreProfileMatrix',
2413
- 0xc691 => {
2414
- Name => 'CurrentICCProfile',
2415
- Binary => 1,
2416
- Writable => 'undef', # must be defined here so tag will be extracted if specified
2417
- SubDirectory => {
2418
- DirName => 'CurrentICCProfile',
2419
- TagTable => 'Image::ExifTool::ICC_Profile::Main',
2420
- },
2421
- },
2422
- 0xc692 => 'CurrentPreProfileMatrix',
2423
- 0xc6bf => 'ColorimetricReference',
2424
- 0xc6d2 => { #JD (Panasonic DMC-TZ5)
2425
- # this text is UTF-8 encoded (hooray!) - PH (TZ5)
2426
- Name => 'PanasonicTitle',
2427
- Format => 'string', # written incorrectly as 'undef'
2428
- Notes => 'proprietary Panasonic tag used for baby/pet name, etc',
2429
- # panasonic always records this tag (64 zero bytes),
2430
- # so ignore it unless it contains valid information
2431
- RawConv => 'length($val) ? $val : undef',
2432
- ValueConv => '$self->Decode($val, "UTF8")',
2433
- },
2434
- 0xc6c5 => { Name => 'SRawType', Description => 'SRaw Type' }, #exifprobe (CR2 proprietary)
2435
- 0xc6d3 => { #PH (Panasonic DMC-FS7)
2436
- Name => 'PanasonicTitle2',
2437
- Format => 'string', # written incorrectly as 'undef'
2438
- Notes => 'proprietary Panasonic tag used for baby/pet name with age',
2439
- # panasonic always records this tag (128 zero bytes),
2440
- # so ignore it unless it contains valid information
2441
- RawConv => 'length($val) ? $val : undef',
2442
- ValueConv => '$self->Decode($val, "UTF8")',
2443
- },
2444
- # 0xc6dc - int32u[4]: found in CR2 images (PH, 7DmkIII)
2445
- 0xc6f3 => 'CameraCalibrationSig',
2446
- 0xc6f4 => 'ProfileCalibrationSig',
2447
- 0xc6f5 => {
2448
- Name => 'ProfileIFD', # (ExtraCameraProfiles)
2449
- Groups => { 1 => 'ProfileIFD' },
2450
- Flags => 'SubIFD',
2451
- SubDirectory => {
2452
- ProcessProc => \&ProcessTiffIFD,
2453
- WriteProc => \&ProcessTiffIFD,
2454
- DirName => 'ProfileIFD',
2455
- Start => '$val',
2456
- Base => '$start', # offsets relative to start of TIFF-like header
2457
- MaxSubdirs => 10,
2458
- Magic => 0x4352, # magic number for TIFF-like header
2459
- },
2460
- },
2461
- 0xc6f6 => 'AsShotProfileName',
2462
- 0xc6f7 => 'NoiseReductionApplied',
2463
- 0xc6f8 => 'ProfileName',
2464
- 0xc6f9 => 'ProfileHueSatMapDims',
2465
- 0xc6fa => { Name => 'ProfileHueSatMapData1', %longBin },
2466
- 0xc6fb => { Name => 'ProfileHueSatMapData2', %longBin },
2467
- 0xc6fc => {
2468
- Name => 'ProfileToneCurve',
2469
- Binary => 1,
2470
- },
2471
- 0xc6fd => {
2472
- Name => 'ProfileEmbedPolicy',
2473
- PrintConv => {
2474
- 0 => 'Allow Copying',
2475
- 1 => 'Embed if Used',
2476
- 2 => 'Never Embed',
2477
- 3 => 'No Restrictions',
2478
- },
2479
- },
2480
- 0xc6fe => 'ProfileCopyright',
2481
- 0xc714 => 'ForwardMatrix1',
2482
- 0xc715 => 'ForwardMatrix2',
2483
- 0xc716 => 'PreviewApplicationName',
2484
- 0xc717 => 'PreviewApplicationVersion',
2485
- 0xc718 => 'PreviewSettingsName',
2486
- 0xc719 => {
2487
- Name => 'PreviewSettingsDigest',
2488
- Format => 'undef',
2489
- ValueConv => 'unpack("H*", $val)',
2490
- },
2491
- 0xc71a => 'PreviewColorSpace',
2492
- 0xc71b => {
2493
- Name => 'PreviewDateTime',
2494
- Groups => { 2 => 'Time' },
2495
- ValueConv => q{
2496
- require Image::ExifTool::XMP;
2497
- return Image::ExifTool::XMP::ConvertXMPDate($val);
2498
- },
2499
- },
2500
- 0xc71c => {
2501
- Name => 'RawImageDigest',
2502
- Format => 'undef',
2503
- ValueConv => 'unpack("H*", $val)',
2504
- },
2505
- 0xc71d => {
2506
- Name => 'OriginalRawFileDigest',
2507
- Format => 'undef',
2508
- ValueConv => 'unpack("H*", $val)',
2509
- },
2510
- 0xc71e => 'SubTileBlockSize',
2511
- 0xc71f => 'RowInterleaveFactor',
2512
- 0xc725 => 'ProfileLookTableDims',
2513
- 0xc726 => {
2514
- Name => 'ProfileLookTableData',
2515
- Binary => 1,
2516
- },
2517
- 0xc740 => { # DNG 1.3
2518
- Name => 'OpcodeList1',
2519
- Binary => 1,
2520
- # opcodes:
2521
- # 1 => 'WarpRectilinear',
2522
- # 2 => 'WarpFisheye',
2523
- # 3 => 'FixVignetteRadial',
2524
- # 4 => 'FixBadPixelsConstant',
2525
- # 5 => 'FixBadPixelsList',
2526
- # 6 => 'TrimBounds',
2527
- # 7 => 'MapTable',
2528
- # 8 => 'MapPolynomial',
2529
- # 9 => 'GainMap',
2530
- # 10 => 'DeltaPerRow',
2531
- # 11 => 'DeltaPerColumn',
2532
- # 12 => 'ScalePerRow',
2533
- # 13 => 'ScalePerColumn',
2534
- },
2535
- 0xc741 => { # DNG 1.3
2536
- Name => 'OpcodeList2',
2537
- Binary => 1,
2538
- },
2539
- 0xc74e => { # DNG 1.3
2540
- Name => 'OpcodeList3',
2541
- Binary => 1,
2542
- },
2543
- 0xc761 => 'NoiseProfile', # DNG 1.3
2544
- 0xc763 => { #28
2545
- Name => 'TimeCodes',
2546
- ValueConv => q{
2547
- my @a = split ' ', $val;
2548
- my @v;
2549
- push @v, join('.', map { sprintf('%.2x',$_) } splice(@a,0,8)) while @a >= 8;
2550
- join ' ', @v;
2551
- },
2552
- # Note: Currently ignore the flags:
2553
- # byte 0 0x80 - color frame
2554
- # byte 0 0x40 - drop frame
2555
- # byte 1 0x80 - field phase
2556
- PrintConv => q{
2557
- my @a = map hex, split /[. ]+/, $val;
2558
- my @v;
2559
- while (@a >= 8) {
2560
- my $str = sprintf("%.2x:%.2x:%.2x.%.2x", $a[3]&0x3f,
2561
- $a[2]&0x7f, $a[1]&0x7f, $a[0]&0x3f);
2562
- if ($a[3] & 0x80) { # date+timezone exist if BGF2 is set
2563
- my $tz = $a[7] & 0x3f;
2564
- my $bz = sprintf('%.2x', $tz);
2565
- $bz = 100 if $bz =~ /[a-f]/i; # not BCD
2566
- if ($bz < 26) {
2567
- $tz = ($bz < 13 ? 0 : 26) - $bz;
2568
- } elsif ($bz == 32) {
2569
- $tz = 12.75;
2570
- } elsif ($bz >= 28 and $bz <= 31) {
2571
- $tz = 0; # UTC
2572
- } elsif ($bz < 100) {
2573
- undef $tz; # undefined or user-defined
2574
- } elsif ($tz < 0x20) {
2575
- $tz = (($tz < 0x10 ? 10 : 20) - $tz) - 0.5;
2576
- } else {
2577
- $tz = (($tz < 0x30 ? 53 : 63) - $tz) + 0.5;
2578
- }
2579
- if ($a[7] & 0x80) { # MJD format (/w UTC time)
2580
- my ($h,$m,$s,$f) = split /[:.]/, $str;
2581
- my $jday = sprintf('%x%.2x%.2x', reverse @a[4..6]);
2582
- $str = ConvertUnixTime(($jday - 40587) * 24 * 3600
2583
- + ((($h+$tz) * 60) + $m) * 60 + $s) . ".$f";
2584
- $str =~ s/^(\d+):(\d+):(\d+) /$1-$2-${3}T/;
2585
- } else { # YYMMDD (Note: CinemaDNG 1.1 example seems wrong)
2586
- my $yr = sprintf('%.2x',$a[6]) + 1900;
2587
- $yr += 100 if $yr < 1970;
2588
- $str = sprintf('%d-%.2x-%.2xT%s',$yr,$a[5],$a[4],$str);
2589
- }
2590
- $str .= TimeZoneString($tz*60) if defined $tz;
2591
- }
2592
- push @v, $str;
2593
- splice @a, 0, 8;
2594
- }
2595
- join ' ', @v;
2596
- },
2597
- },
2598
- 0xc764 => { #28
2599
- Name => 'FrameRate',
2600
- PrintConv => 'int($val * 1000 + 0.5) / 1000',
2601
- },
2602
- 0xc772 => { #28
2603
- Name => 'TStop',
2604
- PrintConv => 'join("-", map { sprintf("%.2f",$_) } split " ", $val)',
2605
- },
2606
- 0xc789 => 'ReelName', #28
2607
- 0xc791 => 'OriginalDefaultFinalSize', # DNG 1.4
2608
- 0xc792 => { # DNG 1.4
2609
- Name => 'OriginalBestQualitySize',
2610
- Notes => 'called OriginalBestQualityFinalSize by the DNG spec',
2611
- },
2612
- 0xc793 => 'OriginalDefaultCropSize', # DNG 1.4
2613
- 0xc7a1 => 'CameraLabel', #28
2614
- 0xc7a3 => { # DNG 1.4
2615
- Name => 'ProfileHueSatMapEncoding',
2616
- PrintConv => {
2617
- 0 => 'Linear',
2618
- 1 => 'sRGB',
2619
- },
2620
- },
2621
- 0xc7a4 => { # DNG 1.4
2622
- Name => 'ProfileLookTableEncoding',
2623
- PrintConv => {
2624
- 0 => 'Linear',
2625
- 1 => 'sRGB',
2626
- },
2627
- },
2628
- 0xc7a5 => 'BaselineExposureOffset', # DNG 1.4
2629
- 0xc7a6 => { # DNG 1.4
2630
- Name => 'DefaultBlackRender',
2631
- PrintConv => {
2632
- 0 => 'Auto',
2633
- 1 => 'None',
2634
- },
2635
- },
2636
- 0xc7a7 => { # DNG 1.4
2637
- Name => 'NewRawImageDigest',
2638
- Format => 'undef',
2639
- ValueConv => 'unpack("H*", $val)',
2640
- },
2641
- 0xc7a8 => 'RawToPreviewGain', # DNG 1.4
2642
- # 0xc7aa - undocumented DNG tag written by LR4 (int32u[1] - val=256, related to fast load data?)
2643
- 0xc7b5 => 'DefaultUserCrop', # DNG 1.4
2644
- 0xea1c => { #13
2645
- Name => 'Padding',
2646
- Binary => 1,
2647
- Writable => 'undef',
2648
- # must start with 0x1c 0xea by the WM Photo specification
2649
- # (not sure what should happen if padding is only 1 byte)
2650
- # (why does MicrosoftPhoto write "1c ea 00 00 00 08"?)
2651
- RawConvInv => '$val=~s/^../\x1c\xea/s; $val',
2652
- },
2653
- 0xea1d => {
2654
- Name => 'OffsetSchema',
2655
- Notes => "Microsoft's ill-conceived maker note offset difference",
2656
- # From the Microsoft documentation:
2657
- #
2658
- # Any time the "Maker Note" is relocated by Windows, the Exif MakerNote
2659
- # tag (37500) is updated automatically to reference the new location. In
2660
- # addition, Windows records the offset (or difference) between the old and
2661
- # new locations in the Exif OffsetSchema tag (59933). If the "Maker Note"
2662
- # contains relative references, the developer can add the value in
2663
- # OffsetSchema to the original references to find the correct information.
2664
- #
2665
- # My recommendation is for other developers to ignore this tag because the
2666
- # information it contains is unreliable. It will be wrong if the image has
2667
- # been subsequently edited by another application that doesn't recognize the
2668
- # new Microsoft tag.
2669
- #
2670
- # The new tag unfortunately only gives the difference between the new maker
2671
- # note offset and the original offset. Instead, it should have been designed
2672
- # to store the original offset. The new offset may change if the image is
2673
- # edited, which will invalidate the tag as currently written. If instead the
2674
- # original offset had been stored, the new difference could be easily
2675
- # calculated because the new maker note offset is known.
2676
- #
2677
- # I exchanged emails with a Microsoft technical representative, pointing out
2678
- # this problem shortly after they released the update (Feb 2007), but so far
2679
- # they have taken no steps to address this.
2680
- },
2681
-
2682
- # tags in the range 0xfde8-0xfe58 have been observed in PS7 files
2683
- # generated from RAW images. They are all strings with the
2684
- # tag name at the start of the string. To accomodate these types
2685
- # of tags, all tags with values above 0xf000 are handled specially
2686
- # by ProcessExif().
2687
-
2688
- 0xfe00 => {
2689
- Name => 'KDC_IFD',
2690
- Groups => { 1 => 'KDC_IFD' },
2691
- Flags => 'SubIFD',
2692
- Notes => 'used in some Kodak KDC images',
2693
- SubDirectory => {
2694
- TagTable => 'Image::ExifTool::Kodak::KDC_IFD',
2695
- DirName => 'KDC_IFD',
2696
- Start => '$val',
2697
- },
2698
- },
2699
- );
2700
-
2701
- # EXIF Composite tags (plus other more general Composite tags)
2702
- %Image::ExifTool::Exif::Composite = (
2703
- GROUPS => { 2 => 'Image' },
2704
- ImageSize => {
2705
- Require => {
2706
- 0 => 'ImageWidth',
2707
- 1 => 'ImageHeight',
2708
- },
2709
- Desire => {
2710
- 2 => 'ExifImageWidth',
2711
- 3 => 'ExifImageHeight',
2712
- },
2713
- # use ExifImageWidth/Height only for Canon and Phase One TIFF-base RAW images
2714
- ValueConv => q{
2715
- return "$val[2]x$val[3]" if $val[2] and $val[3] and
2716
- $$self{TIFF_TYPE} =~ /^(CR2|Canon 1D RAW|IIQ|EIP)$/;
2717
- return "$val[0]x$val[1]" if IsFloat($val[0]) and IsFloat($val[1]);
2718
- return undef;
2719
- },
2720
- },
2721
- Megapixels => {
2722
- Require => 'ImageSize',
2723
- ValueConv => 'my @d = ($val =~ /\d+/g); $d[0] * $d[1] / 1000000',
2724
- PrintConv => 'sprintf("%.*f", ($val >= 1 ? 1 : ($val >= 0.001 ? 3 : 6)), $val)',
2725
- },
2726
- # pick the best shutter speed value
2727
- ShutterSpeed => {
2728
- Desire => {
2729
- 0 => 'ExposureTime',
2730
- 1 => 'ShutterSpeedValue',
2731
- 2 => 'BulbDuration',
2732
- },
2733
- ValueConv => '($val[2] and $val[2]>0) ? $val[2] : (defined($val[0]) ? $val[0] : $val[1])',
2734
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
2735
- },
2736
- Aperture => {
2737
- Desire => {
2738
- 0 => 'FNumber',
2739
- 1 => 'ApertureValue',
2740
- },
2741
- RawConv => '($val[0] || $val[1]) ? $val : undef',
2742
- ValueConv => '$val[0] || $val[1]',
2743
- PrintConv => 'Image::ExifTool::Exif::PrintFNumber($val)',
2744
- },
2745
- LightValue => {
2746
- Notes => 'calculated LV -- similar to exposure value but normalized to ISO 100',
2747
- Require => {
2748
- 0 => 'Aperture',
2749
- 1 => 'ShutterSpeed',
2750
- 2 => 'ISO',
2751
- },
2752
- ValueConv => 'Image::ExifTool::Exif::CalculateLV($val[0],$val[1],$prt[2])',
2753
- PrintConv => 'sprintf("%.1f",$val)',
2754
- },
2755
- FocalLength35efl => { #26/PH
2756
- Description => 'Focal Length',
2757
- Notes => 'this value may be incorrect if the image has been resized',
2758
- Groups => { 2 => 'Camera' },
2759
- Require => {
2760
- 0 => 'FocalLength',
2761
- },
2762
- Desire => {
2763
- 1 => 'ScaleFactor35efl',
2764
- },
2765
- ValueConv => 'ToFloat(@val); ($val[0] || 0) * ($val[1] || 1)',
2766
- PrintConv => '$val[1] ? sprintf("%.1f mm (35 mm equivalent: %.1f mm)", $val[0], $val) : sprintf("%.1f mm", $val)',
2767
- },
2768
- ScaleFactor35efl => { #26/PH
2769
- Description => 'Scale Factor To 35 mm Equivalent',
2770
- Notes => q{
2771
- this value and any derived values may be incorrect if the image has been
2772
- resized
2773
- },
2774
- Groups => { 2 => 'Camera' },
2775
- Desire => {
2776
- 0 => 'FocalLength',
2777
- 1 => 'FocalLengthIn35mmFormat',
2778
- 2 => 'Composite:DigitalZoom',
2779
- 3 => 'FocalPlaneDiagonal',
2780
- 4 => 'SensorSize',
2781
- 5 => 'FocalPlaneXSize',
2782
- 6 => 'FocalPlaneYSize',
2783
- 7 => 'FocalPlaneResolutionUnit',
2784
- 8 => 'FocalPlaneXResolution',
2785
- 9 => 'FocalPlaneYResolution',
2786
- 10 => 'ExifImageWidth',
2787
- 11 => 'ExifImageHeight',
2788
- 12 => 'CanonImageWidth',
2789
- 13 => 'CanonImageHeight',
2790
- 14 => 'ImageWidth',
2791
- 15 => 'ImageHeight',
2792
- },
2793
- ValueConv => 'Image::ExifTool::Exif::CalcScaleFactor35efl($self, @val)',
2794
- PrintConv => 'sprintf("%.1f", $val)',
2795
- },
2796
- CircleOfConfusion => {
2797
- Notes => q{
2798
- calculated as D/1440, where D is the focal plane diagonal in mm. This value
2799
- may be incorrect if the image has been resized
2800
- },
2801
- Groups => { 2 => 'Camera' },
2802
- Require => 'ScaleFactor35efl',
2803
- ValueConv => 'sqrt(24*24+36*36) / ($val * 1440)',
2804
- PrintConv => 'sprintf("%.3f mm",$val)',
2805
- },
2806
- HyperfocalDistance => {
2807
- Notes => 'this value may be incorrect if the image has been resized',
2808
- Groups => { 2 => 'Camera' },
2809
- Require => {
2810
- 0 => 'FocalLength',
2811
- 1 => 'Aperture',
2812
- 2 => 'CircleOfConfusion',
2813
- },
2814
- ValueConv => q{
2815
- ToFloat(@val);
2816
- return 'inf' unless $val[1] and $val[2];
2817
- return $val[0] * $val[0] / ($val[1] * $val[2] * 1000);
2818
- },
2819
- PrintConv => 'sprintf("%.2f m", $val)',
2820
- },
2821
- DOF => {
2822
- Description => 'Depth Of Field',
2823
- Notes => 'this value may be incorrect if the image has been resized',
2824
- Require => {
2825
- 0 => 'FocalLength',
2826
- 1 => 'Aperture',
2827
- 2 => 'CircleOfConfusion',
2828
- },
2829
- Desire => {
2830
- 3 => 'FocusDistance', # focus distance in metres (0 is infinity)
2831
- 4 => 'SubjectDistance',
2832
- 5 => 'ObjectDistance',
2833
- 6 => 'ApproximateFocusDistance ',
2834
- 7 => 'FocusDistanceLower',
2835
- 8 => 'FocusDistanceUpper',
2836
- },
2837
- ValueConv => q{
2838
- ToFloat(@val);
2839
- my ($d, $f) = ($val[3], $val[0]);
2840
- if (defined $d) {
2841
- $d or $d = 1e10; # (use large number for infinity)
2842
- } else {
2843
- $d = $val[4] || $val[5] || $val[6];
2844
- unless (defined $d) {
2845
- return undef unless defined $val[7] and defined $val[8];
2846
- $d = ($val[7] + $val[8]) / 2;
2847
- }
2848
- }
2849
- return 0 unless $f and $val[2];
2850
- my $t = $val[1] * $val[2] * ($d * 1000 - $f) / ($f * $f);
2851
- my @v = ($d / (1 + $t), $d / (1 - $t));
2852
- $v[1] < 0 and $v[1] = 0; # 0 means 'inf'
2853
- return join(' ',@v);
2854
- },
2855
- PrintConv => q{
2856
- $val =~ tr/,/./; # in case locale is whacky
2857
- my @v = split ' ', $val;
2858
- $v[1] or return sprintf("inf (%.2f m - inf)", $v[0]);
2859
- my $dof = $v[1] - $v[0];
2860
- my $fmt = ($dof>0 and $dof<0.02) ? "%.3f" : "%.2f";
2861
- return sprintf("$fmt m ($fmt - $fmt m)",$dof,$v[0],$v[1]);
2862
- },
2863
- },
2864
- FOV => {
2865
- Description => 'Field Of View',
2866
- Notes => q{
2867
- calculated for the long image dimension. This value may be incorrect for
2868
- fisheye lenses, or if the image has been resized
2869
- },
2870
- Require => {
2871
- 0 => 'FocalLength',
2872
- 1 => 'ScaleFactor35efl',
2873
- },
2874
- Desire => {
2875
- 2 => 'FocusDistance', # (multiply by 1000 to convert to mm)
2876
- },
2877
- # ref http://www.bobatkins.com/photography/technical/field_of_view.html
2878
- # (calculations below apply to rectilinear lenses only, not fisheye)
2879
- ValueConv => q{
2880
- ToFloat(@val);
2881
- return undef unless $val[0] and $val[1];
2882
- my $corr = 1;
2883
- if ($val[2]) {
2884
- my $d = 1000 * $val[2] - $val[0];
2885
- $corr += $val[0]/$d if $d > 0;
2886
- }
2887
- my $fd2 = atan2(36, 2*$val[0]*$val[1]*$corr);
2888
- my @fov = ( $fd2 * 360 / 3.14159 );
2889
- if ($val[2] and $val[2] > 0 and $val[2] < 10000) {
2890
- push @fov, 2 * $val[2] * sin($fd2) / cos($fd2);
2891
- }
2892
- return join(' ', @fov);
2893
- },
2894
- PrintConv => q{
2895
- my @v = split(' ',$val);
2896
- my $str = sprintf("%.1f deg", $v[0]);
2897
- $str .= sprintf(" (%.2f m)", $v[1]) if $v[1];
2898
- return $str;
2899
- },
2900
- },
2901
- # generate DateTimeOriginal from Date and Time Created if not extracted already
2902
- DateTimeOriginal => {
2903
- Condition => 'not defined $$self{VALUE}{DateTimeOriginal}',
2904
- Description => 'Date/Time Original',
2905
- Groups => { 2 => 'Time' },
2906
- Desire => {
2907
- 0 => 'DateTimeCreated',
2908
- 1 => 'DateCreated',
2909
- 2 => 'TimeCreated',
2910
- },
2911
- RawConv => '($val[1] and $val[2]) ? $val : undef',
2912
- ValueConv => q{
2913
- return $val[0] if $val[0] and $val[0]=~/ /;
2914
- return "$val[1] $val[2]";
2915
- },
2916
- PrintConv => '$self->ConvertDateTime($val)',
2917
- },
2918
- ThumbnailImage => {
2919
- Groups => { 2 => 'Preview' },
2920
- Writable => 1,
2921
- WriteCheck => '$self->CheckImage(\$val)',
2922
- WriteAlso => {
2923
- # (the 0xfeedfeed values are translated in the Exif write routine)
2924
- ThumbnailOffset => 'defined $val ? 0xfeedfeed : undef',
2925
- ThumbnailLength => 'defined $val ? 0xfeedfeed : undef',
2926
- },
2927
- Require => {
2928
- 0 => 'ThumbnailOffset',
2929
- 1 => 'ThumbnailLength',
2930
- },
2931
- # retrieve the thumbnail from our EXIF data
2932
- RawConv => 'Image::ExifTool::Exif::ExtractImage($self,$val[0],$val[1],"ThumbnailImage")',
2933
- },
2934
- PreviewImage => {
2935
- Groups => { 2 => 'Preview' },
2936
- Writable => 1,
2937
- WriteCheck => '$self->CheckImage(\$val)',
2938
- DelCheck => '$val = ""; return undef', # can't delete, so set to empty string
2939
- WriteAlso => {
2940
- PreviewImageStart => 'defined $val ? 0xfeedfeed : undef',
2941
- PreviewImageLength => 'defined $val ? 0xfeedfeed : undef',
2942
- PreviewImageValid => 'defined $val and length $val ? 1 : 0',
2943
- },
2944
- Require => {
2945
- 0 => 'PreviewImageStart',
2946
- 1 => 'PreviewImageLength',
2947
- },
2948
- Desire => {
2949
- 2 => 'PreviewImageValid',
2950
- # (DNG and A100 ARW may be have 2 preview images)
2951
- 3 => 'PreviewImageStart (1)',
2952
- 4 => 'PreviewImageLength (1)',
2953
- },
2954
- # note: extract 2nd preview, but ignore double-referenced preview
2955
- # (in A100 ARW images, the 2nd PreviewImageLength from IFD0 may be wrong anyway)
2956
- RawConv => q{
2957
- if ($val[3] and $val[4] and $val[0] ne $val[3]) {
2958
- my %val = (
2959
- 0 => 'PreviewImageStart (1)',
2960
- 1 => 'PreviewImageLength (1)',
2961
- 2 => 'PreviewImageValid',
2962
- );
2963
- $self->FoundTag($tagInfo, \%val);
2964
- }
2965
- return undef if defined $val[2] and not $val[2];
2966
- return Image::ExifTool::Exif::ExtractImage($self,$val[0],$val[1],'PreviewImage');
2967
- },
2968
- },
2969
- JpgFromRaw => {
2970
- Groups => { 2 => 'Preview' },
2971
- Writable => 1,
2972
- WriteCheck => '$self->CheckImage(\$val)',
2973
- WriteAlso => {
2974
- JpgFromRawStart => 'defined $val ? 0xfeedfeed : undef',
2975
- JpgFromRawLength => 'defined $val ? 0xfeedfeed : undef',
2976
- },
2977
- Require => {
2978
- 0 => 'JpgFromRawStart',
2979
- 1 => 'JpgFromRawLength',
2980
- },
2981
- RawConv => 'Image::ExifTool::Exif::ExtractImage($self,$val[0],$val[1],"JpgFromRaw")',
2982
- },
2983
- OtherImage => {
2984
- Groups => { 2 => 'Preview' },
2985
- Writable => 1,
2986
- WriteCheck => '$self->CheckImage(\$val)',
2987
- DelCheck => '$val = ""; return undef', # can't delete, so set to empty string
2988
- WriteAlso => {
2989
- OtherImageStart => 'defined $val ? 0xfeedfeed : undef',
2990
- OtherImageLength => 'defined $val ? 0xfeedfeed : undef',
2991
- },
2992
- Require => {
2993
- 0 => 'OtherImageStart',
2994
- 1 => 'OtherImageLength',
2995
- },
2996
- # retrieve the thumbnail from our EXIF data
2997
- RawConv => 'Image::ExifTool::Exif::ExtractImage($self,$val[0],$val[1],"OtherImage")',
2998
- },
2999
- PreviewImageSize => {
3000
- Require => {
3001
- 0 => 'PreviewImageWidth',
3002
- 1 => 'PreviewImageHeight',
3003
- },
3004
- ValueConv => '"$val[0]x$val[1]"',
3005
- },
3006
- SubSecDateTimeOriginal => {
3007
- Description => 'Date/Time Original',
3008
- Groups => { 2 => 'Time' },
3009
- Require => {
3010
- 0 => 'EXIF:DateTimeOriginal',
3011
- 1 => 'SubSecTimeOriginal',
3012
- },
3013
- # be careful here just in case there is a timezone following the seconds
3014
- RawConv => '$val[1]=~/\d/ ? $val : undef',
3015
- ValueConv => q{
3016
- $_ = $val[0]; s/( \d{2}:\d{2}:\d{2})/$1\.$val[1]/; $_;
3017
- },
3018
- PrintConv => '$self->ConvertDateTime($val)',
3019
- },
3020
- SubSecCreateDate => {
3021
- Description => 'Create Date',
3022
- Groups => { 2 => 'Time' },
3023
- Require => {
3024
- 0 => 'EXIF:CreateDate',
3025
- 1 => 'SubSecTimeDigitized',
3026
- },
3027
- RawConv => '$val[1]=~/\d/ ? $val : undef',
3028
- ValueConv => q{
3029
- $_ = $val[0]; s/( \d{2}:\d{2}:\d{2})/$1\.$val[1]/; $_;
3030
- },
3031
- PrintConv => '$self->ConvertDateTime($val)',
3032
- },
3033
- SubSecModifyDate => {
3034
- Description => 'Modify Date',
3035
- Groups => { 2 => 'Time' },
3036
- Require => {
3037
- 0 => 'EXIF:ModifyDate',
3038
- 1 => 'SubSecTime',
3039
- },
3040
- RawConv => '$val[1]=~/\d/ ? $val : undef',
3041
- ValueConv => q{
3042
- $_ = $val[0]; s/( \d{2}:\d{2}:\d{2})/$1\.$val[1]/; $_;
3043
- },
3044
- PrintConv => '$self->ConvertDateTime($val)',
3045
- },
3046
- CFAPattern => {
3047
- Require => {
3048
- 0 => 'CFARepeatPatternDim',
3049
- 1 => 'CFAPattern2',
3050
- },
3051
- # generate CFAPattern
3052
- ValueConv => q{
3053
- my @a = split / /, $val[0];
3054
- my @b = split / /, $val[1];
3055
- return '?' unless @a==2 and @b==$a[0]*$a[1];
3056
- return "$a[0] $a[1] @b";
3057
- },
3058
- PrintConv => 'Image::ExifTool::Exif::PrintCFAPattern($val)',
3059
- },
3060
- RedBalance => {
3061
- Groups => { 2 => 'Camera' },
3062
- Desire => {
3063
- 0 => 'WB_RGGBLevels',
3064
- 1 => 'WB_RGBGLevels',
3065
- 2 => 'WB_RBGGLevels',
3066
- 3 => 'WB_GRBGLevels',
3067
- 4 => 'WB_GRGBLevels',
3068
- 5 => 'WB_GBRGLevels',
3069
- 6 => 'WB_RGBLevels',
3070
- 7 => 'WB_GRBLevels',
3071
- 8 => 'WB_RBLevels',
3072
- 9 => 'WBRedLevel', # red
3073
- 10 => 'WBGreenLevel',
3074
- },
3075
- ValueConv => 'Image::ExifTool::Exif::RedBlueBalance(0,@val)',
3076
- PrintConv => 'int($val * 1e6 + 0.5) * 1e-6',
3077
- },
3078
- BlueBalance => {
3079
- Groups => { 2 => 'Camera' },
3080
- Desire => {
3081
- 0 => 'WB_RGGBLevels',
3082
- 1 => 'WB_RGBGLevels',
3083
- 2 => 'WB_RBGGLevels',
3084
- 3 => 'WB_GRBGLevels',
3085
- 4 => 'WB_GRGBLevels',
3086
- 5 => 'WB_GBRGLevels',
3087
- 6 => 'WB_RGBLevels',
3088
- 7 => 'WB_GRBLevels',
3089
- 8 => 'WB_RBLevels',
3090
- 9 => 'WBBlueLevel', # blue
3091
- 10 => 'WBGreenLevel',
3092
- },
3093
- ValueConv => 'Image::ExifTool::Exif::RedBlueBalance(1,@val)',
3094
- PrintConv => 'int($val * 1e6 + 0.5) * 1e-6',
3095
- },
3096
- GPSPosition => {
3097
- Groups => { 2 => 'Location' },
3098
- Require => {
3099
- 0 => 'GPSLatitude',
3100
- 1 => 'GPSLongitude',
3101
- },
3102
- ValueConv => '"$val[0] $val[1]"',
3103
- PrintConv => '"$prt[0], $prt[1]"',
3104
- },
3105
- LensID => {
3106
- Groups => { 2 => 'Camera' },
3107
- Require => 'LensType',
3108
- Desire => {
3109
- 1 => 'FocalLength',
3110
- 2 => 'MaxAperture',
3111
- 3 => 'MaxApertureValue',
3112
- 4 => 'MinFocalLength',
3113
- 5 => 'MaxFocalLength',
3114
- 6 => 'LensModel',
3115
- 7 => 'LensFocalRange',
3116
- 8 => 'LensSpec',
3117
- 9 => 'LensType2',
3118
- 10 => 'LensFocalLength', # (for Pentax to check for converter)
3119
- },
3120
- Notes => q{
3121
- attempt to identify the actual lens from all lenses with a given LensType.
3122
- Applies only to LensType values with a lookup table. May be configured
3123
- by adding user-defined lenses
3124
- },
3125
- # this LensID is only valid if the LensType has a PrintConv or is a model name
3126
- RawConv => q{
3127
- my $printConv = $$self{TAG_INFO}{LensType}{PrintConv};
3128
- return $val if ref $printConv eq 'HASH' or (ref $printConv eq 'ARRAY' and
3129
- ref $$printConv[0] eq 'HASH') or $val[0] =~ /(mm|\d\/F)/;
3130
- return undef;
3131
- },
3132
- ValueConv => '$val',
3133
- PrintConv => q{
3134
- my $pcv;
3135
- # use LensType2 instead of LensType if available and valid (Sony E-mount lenses)
3136
- if ($val[9] and $val[9] & 0x8000) {
3137
- $val[0] = $val[9];
3138
- $prt[0] = $prt[9];
3139
- $pcv = $$self{TAG_INFO}{LensType2}{PrintConv};
3140
- }
3141
- my $lens = Image::ExifTool::Exif::PrintLensID($self, $prt[0], $pcv, $prt[8], @val);
3142
- # check for use of lens converter (Pentax K-3)
3143
- if ($val[10] and $val[1] and $lens) {
3144
- my $conv = $val[1] / $val[10];
3145
- $lens .= sprintf(' + %.1fx converter', $conv) if $conv > 1.1;
3146
- }
3147
- return $lens;
3148
- },
3149
- },
3150
- );
3151
-
3152
- # table for unknown IFD entries
3153
- %Image::ExifTool::Exif::Unknown = (
3154
- GROUPS => { 0 => 'EXIF', 1 => 'UnknownIFD', 2 => 'Image'},
3155
- WRITE_PROC => \&WriteExif,
3156
- );
3157
-
3158
- # add our composite tags
3159
- Image::ExifTool::AddCompositeTags('Image::ExifTool::Exif');
3160
-
3161
-
3162
- #------------------------------------------------------------------------------
3163
- # AutoLoad our writer routines when necessary
3164
- #
3165
- sub AUTOLOAD
3166
- {
3167
- return Image::ExifTool::DoAutoLoad($AUTOLOAD, @_);
3168
- }
3169
-
3170
- #------------------------------------------------------------------------------
3171
- # Identify RAW file type for some TIFF-based formats using Compression value
3172
- # Inputs: 0) ExifTool object reference, 1) Compression value
3173
- # - sets TIFF_TYPE and FileType if identified
3174
- sub IdentifyRawFile($$)
3175
- {
3176
- my ($et, $comp) = @_;
3177
- if ($$et{FILE_TYPE} eq 'TIFF' and not $$et{IdentifiedRawFile}) {
3178
- if ($compression{$comp} and $compression{$comp} =~ /^\w+ ([A-Z]{3}) Compressed$/) {
3179
- $et->OverrideFileType($$et{TIFF_TYPE} = $1);
3180
- $$et{IdentifiedRawFile} = 1;
3181
- }
3182
- }
3183
- }
3184
-
3185
- #------------------------------------------------------------------------------
3186
- # Calculate LV (Light Value)
3187
- # Inputs: 0) Aperture, 1) ShutterSpeed, 2) ISO
3188
- # Returns: LV value (and converts input values to floating point if necessary)
3189
- sub CalculateLV($$$)
3190
- {
3191
- local $_;
3192
- # do validity checks on arguments
3193
- return undef unless @_ >= 3;
3194
- foreach (@_) {
3195
- return undef unless $_ and /([+-]?(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?)/ and $1 > 0;
3196
- $_ = $1; # extract float from any other garbage
3197
- }
3198
- # (A light value of 0 is defined as f/1.0 at 1 second with ISO 100)
3199
- return (2*log($_[0]) - log($_[1]) - log($_[2]/100)) / log(2);
3200
- }
3201
-
3202
- #------------------------------------------------------------------------------
3203
- # Calculate scale factor for 35mm effective focal length (ref 26/PH)
3204
- # Inputs: 0) ExifTool object ref
3205
- # 1) Focal length
3206
- # 2) Focal length in 35mm format
3207
- # 3) Canon digital zoom factor
3208
- # 4) Focal plane diagonal size (in mm)
3209
- # 5) Sensor size (X and Y in mm)
3210
- # 6/7) Focal plane X/Y size (in mm)
3211
- # 8) focal plane resolution units (1=None,2=inches,3=cm,4=mm,5=um)
3212
- # 9/10) Focal plane X/Y resolution
3213
- # 11/12,13/14...) Image width/height in order of precedence (first valid pair is used)
3214
- # Returns: 35mm conversion factor (or undefined if it can't be calculated)
3215
- sub CalcScaleFactor35efl
3216
- {
3217
- my $et = shift;
3218
- my $res = $_[7]; # save resolution units (in case they have been converted to string)
3219
- my $sensXY = $_[4];
3220
- Image::ExifTool::ToFloat(@_);
3221
- my $focal = shift;
3222
- my $foc35 = shift;
3223
-
3224
- return $foc35 / $focal if $focal and $foc35;
3225
-
3226
- my $digz = shift || 1;
3227
- my $diag = shift;
3228
- my $sens = shift;
3229
- # calculate Canon sensor size using a dedicated algorithm
3230
- if ($$et{Make} eq 'Canon') {
3231
- require Image::ExifTool::Canon;
3232
- my $canonDiag = Image::ExifTool::Canon::CalcSensorDiag(
3233
- $$et{RATIONAL}{FocalPlaneXResolution},
3234
- $$et{RATIONAL}{FocalPlaneYResolution},
3235
- );
3236
- $diag = $canonDiag if $canonDiag;
3237
- }
3238
- unless ($diag and Image::ExifTool::IsFloat($diag)) {
3239
- if ($sens and $sensXY =~ / (\d+(\.?\d*)?)$/) {
3240
- $diag = sqrt($sens * $sens + $1 * $1);
3241
- } else {
3242
- undef $diag;
3243
- my $xsize = shift;
3244
- my $ysize = shift;
3245
- if ($xsize and $ysize) {
3246
- # validate by checking aspect ratio because FocalPlaneX/YSize is not reliable
3247
- my $a = $xsize / $ysize;
3248
- if (abs($a-1.3333) < .1 or abs($a-1.5) < .1) {
3249
- $diag = sqrt($xsize * $xsize + $ysize * $ysize);
3250
- }
3251
- }
3252
- }
3253
- unless ($diag) {
3254
- # get number of mm in units (assume inches unless otherwise specified)
3255
- my %lkup = ( 3=>10, 4=>1, 5=>0.001 , cm=>10, mm=>1, um=>0.001 );
3256
- my $units = $lkup{ shift() || $res || '' } || 25.4;
3257
- my $x_res = shift || return undef;
3258
- my $y_res = shift || $x_res;
3259
- Image::ExifTool::IsFloat($x_res) and $x_res != 0 or return undef;
3260
- Image::ExifTool::IsFloat($y_res) and $y_res != 0 or return undef;
3261
- my ($w, $h);
3262
- for (;;) {
3263
- @_ < 2 and return undef;
3264
- $w = shift;
3265
- $h = shift;
3266
- next unless $w and $h;
3267
- my $a = $w / $h;
3268
- last if $a > 0.5 and $a < 2; # stop if we get a reasonable value
3269
- }
3270
- # calculate focal plane size in mm
3271
- $w *= $units / $x_res;
3272
- $h *= $units / $y_res;
3273
- $diag = sqrt($w*$w+$h*$h);
3274
- # make sure size is reasonable
3275
- return undef unless $diag > 1 and $diag < 100;
3276
- }
3277
- }
3278
- return sqrt(36*36+24*24) * $digz / $diag;
3279
- }
3280
-
3281
- #------------------------------------------------------------------------------
3282
- # Print exposure compensation fraction
3283
- sub PrintFraction($)
3284
- {
3285
- my $val = shift;
3286
- my $str;
3287
- if (defined $val) {
3288
- $val *= 1.00001; # avoid round-off errors
3289
- if (not $val) {
3290
- $str = '0';
3291
- } elsif (int($val)/$val > 0.999) {
3292
- $str = sprintf("%+d", int($val));
3293
- } elsif ((int($val*2))/($val*2) > 0.999) {
3294
- $str = sprintf("%+d/2", int($val * 2));
3295
- } elsif ((int($val*3))/($val*3) > 0.999) {
3296
- $str = sprintf("%+d/3", int($val * 3));
3297
- } else {
3298
- $str = sprintf("%+.3g", $val);
3299
- }
3300
- }
3301
- return $str;
3302
- }
3303
-
3304
- #------------------------------------------------------------------------------
3305
- # Convert fraction or number to floating point value (or 'undef' or 'inf')
3306
- sub ConvertFraction($)
3307
- {
3308
- my $val = shift;
3309
- if ($val =~ m{([-+]?\d+)/(\d+)}) {
3310
- $val = $2 ? $1 / $2 : ($1 ? 'inf' : 'undef');
3311
- }
3312
- return $val;
3313
- }
3314
-
3315
- #------------------------------------------------------------------------------
3316
- # Convert EXIF text to something readable
3317
- # Inputs: 0) ExifTool object reference, 1) EXIF text,
3318
- # 2) [optional] 1 to apply CharsetEXIF to ASCII text,
3319
- # 3) tag name for warning message (may be argument 2)
3320
- # Returns: text encoded according to Charset option (with trailing spaces removed)
3321
- sub ConvertExifText($$;$$)
3322
- {
3323
- my ($et, $val, $asciiFlex, $tag) = @_;
3324
- return $val if length($val) < 8;
3325
- my $id = substr($val, 0, 8);
3326
- my $str = substr($val, 8);
3327
- # Note: allow spaces instead of nulls in the ID codes because
3328
- # it is fairly common for camera manufacturers to get this wrong
3329
- # (also handle Canon ZoomBrowser EX 4.5 null followed by 7 bytes of garbage)
3330
- if ($id =~ /^(ASCII)?(\0|[\0 ]+$)/) {
3331
- # truncate at null terminator (shouldn't have a null based on the
3332
- # EXIF spec, but it seems that few people actually read the spec)
3333
- $str =~ s/\0.*//s;
3334
- # allow ASCII text to contain any other specified encoding
3335
- if ($asciiFlex and $asciiFlex eq '1') {
3336
- my $enc = $et->Options('CharsetEXIF');
3337
- $str = $et->Decode($str, $enc) if $enc;
3338
- }
3339
- # by the EXIF spec, the following string should be "UNICODE\0", but
3340
- # apparently Kodak sometimes uses "Unicode\0" in the APP3 "Meta" information.
3341
- # However, unfortunately Ricoh uses "Unicode\0" in the RR30 EXIF UserComment
3342
- # when the text is actually ASCII, so only recognize uppercase "UNICODE\0".
3343
- } elsif ($id =~ /^UNICODE[\0 ]$/) {
3344
- # MicrosoftPhoto writes as little-endian even in big-endian EXIF,
3345
- # so we must guess at the true byte ordering
3346
- $str = $et->Decode($str, 'UTF16', 'Unknown');
3347
- } elsif ($id =~ /^JIS[\0 ]{5}$/) {
3348
- $str = $et->Decode($str, 'JIS', 'Unknown');
3349
- } else {
3350
- $tag = $asciiFlex if $asciiFlex and $asciiFlex ne 1;
3351
- $et->Warn('Invalid EXIF text encoding' . ($tag ? " for $tag" : ''));
3352
- $str = $id . $str;
3353
- }
3354
- $str =~ s/ +$//; # trim trailing blanks
3355
- return $str;
3356
- }
3357
-
3358
- #------------------------------------------------------------------------------
3359
- # Print conversion for SpatialFrequencyResponse
3360
- sub PrintSFR($)
3361
- {
3362
- my $val = shift;
3363
- return $val unless length $val > 4;
3364
- my ($n, $m) = (Get16u(\$val, 0), Get16u(\$val, 2));
3365
- my @cols = split /\0/, substr($val, 4), $n+1;
3366
- my $pos = length($val) - 8 * $n * $m;
3367
- return $val unless @cols == $n+1 and $pos >= 4;
3368
- pop @cols;
3369
- my ($i, $j);
3370
- for ($i=0; $i<$n; ++$i) {
3371
- my @rows;
3372
- for ($j=0; $j<$m; ++$j) {
3373
- push @rows, Image::ExifTool::GetRational64u(\$val, $pos + 8*($i+$j*$n));
3374
- }
3375
- $cols[$i] .= '=' . join(',',@rows) . '';
3376
- }
3377
- return join '; ', @cols;
3378
- }
3379
-
3380
- #------------------------------------------------------------------------------
3381
- # Print numerical parameter value (with sign, or 'Normal' for zero)
3382
- # Inputs: 0) value, 1) flag for inverse conversion, 2) conversion hash reference
3383
- sub PrintParameter($$$)
3384
- {
3385
- my ($val, $inv, $conv) = @_;
3386
- return $val if $inv;
3387
- if ($val > 0) {
3388
- if ($val > 0xfff0) { # a negative value in disguise?
3389
- $val = $val - 0x10000;
3390
- } else {
3391
- $val = "+$val";
3392
- }
3393
- }
3394
- return $val;
3395
- }
3396
-
3397
- #------------------------------------------------------------------------------
3398
- # Convert parameter back to standard EXIF value
3399
- # 0,0.00,etc or "Normal" => 0
3400
- # -1,-2,etc or "Soft" or "Low" => 1
3401
- # +1,+2,1,2,etc or "Hard" or "High" => 2
3402
- sub ConvertParameter($)
3403
- {
3404
- my $val = shift;
3405
- my $isFloat = Image::ExifTool::IsFloat($val);
3406
- # normal is a value of zero
3407
- return 0 if $val =~ /\bn/i or ($isFloat and $val == 0);
3408
- # "soft", "low" or any negative number is a value of 1
3409
- return 1 if $val =~ /\b(s|l)/i or ($isFloat and $val < 0);
3410
- # "hard", "high" or any positive number is a value of 2
3411
- return 2 if $val =~ /\bh/i or $isFloat;
3412
- return undef;
3413
- }
3414
-
3415
- #------------------------------------------------------------------------------
3416
- # Calculate Red/BlueBalance
3417
- # Inputs: 0) 0=red, 1=blue, 1-8) WB_RGGB/RGBG/RBGG/GRBG/GRGB/RGB/GRB/RBLevels,
3418
- # 8) red or blue level, 9) green level
3419
- my @rggbLookup = (
3420
- # indices for R, G, G and B components in input value
3421
- [ 0, 1, 2, 3 ], # 0 RGGB
3422
- [ 0, 1, 3, 2 ], # 1 RGBG
3423
- [ 0, 2, 3, 1 ], # 2 RBGG
3424
- [ 1, 0, 3, 2 ], # 3 GRBG
3425
- [ 1, 0, 2, 3 ], # 4 GRGB
3426
- [ 2, 3, 0, 1 ], # 5 GBRG
3427
- [ 0, 1, 1, 2 ], # 6 RGB
3428
- [ 1, 0, 0, 2 ], # 7 GRB
3429
- [ 0, 256, 256, 1 ], # 8 RB (green level is 256)
3430
- );
3431
- sub RedBlueBalance($@)
3432
- {
3433
- my $blue = shift;
3434
- my ($i, $val, $levels);
3435
- for ($i=0; $i<@rggbLookup; ++$i) {
3436
- $levels = shift or next;
3437
- my @levels = split ' ', $levels;
3438
- next if @levels < 2;
3439
- my $lookup = $rggbLookup[$i];
3440
- my $g = $$lookup[1]; # get green level or index
3441
- if ($g < 4) {
3442
- next if @levels < 3;
3443
- $g = ($levels[$g] + $levels[$$lookup[2]]) / 2 or next;
3444
- } elsif ($levels[$$lookup[$blue * 3]] < 4) {
3445
- $g = 1; # Some Nikon cameras use a scaling factor of 1 (E5700)
3446
- }
3447
- $val = $levels[$$lookup[$blue * 3]] / $g;
3448
- last;
3449
- }
3450
- $val = $_[0] / $_[1] if not defined $val and ($_[0] and $_[1]);
3451
- return $val;
3452
- }
3453
-
3454
- #------------------------------------------------------------------------------
3455
- # Print exposure time as a fraction
3456
- sub PrintExposureTime($)
3457
- {
3458
- my $secs = shift;
3459
- if ($secs < 0.25001 and $secs > 0) {
3460
- return sprintf("1/%d",int(0.5 + 1/$secs));
3461
- }
3462
- $_ = sprintf("%.1f",$secs);
3463
- s/\.0$//;
3464
- return $_;
3465
- }
3466
-
3467
- #------------------------------------------------------------------------------
3468
- # Print FNumber
3469
- sub PrintFNumber($)
3470
- {
3471
- my $val = shift;
3472
- if (Image::ExifTool::IsFloat($val) and $val > 0) {
3473
- # round to 1 decimal place, or 2 for values < 1.0
3474
- $val = sprintf(($val<1 ? "%.2f" : "%.1f"), $val);
3475
- }
3476
- return $val;
3477
- }
3478
-
3479
- #------------------------------------------------------------------------------
3480
- # Decode raw CFAPattern value
3481
- # Inputs: 0) ExifTool ref, 1) binary value
3482
- # Returns: string of numbers
3483
- sub DecodeCFAPattern($$)
3484
- {
3485
- my ($self, $val) = @_;
3486
- # some panasonic cameras (SV-AS3, SV-AS30) write this in ascii (very odd)
3487
- if ($val =~ /^[0-6]+$/) {
3488
- $self->Warn('Incorrectly formatted CFAPattern', 1);
3489
- $val =~ tr/0-6/\x00-\x06/;
3490
- }
3491
- return $val unless length($val) >= 4;
3492
- my @a = unpack(GetByteOrder() eq 'II' ? 'v2C*' : 'n2C*', $val);
3493
- my $end = 2 + $a[0] * $a[1];
3494
- if ($end > @a) {
3495
- # try swapping byte order (I have seen this order different than in EXIF)
3496
- my ($x, $y) = unpack('n2',pack('v2',$a[0],$a[1]));
3497
- if (@a < 2 + $x * $y) {
3498
- $self->Warn('Invalid CFAPattern', 1);
3499
- } else {
3500
- ($a[0], $a[1]) = ($x, $y);
3501
- # (can't technically be wrong because the order isn't well defined by the EXIF spec)
3502
- # $self->Warn('Wrong byte order for CFAPattern');
3503
- }
3504
- }
3505
- return "@a";
3506
- }
3507
-
3508
- #------------------------------------------------------------------------------
3509
- # Print CFA Pattern
3510
- sub PrintCFAPattern($)
3511
- {
3512
- my $val = shift;
3513
- my @a = split ' ', $val;
3514
- return '<truncated data>' unless @a >= 2;
3515
- return '<zero pattern size>' unless $a[0] and $a[1];
3516
- my $end = 2 + $a[0] * $a[1];
3517
- return '<invalid pattern size>' if $end > @a;
3518
- my @cfaColor = qw(Red Green Blue Cyan Magenta Yellow White);
3519
- my ($pos, $rtnVal) = (2, '[');
3520
- for (;;) {
3521
- $rtnVal .= $cfaColor[$a[$pos]] || 'Unknown';
3522
- last if ++$pos >= $end;
3523
- ($pos - 2) % $a[1] and $rtnVal .= ',', next;
3524
- $rtnVal .= '][';
3525
- }
3526
- return $rtnVal . ']';
3527
- }
3528
-
3529
- #------------------------------------------------------------------------------
3530
- # Print conversion for lens info
3531
- # Inputs: 0) string of values (min focal, max focal, min F, max F)
3532
- # Returns: string in the form "12-20mm f/3.8-4.5" or "50mm f/1.4"
3533
- sub PrintLensInfo($)
3534
- {
3535
- my $val = shift;
3536
- my @vals = split ' ', $val;
3537
- return $val unless @vals == 4;
3538
- my $c = 0;
3539
- foreach (@vals) {
3540
- Image::ExifTool::IsFloat($_) and ++$c, next;
3541
- $_ eq 'inf' and $_ = '?', ++$c, next;
3542
- $_ eq 'undef' and $_ = '?', ++$c, next;
3543
- }
3544
- return $val unless $c == 4;
3545
- $val = $vals[0];
3546
- # (the Pentax Q writes zero for upper value of fixed-focal-length lenses)
3547
- $val .= "-$vals[1]" if $vals[1] and $vals[1] ne $vals[0];
3548
- $val .= "mm f/$vals[2]";
3549
- $val .= "-$vals[3]" if $vals[3] and $vals[3] ne $vals[2];
3550
- return $val;
3551
- }
3552
-
3553
- #------------------------------------------------------------------------------
3554
- # Get lens info from lens model string
3555
- # Inputs: 0) lens string, 1) flag to allow unknown "?" values
3556
- # Returns: 0) min focal, 1) max focal, 2) min aperture, 3) max aperture
3557
- # Notes: returns empty list if lens string could not be parsed
3558
- sub GetLensInfo($;$)
3559
- {
3560
- my ($lens, $unk) = @_;
3561
- # extract focal length and aperture ranges for this lens
3562
- my $pat = '\\d+(?:\\.\\d+)?';
3563
- $pat .= '|\\?' if $unk;
3564
- return () unless $lens =~ /($pat)(?:-($pat))?\s*mm.*?(?:[fF]\/?\s*)($pat)(?:-($pat))?/;
3565
- # ($1=short focal, $2=long focal, $3=max aperture wide, $4=max aperture tele)
3566
- my @a = ($1, $2, $3, $4);
3567
- $a[1] or $a[1] = $a[0];
3568
- $a[3] or $a[3] = $a[2];
3569
- if ($unk) {
3570
- local $_;
3571
- $_ eq '?' and $_ = 'undef' foreach @a;
3572
- }
3573
- return @a;
3574
- }
3575
-
3576
- #------------------------------------------------------------------------------
3577
- # Attempt to identify the specific lens if multiple lenses have the same LensType
3578
- # Inputs: 0) ExifTool object ref, 1) LensType print value, 2) PrintConv hash ref,
3579
- # 3) LensSpec print value, 4) LensType numerical value, 5) FocalLength,
3580
- # 6) MaxAperture, 7) MaxApertureValue, 8) MinFocalLength, 9) MaxFocalLength,
3581
- # 10) LensModel, 11) LensFocalRange, 12) LensSpec
3582
- sub PrintLensID($$@)
3583
- {
3584
- my ($et, $lensTypePrt, $printConv, $lensSpecPrt, $lensType, $focalLength,
3585
- $maxAperture, $maxApertureValue, $shortFocal, $longFocal, $lensModel,
3586
- $lensFocalRange, $lensSpec) = @_;
3587
- # the rest of the logic relies on the LensType lookup:
3588
- return undef unless defined $lensType;
3589
- # get print conversion hash if necessary
3590
- $printConv or $printConv = $$et{TAG_INFO}{LensType}{PrintConv};
3591
- # just copy LensType PrintConv value if it was a lens name
3592
- # (Olympus or Panasonic -- just exclude things like Nikon and Leaf LensType)
3593
- unless (ref $printConv eq 'HASH') {
3594
- if (ref $printConv eq 'ARRAY' and ref $$printConv[0] eq 'HASH') {
3595
- $printConv = $$printConv[0];
3596
- $lensTypePrt =~ s/;.*//;
3597
- $lensType =~ s/ .*//;
3598
- } else {
3599
- return $lensTypePrt if $lensTypePrt =~ /mm/;
3600
- return $lensTypePrt if $lensTypePrt =~ s/(\d)\/F/$1mm F/;
3601
- return undef;
3602
- }
3603
- }
3604
- # get LensSpec information if available (Sony)
3605
- my ($sf0, $lf0, $sa0, $la0);
3606
- if ($lensSpecPrt) {
3607
- ($sf0, $lf0, $sa0, $la0) = GetLensInfo($lensSpecPrt);
3608
- undef $sf0 unless $sa0; # (make sure aperture isn't zero)
3609
- }
3610
- # use MaxApertureValue if MaxAperture is not available
3611
- $maxAperture = $maxApertureValue unless $maxAperture;
3612
- if ($lensFocalRange and $lensFocalRange =~ /^(\d+)(?: (?:to )?(\d+))?$/) {
3613
- ($shortFocal, $longFocal) = ($1, $2 || $1);
3614
- }
3615
- if ($$et{Make} eq 'SONY') {
3616
- # patch for Metabones Canon adapters on Sony cameras (ref Jos Roost)
3617
- # (the Metabones adapters add 0xef00 or 0x7700 to the high byte
3618
- # for 2-byte LensType values, so we need to adjust for these)
3619
- if ($lensType != 0xffff) {
3620
- require Image::ExifTool::Minolta;
3621
- if ($Image::ExifTool::Minolta::metabonesID{$lensType & 0xff00}) {
3622
- $lensType -= ($lensType >= 0xef00 ? 0xef00 : $lensType >= 0xbc00 ? 0xbc00 : 0x7700);
3623
- require Image::ExifTool::Canon;
3624
- $printConv = \%Image::ExifTool::Canon::canonLensTypes;
3625
- $lensTypePrt = $$printConv{$lensType} if $$printConv{$lensType};
3626
- }
3627
- }
3628
- } elsif ($shortFocal and $longFocal) {
3629
- # Canon (and some other makes) include makernote information
3630
- # which allows better lens identification
3631
- require Image::ExifTool::Canon;
3632
- return Image::ExifTool::Canon::PrintLensID($printConv, $lensType,
3633
- $shortFocal, $longFocal, $maxAperture, $lensModel);
3634
- }
3635
- my $lens = $$printConv{$lensType};
3636
- return ($lensModel || $lensTypePrt) unless $lens;
3637
- return $lens unless $$printConv{"$lensType.1"};
3638
- $lens =~ s/ or .*//s; # remove everything after "or"
3639
- # make list of all possible matching lenses
3640
- my @lenses = ( $lens );
3641
- my $i;
3642
- for ($i=1; $$printConv{"$lensType.$i"}; ++$i) {
3643
- push @lenses, $$printConv{"$lensType.$i"};
3644
- }
3645
- # attempt to determine actual lens
3646
- my (@matches, @best, @user, $diff);
3647
- foreach $lens (@lenses) {
3648
- push @user, $lens if $Image::ExifTool::userLens{$lens};
3649
- # sf = short focal
3650
- # lf = long focal
3651
- # sa = max aperture at short focal
3652
- # la = max aperture at long focal
3653
- my ($sf, $lf, $sa, $la) = GetLensInfo($lens);
3654
- next unless $sf;
3655
- # check against LensSpec parameters if available
3656
- if ($sf0) {
3657
- next if abs($sf - $sf0) > 0.5 or abs($sa - $sa0) > 0.15 or
3658
- abs($lf - $lf0) > 0.5 or abs($la - $la0) > 0.15;
3659
- # the basic parameters match, but also check against additional lens features:
3660
- # for Sony A and E lenses, the full LensSpec string should match with end of LensType,
3661
- # excluding any part between () at the end, and preceded by a space.
3662
- # The preceding space ensures that e.g. Zeiss Loxia 21mm having LensSpec "E 21mm F2.8"
3663
- # will not be identified as "Sony FE 21mm F2.8 (SEL28F20 + SEL075UWC)".
3664
- $lensSpecPrt and $lens =~ / \Q$lensSpecPrt\E( \(|$)/ and @best = ( $lens ), last;
3665
- # exactly-matching Sony lens should have been found above, so skip
3666
- # any not-exactly-matching Sony lenses
3667
- next if $lens =~ /^Sony /;
3668
- push @best, $lens;
3669
- next;
3670
- }
3671
- # adjust focal length and aperture if teleconverter is attached (Minolta)
3672
- if ($lens =~ / \+ .*? (\d+(\.\d+)?)x( |$)/) {
3673
- $sf *= $1; $lf *= $1;
3674
- $sa *= $1; $la *= $1;
3675
- }
3676
- # see if we can rule out this lens using FocalLength and MaxAperture
3677
- if ($focalLength) {
3678
- next if $focalLength < $sf - 0.5;
3679
- next if $focalLength > $lf + 0.5;
3680
- }
3681
- if ($maxAperture) {
3682
- # it seems that most manufacturers set MaxAperture and MaxApertureValue
3683
- # to the maximum aperture (smallest F number) for the current focal length
3684
- # of the lens, so assume that MaxAperture varies with focal length and find
3685
- # the closest match (this is somewhat contrary to the EXIF specification which
3686
- # states "The smallest F number of the lens", without mention of focal length)
3687
- next if $maxAperture < $sa - 0.15; # (0.15 is arbitrary)
3688
- next if $maxAperture > $la + 0.15;
3689
- # now determine the best match for this aperture
3690
- my $aa; # approximate maximum aperture at this focal length
3691
- if ($sf == $lf or $sa == $la or $focalLength <= $sf) {
3692
- # either 1) prime lens, 2) fixed-aperture zoom, or 3) zoom at min focal
3693
- $aa = $sa;
3694
- } elsif ($focalLength >= $lf) {
3695
- $aa = $la;
3696
- } else {
3697
- # assume a log-log variation of max aperture with focal length
3698
- # (see http://regex.info/blog/2006-10-05/263)
3699
- $aa = exp(log($sa) + (log($la)-log($sa)) / (log($lf)-log($sf)) *
3700
- (log($focalLength)-log($sf)));
3701
- # a linear relationship between 1/FocalLength and 1/MaxAperture fits Sony better (ref 27)
3702
- #$aa = 1 / (1/$sa + (1/$focalLength - 1/$sf) * (1/$la - 1/$sa) / (1/$lf - 1/$sf));
3703
- }
3704
- my $d = abs($maxAperture - $aa);
3705
- if (defined $diff) {
3706
- $d > $diff + 0.15 and next; # (0.15 is arbitrary)
3707
- $d < $diff - 0.15 and undef @best;
3708
- }
3709
- $diff = $d;
3710
- push @best, $lens;
3711
- }
3712
- push @matches, $lens;
3713
- }
3714
- if (@user) {
3715
- # choose the best match if we have more than one
3716
- if (@user > 1) {
3717
- my ($try, @good);
3718
- foreach $try (\@best, \@matches) {
3719
- $Image::ExifTool::userLens{$_} and push @good, $_ foreach @$try;
3720
- return join(' or ', @good) if @good;
3721
- }
3722
- }
3723
- return join(' or ', @user);
3724
- }
3725
- return join(' or ', @best) if @best;
3726
- return join(' or ', @matches) if @matches;
3727
- $lens = $$printConv{$lensType};
3728
- return $lensModel if $lensModel and $lens =~ / or /; # (eg. Sony NEX-5N)
3729
- return $lens;
3730
- }
3731
-
3732
- #------------------------------------------------------------------------------
3733
- # translate date into standard EXIF format
3734
- # Inputs: 0) date
3735
- # Returns: date in format '2003:10:22'
3736
- # - bad formats recognized: '2003-10-22','2003/10/22','2003 10 22','20031022'
3737
- # - removes null terminator if it exists
3738
- sub ExifDate($)
3739
- {
3740
- my $date = shift;
3741
- $date =~ s/\0$//; # remove any null terminator
3742
- # separate year:month:day with colons
3743
- # (have seen many other characters, including nulls, used erroneously)
3744
- $date =~ s/(\d{4})[^\d]*(\d{2})[^\d]*(\d{2})$/$1:$2:$3/;
3745
- return $date;
3746
- }
3747
-
3748
- #------------------------------------------------------------------------------
3749
- # translate time into standard EXIF format
3750
- # Inputs: 0) time
3751
- # Returns: time in format '10:30:55'
3752
- # - bad formats recognized: '10 30 55', '103055', '103055+0500'
3753
- # - removes null terminator if it exists
3754
- # - leaves time zone intact if specified (eg. '10:30:55+05:00')
3755
- sub ExifTime($)
3756
- {
3757
- my $time = shift;
3758
- $time =~ tr/ /:/; # use ':' (not ' ') as a separator
3759
- $time =~ s/\0$//; # remove any null terminator
3760
- # add separators if they don't exist
3761
- $time =~ s/^(\d{2})(\d{2})(\d{2})/$1:$2:$3/;
3762
- $time =~ s/([+-]\d{2})(\d{2})\s*$/$1:$2/; # to timezone too
3763
- return $time;
3764
- }
3765
-
3766
- #------------------------------------------------------------------------------
3767
- # extract image from file
3768
- # Inputs: 0) ExifTool object reference, 1) data offset (in file), 2) data length
3769
- # 3) [optional] tag name
3770
- # Returns: Reference to Image if specifically requested or "Binary data" message
3771
- # Returns undef if there was an error loading the image
3772
- sub ExtractImage($$$$)
3773
- {
3774
- my ($et, $offset, $len, $tag) = @_;
3775
- my $dataPt = \$$et{EXIF_DATA};
3776
- my $dataPos = $$et{EXIF_POS};
3777
- my $image;
3778
-
3779
- # no image if length is zero, and don't try to extract binary from XMP file
3780
- return undef if not $len or $$et{FILE_TYPE} eq 'XMP';
3781
-
3782
- # take data from EXIF block if possible
3783
- if (defined $dataPos and $offset>=$dataPos and $offset+$len<=$dataPos+length($$dataPt)) {
3784
- $image = substr($$dataPt, $offset-$dataPos, $len);
3785
- } else {
3786
- $image = $et->ExtractBinary($offset, $len, $tag);
3787
- return undef unless defined $image;
3788
- # patch for incorrect ThumbnailOffset in some Sony DSLR-A100 ARW images
3789
- if ($tag and $tag eq 'ThumbnailImage' and $$et{TIFF_TYPE} eq 'ARW' and
3790
- $$et{Model} eq 'DSLR-A100' and $offset < 0x10000 and
3791
- $image !~ /^(Binary data|\xff\xd8\xff)/)
3792
- {
3793
- my $try = $et->ExtractBinary($offset + 0x10000, $len, $tag);
3794
- if (defined $try and $try =~ /^\xff\xd8\xff/) {
3795
- $image = $try;
3796
- $$et{VALUE}{ThumbnailOffset} += 0x10000;
3797
- $et->Warn('Adjusted incorrect A100 ThumbnailOffset', 1);
3798
- }
3799
- }
3800
- }
3801
- return $et->ValidateImage(\$image, $tag);
3802
- }
3803
-
3804
- #------------------------------------------------------------------------------
3805
- # Process EXIF directory
3806
- # Inputs: 0) ExifTool object reference
3807
- # 1) Reference to directory information hash
3808
- # 2) Pointer to tag table for this directory
3809
- # Returns: 1 on success, otherwise returns 0 and sets a Warning
3810
- sub ProcessExif($$$)
3811
- {
3812
- my ($et, $dirInfo, $tagTablePtr) = @_;
3813
- my $dataPt = $$dirInfo{DataPt};
3814
- my $dataPos = $$dirInfo{DataPos} || 0;
3815
- my $dataLen = $$dirInfo{DataLen};
3816
- my $dirStart = $$dirInfo{DirStart} || 0;
3817
- my $dirLen = $$dirInfo{DirLen} || $dataLen - $dirStart;
3818
- my $dirName = $$dirInfo{DirName};
3819
- my $base = $$dirInfo{Base} || 0;
3820
- my $firstBase = $base;
3821
- my $raf = $$dirInfo{RAF};
3822
- my $verbose = $et->Options('Verbose');
3823
- my $htmlDump = $$et{HTML_DUMP};
3824
- my $success = 1;
3825
- my ($tagKey, $dirSize, $makerAddr, $strEnc);
3826
- my $inMakerNotes = $$tagTablePtr{GROUPS}{0} eq 'MakerNotes';
3827
-
3828
- # set encoding to assume for strings
3829
- $strEnc = $et->Options('CharsetEXIF') if $$tagTablePtr{GROUPS}{0} eq 'EXIF';
3830
-
3831
- # ignore non-standard EXIF while in strict MWG compatibility mode
3832
- if ($Image::ExifTool::MWG::strict and $dirName eq 'IFD0' and
3833
- $tagTablePtr eq \%Image::ExifTool::Exif::Main and
3834
- $$et{FILE_TYPE} =~ /^(JPEG|TIFF|PSD)$/)
3835
- {
3836
- my $path = $et->MetadataPath();
3837
- unless ($path =~ /^(JPEG-APP1-IFD0|TIFF-IFD0|PSD-EXIFInfo-IFD0)$/) {
3838
- $et->Warn("Ignored non-standard EXIF at $path");
3839
- return 1;
3840
- }
3841
- }
3842
- $verbose = -1 if $htmlDump; # mix htmlDump into verbose so we can test for both at once
3843
- $dirName eq 'EXIF' and $dirName = $$dirInfo{DirName} = 'IFD0';
3844
- $$dirInfo{Multi} = 1 if $dirName =~ /^(IFD0|SubIFD)$/ and not defined $$dirInfo{Multi};
3845
- # get a more descriptive name for MakerNote sub-directories
3846
- my $name = $$dirInfo{Name};
3847
- $name = $dirName unless $name and $inMakerNotes and $name !~ /^MakerNote/;
3848
-
3849
- my ($numEntries, $dirEnd);
3850
- if ($dirStart >= 0 and $dirStart <= $dataLen-2) {
3851
- # make sure data is large enough (patches bug in Olympus subdirectory lengths)
3852
- $numEntries = Get16u($dataPt, $dirStart);
3853
- $dirSize = 2 + 12 * $numEntries;
3854
- $dirEnd = $dirStart + $dirSize;
3855
- if ($dirSize > $dirLen) {
3856
- if ($verbose > 0 and not $$dirInfo{SubIFD}) {
3857
- my $short = $dirSize - $dirLen;
3858
- $$et{INDENT} =~ s/..$//; # keep indent the same
3859
- $et->Warn("Short directory size (missing $short bytes)");
3860
- $$et{INDENT} .= '| ';
3861
- }
3862
- undef $dirSize if $dirEnd > $dataLen; # read from file if necessary
3863
- }
3864
- }
3865
- # read IFD from file if necessary
3866
- unless ($dirSize) {
3867
- $success = 0;
3868
- if ($raf) {
3869
- # read the count of entries in this IFD
3870
- my $offset = $dirStart + $dataPos;
3871
- my ($buff, $buf2);
3872
- if ($raf->Seek($offset + $base, 0) and $raf->Read($buff,2) == 2) {
3873
- my $len = 12 * Get16u(\$buff,0);
3874
- # also read next IFD pointer if available
3875
- if ($raf->Read($buf2, $len+4) >= $len) {
3876
- $buff .= $buf2;
3877
- # make copy of dirInfo since we're going to modify it
3878
- my %newDirInfo = %$dirInfo;
3879
- $dirInfo = \%newDirInfo;
3880
- # update directory parameters for the newly loaded IFD
3881
- $dataPt = $$dirInfo{DataPt} = \$buff;
3882
- $dataPos = $$dirInfo{DataPos} = $offset;
3883
- $dataLen = $$dirInfo{DataLen} = length $buff;
3884
- $dirStart = $$dirInfo{DirStart} = 0;
3885
- $dirLen = $$dirInfo{DirLen} = length $buff;
3886
- $success = 1;
3887
- }
3888
- }
3889
- }
3890
- unless ($success) {
3891
- $et->Warn("Bad $name directory");
3892
- return 0;
3893
- }
3894
- $numEntries = Get16u($dataPt, $dirStart);
3895
- $dirSize = 2 + 12 * $numEntries;
3896
- $dirEnd = $dirStart + $dirSize;
3897
- }
3898
- $verbose > 0 and $et->VerboseDir($dirName, $numEntries);
3899
- my $bytesFromEnd = $dataLen - $dirEnd;
3900
- if ($bytesFromEnd < 4) {
3901
- unless ($bytesFromEnd==2 or $bytesFromEnd==0) {
3902
- $et->Warn("Illegal $name directory size ($numEntries entries)");
3903
- return 0;
3904
- }
3905
- }
3906
- # fix base offset for maker notes if necessary
3907
- if (defined $$dirInfo{MakerNoteAddr}) {
3908
- $makerAddr = $$dirInfo{MakerNoteAddr};
3909
- delete $$dirInfo{MakerNoteAddr};
3910
- if (Image::ExifTool::MakerNotes::FixBase($et, $dirInfo)) {
3911
- $base = $$dirInfo{Base};
3912
- $dataPos = $$dirInfo{DataPos};
3913
- }
3914
- }
3915
- if ($htmlDump) {
3916
- my $longName = $name eq 'MakerNotes' ? ($$dirInfo{Name} || $name) : $name;
3917
- if (defined $makerAddr) {
3918
- my $hdrLen = $dirStart + $dataPos + $base - $makerAddr;
3919
- $et->HDump($makerAddr, $hdrLen, "MakerNotes header", $longName) if $hdrLen > 0;
3920
- }
3921
- unless ($$dirInfo{NoDumpEntryCount}) {
3922
- $et->HDump($dirStart + $dataPos + $base, 2, "$longName entries",
3923
- "Entry count: $numEntries");
3924
- }
3925
- my $tip;
3926
- if ($bytesFromEnd >= 4) {
3927
- my $nxt = ($name =~ /^(.*?)(\d+)$/) ? $1 . ($2 + 1) : 'Next IFD';
3928
- $tip = sprintf("$nxt offset: 0x%.4x", Get32u($dataPt, $dirEnd));
3929
- }
3930
- $et->HDump($dirEnd + $dataPos + $base, 4, "Next IFD", $tip, 0);
3931
- }
3932
-
3933
- # patch for Canon EOS 40D firmware 1.0.4 bug (incorrect directory counts)
3934
- # (must do this before parsing directory or CameraSettings offset will be suspicious)
3935
- if ($inMakerNotes and $$et{Model} eq 'Canon EOS 40D' and $numEntries) {
3936
- my $entry = $dirStart + 2 + 12 * ($numEntries - 1);
3937
- my $fmt = Get16u($dataPt, $entry + 2);
3938
- if ($fmt < 1 or $fmt > 13) {
3939
- $et->HDump($entry+$dataPos+$base,12,"[invalid IFD entry]",
3940
- "Bad format type: $fmt", 1);
3941
- # adjust the number of directory entries
3942
- --$numEntries;
3943
- $dirEnd -= 12;
3944
- }
3945
- }
3946
-
3947
- # loop through all entries in an EXIF directory (IFD)
3948
- my ($index, $valEnd, $offList, $offHash);
3949
- my ($warnCount, $lastID) = (0, -1);
3950
- for ($index=0; $index<$numEntries; ++$index) {
3951
- if ($warnCount > 10) {
3952
- $et->Warn("Too many warnings -- $name parsing aborted", 2) and return 0;
3953
- }
3954
- my $entry = $dirStart + 2 + 12 * $index;
3955
- my $tagID = Get16u($dataPt, $entry);
3956
- my $format = Get16u($dataPt, $entry+2);
3957
- my $count = Get32u($dataPt, $entry+4);
3958
- if ($format < 1 or $format > 13) {
3959
- $et->HDump($entry+$dataPos+$base,12,"[invalid IFD entry]",
3960
- "Bad format type: $format", 1);
3961
- # warn unless the IFD was just padded with zeros
3962
- if ($format) {
3963
- $et->Warn("Bad format ($format) for $name entry $index", $inMakerNotes);
3964
- ++$warnCount;
3965
- }
3966
- # assume corrupted IFD if this is our first entry (except Sony ILCE-7M2 firmware 1.21)
3967
- return 0 unless $index or $$et{Model} eq 'ILCE-7M2';
3968
- next;
3969
- }
3970
- my $formatStr = $formatName[$format]; # get name of this format
3971
- my $valueDataPt = $dataPt;
3972
- my $valueDataPos = $dataPos;
3973
- my $valueDataLen = $dataLen;
3974
- my $valuePtr = $entry + 8; # pointer to value within $$dataPt
3975
- my $tagInfo = $et->GetTagInfo($tagTablePtr, $tagID);
3976
- my ($origFormStr, $bad, $rational);
3977
- # hack to patch incorrect count in Kodak SubIFD3 tags
3978
- if ($count < 2 and ref $$tagTablePtr{$tagID} eq 'HASH' and $$tagTablePtr{$tagID}{FixCount}) {
3979
- $offList or ($offList, $offHash) = GetOffList($dataPt, $dirStart, $dataPos,
3980
- $numEntries, $tagTablePtr);
3981
- my $i = $$offHash{Get32u($dataPt, $valuePtr)};
3982
- if (defined $i and $i < $#$offList) {
3983
- my $oldCount = $count;
3984
- $count = int(($$offList[$i+1] - $$offList[$i]) / $formatSize[$format]);
3985
- $origFormStr = $formatName[$format] . '[' . $oldCount . ']' if $oldCount != $count;
3986
- }
3987
- }
3988
- my $size = $count * $formatSize[$format];
3989
- my $readSize = $size;
3990
- if ($size > 4) {
3991
- if ($size > 0x7fffffff) {
3992
- $et->Warn(sprintf("Invalid size (%u) for %s tag 0x%.4x", $size, $name, $tagID));
3993
- ++$warnCount;
3994
- next;
3995
- }
3996
- $valuePtr = Get32u($dataPt, $valuePtr);
3997
- # fix valuePtr if necessary
3998
- if ($$dirInfo{FixOffsets}) {
3999
- my $wFlag;
4000
- $valEnd or $valEnd = $dataPos + $dirEnd + 4;
4001
- #### eval FixOffsets ($valuePtr, $valEnd, $size, $tagID, $wFlag)
4002
- eval $$dirInfo{FixOffsets};
4003
- }
4004
- my $suspect;
4005
- # offset shouldn't point into TIFF header
4006
- $valuePtr < 8 and not $$dirInfo{ZeroOffsetOK} and $suspect = $warnCount;
4007
- # convert offset to pointer in $$dataPt
4008
- if ($$dirInfo{EntryBased} or (ref $$tagTablePtr{$tagID} eq 'HASH' and
4009
- $$tagTablePtr{$tagID}{EntryBased}))
4010
- {
4011
- $valuePtr += $entry;
4012
- } else {
4013
- $valuePtr -= $dataPos;
4014
- }
4015
- # value shouldn't overlap our directory
4016
- $suspect = $warnCount if $valuePtr < $dirEnd and $valuePtr+$size > $dirStart;
4017
- # load value from file if necessary
4018
- if ($valuePtr < 0 or $valuePtr+$size > $dataLen) {
4019
- # get value by seeking in file if we are allowed
4020
- my $buff;
4021
- if ($raf) {
4022
- # avoid loading large binary data unless necessary
4023
- # (eg. ImageSourceData -- layers in Photoshop TIFF image)
4024
- while ($size > BINARY_DATA_LIMIT) {
4025
- if ($tagInfo) {
4026
- # make large unknown blocks binary data
4027
- $$tagInfo{Binary} = 1 if $$tagInfo{Unknown};
4028
- last unless $$tagInfo{Binary}; # must read non-binary data
4029
- last if $$tagInfo{SubDirectory}; # must read SubDirectory data
4030
- my $lcTag = lc($$tagInfo{Name});
4031
- if ($$et{OPTIONS}{Binary} and
4032
- not $$et{EXCL_TAG_LOOKUP}{$lcTag})
4033
- {
4034
- # read binary data if specified unless tagsFromFile won't use it
4035
- last unless $$et{TAGS_FROM_FILE} and $$tagInfo{Protected};
4036
- }
4037
- # must read if tag is specified by name
4038
- last if $$et{REQ_TAG_LOOKUP}{$lcTag};
4039
- } else {
4040
- # must read value if needed for a condition
4041
- last if defined $tagInfo;
4042
- }
4043
- # (note: changing the value without changing $size will cause
4044
- # a warning in the verbose output, but we need to maintain the
4045
- # proper size for the htmlDump, so we can't change this)
4046
- $buff = "Binary data $size bytes";
4047
- $readSize = length $buff;
4048
- last;
4049
- }
4050
- # read from file if necessary
4051
- unless (defined $buff or
4052
- ($raf->Seek($base + $valuePtr + $dataPos,0) and
4053
- $raf->Read($buff,$size) == $size))
4054
- {
4055
- $et->Warn("Error reading value for $name entry $index", $inMakerNotes);
4056
- return 0 unless $inMakerNotes or $htmlDump;
4057
- ++$warnCount;
4058
- $buff = '' unless defined $buff;
4059
- $readSize = length $buff;
4060
- $bad = 1;
4061
- }
4062
- $valueDataLen = length $buff;
4063
- $valueDataPt = \$buff;
4064
- $valueDataPos = $valuePtr + $dataPos;
4065
- $valuePtr = 0;
4066
- } else {
4067
- my ($tagStr, $tmpInfo, $leicaTrailer);
4068
- if ($tagInfo) {
4069
- $tagStr = $$tagInfo{Name};
4070
- $leicaTrailer = $$tagInfo{LeicaTrailer};
4071
- } elsif (defined $tagInfo) {
4072
- $tmpInfo = $et->GetTagInfo($tagTablePtr, $tagID, \ '', $formatStr, $count);
4073
- if ($tmpInfo) {
4074
- $tagStr = $$tmpInfo{Name};
4075
- $leicaTrailer = $$tmpInfo{LeicaTrailer};
4076
- }
4077
- }
4078
- if ($tagInfo and $$tagInfo{ChangeBase}) {
4079
- # adjust base offset for this tag only
4080
- #### eval ChangeBase ($dirStart,$dataPos)
4081
- my $newBase = eval $$tagInfo{ChangeBase};
4082
- $valuePtr += $newBase;
4083
- }
4084
- $tagStr or $tagStr = sprintf("tag 0x%.4x",$tagID);
4085
- # allow PreviewImage to run outside EXIF data
4086
- if ($tagStr eq 'PreviewImage' and $$et{RAF}) {
4087
- my $pos = $$et{RAF}->Tell();
4088
- $buff = $et->ExtractBinary($base + $valuePtr + $dataPos, $size, 'PreviewImage');
4089
- $$et{RAF}->Seek($pos, 0);
4090
- $valueDataPt = \$buff;
4091
- $valueDataPos = $valuePtr + $dataPos;
4092
- $valueDataLen = $size;
4093
- $valuePtr = 0;
4094
- } elsif ($leicaTrailer and $$et{RAF}) {
4095
- if ($verbose > 0) {
4096
- $et->VPrint(0, "$$et{INDENT}$index) $tagStr --> (outside APP1 segment)\n");
4097
- }
4098
- if ($et->Options('FastScan')) {
4099
- $et->Warn('Ignored Leica MakerNote trailer');
4100
- } else {
4101
- require Image::ExifTool::Fixup;
4102
- $$et{LeicaTrailer} = {
4103
- TagInfo => $tagInfo || $tmpInfo,
4104
- Offset => $base + $valuePtr + $dataPos,
4105
- Size => $size,
4106
- Fixup => new Image::ExifTool::Fixup,
4107
- };
4108
- }
4109
- } else {
4110
- $et->Warn("Bad $name offset for $tagStr");
4111
- ++$warnCount;
4112
- }
4113
- unless (defined $buff) {
4114
- $valueDataPt = '';
4115
- $valueDataPos = $valuePtr + $dataPos;
4116
- $valueDataLen = 0;
4117
- $valuePtr = 0;
4118
- $bad = 1;
4119
- }
4120
- }
4121
- }
4122
- # warn about suspect offsets if they didn't already cause another warning
4123
- if (defined $suspect and $suspect == $warnCount) {
4124
- my $tagStr = $tagInfo ? $$tagInfo{Name} : sprintf('tag 0x%.4x', $tagID);
4125
- if ($et->Warn("Suspicious $name offset for $tagStr", $inMakerNotes)) {
4126
- ++$warnCount;
4127
- next unless $verbose;
4128
- }
4129
- }
4130
- }
4131
- # treat single unknown byte as int8u
4132
- $formatStr = 'int8u' if $format == 7 and $count == 1;
4133
-
4134
- my ($val, $subdir, $wrongFormat);
4135
- if ($tagID > 0xf000 and $tagTablePtr eq \%Image::ExifTool::Exif::Main) {
4136
- my $oldInfo = $$tagTablePtr{$tagID};
4137
- if ((not $oldInfo or (ref $oldInfo eq 'HASH' and $$oldInfo{Condition} and
4138
- not $$oldInfo{PSRaw})) and not $bad)
4139
- {
4140
- # handle special case of Photoshop RAW tags (0xfde8-0xfe58)
4141
- # --> generate tags from the value if possible
4142
- $val = ReadValue($valueDataPt,$valuePtr,$formatStr,$count,$readSize);
4143
- if (defined $val and $val =~ /(.*): (.*)/) {
4144
- my $tag = $1;
4145
- $val = $2;
4146
- $tag =~ s/'s//; # remove 's (so "Owner's Name" becomes "OwnerName")
4147
- $tag =~ tr/a-zA-Z0-9_//cd; # remove unknown characters
4148
- if ($tag) {
4149
- $tagInfo = {
4150
- Name => $tag,
4151
- Condition => '$$self{TIFF_TYPE} ne "DCR"',
4152
- ValueConv => '$_=$val;s/^.*: //;$_', # remove descr
4153
- PSRaw => 1, # (just as flag to avoid adding this again)
4154
- };
4155
- AddTagToTable($tagTablePtr, $tagID, $tagInfo);
4156
- # generate conditional list if a conditional tag already existed
4157
- $$tagTablePtr{$tagID} = [ $oldInfo, $tagInfo ] if $oldInfo;
4158
- }
4159
- }
4160
- }
4161
- }
4162
- if (defined $tagInfo and not $tagInfo) {
4163
- if ($bad) {
4164
- undef $tagInfo;
4165
- } else {
4166
- # GetTagInfo() required the value for a Condition
4167
- my $tmpVal = substr($$valueDataPt, $valuePtr, $readSize < 128 ? $readSize : 128);
4168
- # (use original format name in this call -- $formatStr may have been changed to int8u)
4169
- $tagInfo = $et->GetTagInfo($tagTablePtr, $tagID, \$tmpVal,
4170
- $formatName[$format], $count);
4171
- }
4172
- }
4173
- # make sure we are handling the 'ifd' format properly
4174
- if (($format == 13 or $format == 18) and (not $tagInfo or not $$tagInfo{SubIFD})) {
4175
- my $str = sprintf('%s tag 0x%.4x IFD format not handled', $dirName, $tagID);
4176
- $et->Warn($str, $inMakerNotes);
4177
- }
4178
- if (defined $tagInfo) {
4179
- my $readFormat = $$tagInfo{Format};
4180
- $subdir = $$tagInfo{SubDirectory};
4181
- # unless otherwise specified, all SubDirectory data except
4182
- # EXIF SubIFD offsets should be unformatted
4183
- $readFormat = 'undef' if $subdir and not $$tagInfo{SubIFD} and not $readFormat;
4184
- # override EXIF format if specified
4185
- if ($readFormat) {
4186
- $formatStr = $readFormat;
4187
- my $newNum = $formatNumber{$formatStr};
4188
- if ($newNum and $newNum != $format) {
4189
- $origFormStr = $formatName[$format] . '[' . $count . ']';
4190
- $format = $newNum;
4191
- # adjust number of items for new format size
4192
- $count = int($size / $formatSize[$format]);
4193
- }
4194
- }
4195
- # verify that offset-type values are integral
4196
- if (($$tagInfo{IsOffset} or $$tagInfo{SubIFD}) and not $intFormat{$formatStr}) {
4197
- $et->Warn("Wrong format ($formatStr) for $name $$tagInfo{Name}");
4198
- next unless $verbose;
4199
- $wrongFormat = 1;
4200
- }
4201
- } else {
4202
- next unless $verbose;
4203
- }
4204
- unless ($bad) {
4205
- # limit maximum length of data to reformat
4206
- # (avoids long delays when processing some corrupted files)
4207
- if ($count > 100000 and $formatStr !~ /^(undef|string|binary)$/) {
4208
- my $tagName = $tagInfo ? $$tagInfo{Name} : sprintf('tag 0x%.4x', $tagID);
4209
- if ($tagName ne 'TransferFunction' or $count ne 196608) {
4210
- my $minor = $count > 2000000 ? 0 : 2;
4211
- next if $et->Warn("Ignoring $dirName $tagName with excessive count", $minor);
4212
- }
4213
- }
4214
- # convert according to specified format
4215
- $val = ReadValue($valueDataPt,$valuePtr,$formatStr,$count,$readSize,\$rational);
4216
- # re-code if necessary
4217
- if ($strEnc and $formatStr eq 'string' and defined $val) {
4218
- $val = $et->Decode($val, $strEnc);
4219
- }
4220
- }
4221
-
4222
- if ($verbose) {
4223
- my $tval = $val;
4224
- # also show as a rational
4225
- $tval .= " ($rational)" if defined $rational;
4226
- if ($htmlDump) {
4227
- my ($tagName, $colName);
4228
- if ($tagID == 0x927c and $dirName eq 'ExifIFD') {
4229
- $tagName = 'MakerNotes';
4230
- } elsif ($tagInfo) {
4231
- $tagName = $$tagInfo{Name};
4232
- } else {
4233
- $tagName = sprintf("Tag 0x%.4x",$tagID);
4234
- }
4235
- my $dname = sprintf("${name}-%.2d", $index);
4236
- # build our tool tip
4237
- $size < 0 and $size = $count * $formatSize[$format];
4238
- my $fstr = "$formatName[$format]\[$count]";
4239
- $fstr = "$origFormStr read as $fstr" if $origFormStr and $origFormStr ne $fstr;
4240
- $fstr .= ' <-- WRONG' if $wrongFormat;
4241
- my $tip = sprintf("Tag ID: 0x%.4x\n", $tagID) .
4242
- "Format: $fstr\nSize: $size bytes\n";
4243
- if ($size > 4) {
4244
- my $offPt = Get32u($dataPt,$entry+8);
4245
- my $actPt = $valuePtr + $valueDataPos + $base - ($$et{EXIF_POS} || 0);
4246
- $tip .= sprintf("Value offset: 0x%.4x\n", $offPt);
4247
- # highlight tag name (red for bad size)
4248
- my $style = ($bad or not defined $tval) ? 'V' : 'H';
4249
- if ($actPt != $offPt) {
4250
- $tip .= sprintf("Actual offset: 0x%.4x\n", $actPt);
4251
- my $sign = $actPt < $offPt ? '-' : '';
4252
- $tip .= sprintf("Offset base: ${sign}0x%.4x\n", abs($actPt - $offPt));
4253
- $style = 'F' if $style eq 'H'; # purple for different offsets
4254
- }
4255
- $colName = "<span class=$style>$tagName</span>";
4256
- $colName .= ' <span class=V>(odd)</span>' if $offPt & 0x01;
4257
- } else {
4258
- $colName = $tagName;
4259
- }
4260
- $colName .= ' <span class=V>(err)</span>' if $wrongFormat;
4261
- $colName .= ' <span class=V>(seq)</span>' if $tagID <= $lastID and not $inMakerNotes;
4262
- $lastID = $tagID;
4263
- if (not defined $tval) {
4264
- $tval = '<bad size/offset>';
4265
- } else {
4266
- $tval = substr($tval,0,28) . '[...]' if length($tval) > 32;
4267
- if ($formatStr =~ /^(string|undef|binary)/) {
4268
- # translate non-printable characters
4269
- $tval =~ tr/\x00-\x1f\x7f-\xff/./;
4270
- } elsif ($tagInfo and Image::ExifTool::IsInt($tval)) {
4271
- if ($$tagInfo{IsOffset} or $$tagInfo{SubIFD}) {
4272
- $tval = sprintf('0x%.4x', $tval);
4273
- my $actPt = $val + $base - ($$et{EXIF_POS} || 0);
4274
- if ($actPt != $val) {
4275
- $tval .= sprintf("\nActual offset: 0x%.4x", $actPt);
4276
- my $sign = $actPt < $val ? '-' : '';
4277
- $tval .= sprintf("\nOffset base: ${sign}0x%.4x", abs($actPt - $val));
4278
- }
4279
- } elsif ($$tagInfo{PrintHex}) {
4280
- $tval = sprintf('0x%x', $tval);
4281
- }
4282
- }
4283
- }
4284
- $tip .= "Value: $tval";
4285
- $et->HDump($entry+$dataPos+$base, 12, "$dname $colName", $tip, 1);
4286
- next if $valueDataLen < 0; # don't process bad pointer entry
4287
- if ($size > 4) {
4288
- my $exifDumpPos = $valuePtr + $valueDataPos + $base;
4289
- my $flag = 0;
4290
- if ($subdir) {
4291
- if ($$tagInfo{MakerNotes}) {
4292
- $flag = 0x04;
4293
- } elsif ($$tagInfo{NestedHtmlDump}) {
4294
- $flag = $$tagInfo{NestedHtmlDump} == 2 ? 0x10 : 0x04;
4295
- }
4296
- }
4297
- # add value data block (underlining maker notes data)
4298
- $et->HDump($exifDumpPos,$size,"$tagName value",'SAME', $flag);
4299
- }
4300
- } else {
4301
- if ($tagID <= $lastID and not $inMakerNotes) {
4302
- $et->Warn(sprintf('Tag ID 0x%.4x out of sequence in %s', $tagID, $dirName));
4303
- }
4304
- $lastID = $tagID;
4305
- my $fstr = $formatName[$format];
4306
- $fstr = "$origFormStr read as $fstr" if $origFormStr;
4307
- $et->VerboseInfo($tagID, $tagInfo,
4308
- Table => $tagTablePtr,
4309
- Index => $index,
4310
- Value => $tval,
4311
- DataPt => $valueDataPt,
4312
- DataPos => $valueDataPos + $base,
4313
- Size => $size,
4314
- Start => $valuePtr,
4315
- Format => $fstr,
4316
- Count => $count,
4317
- );
4318
- }
4319
- next if not $tagInfo or $wrongFormat;
4320
- }
4321
- next unless defined $val;
4322
- #..............................................................................
4323
- # Handle SubDirectory tag types
4324
- #
4325
- if ($subdir) {
4326
- # don't process empty subdirectories
4327
- unless ($size) {
4328
- unless ($$tagInfo{MakerNotes} or $inMakerNotes) {
4329
- $et->Warn("Empty $$tagInfo{Name} data", 1);
4330
- }
4331
- next;
4332
- }
4333
- my (@values, $newTagTable, $dirNum, $newByteOrder, $invalid);
4334
- my $tagStr = $$tagInfo{Name};
4335
- if ($$subdir{MaxSubdirs}) {
4336
- @values = split ' ', $val;
4337
- # limit the number of subdirectories we parse
4338
- my $over = @values - $$subdir{MaxSubdirs};
4339
- if ($over > 0) {
4340
- $et->Warn("Ignoring $over $tagStr directories");
4341
- splice @values, $$subdir{MaxSubdirs};
4342
- }
4343
- $val = shift @values;
4344
- }
4345
- if ($$subdir{TagTable}) {
4346
- $newTagTable = GetTagTable($$subdir{TagTable});
4347
- $newTagTable or warn("Unknown tag table $$subdir{TagTable}"), next;
4348
- } else {
4349
- $newTagTable = $tagTablePtr; # use existing table
4350
- }
4351
- # loop through all sub-directories specified by this tag
4352
- for ($dirNum=0; ; ++$dirNum) {
4353
- my $subdirBase = $base;
4354
- my $subdirDataPt = $valueDataPt;
4355
- my $subdirDataPos = $valueDataPos;
4356
- my $subdirDataLen = $valueDataLen;
4357
- my $subdirStart = $valuePtr;
4358
- if (defined $$subdir{Start}) {
4359
- # set local $valuePtr relative to file $base for eval
4360
- my $valuePtr = $subdirStart + $subdirDataPos;
4361
- #### eval Start ($valuePtr, $val)
4362
- my $newStart = eval($$subdir{Start});
4363
- unless (Image::ExifTool::IsInt($newStart)) {
4364
- $et->Warn("Bad value for $tagStr");
4365
- last;
4366
- }
4367
- # convert back to relative to $subdirDataPt
4368
- $newStart -= $subdirDataPos;
4369
- # adjust directory size if necessary
4370
- unless ($$tagInfo{SubIFD} or $$subdir{BadOffset}) {
4371
- $size -= $newStart - $subdirStart;
4372
- }
4373
- $subdirStart = $newStart;
4374
- }
4375
- # this is a pain, but some maker notes are always a specific
4376
- # byte order, regardless of the byte order of the file
4377
- my $oldByteOrder = GetByteOrder();
4378
- $newByteOrder = $$subdir{ByteOrder};
4379
- if ($newByteOrder) {
4380
- if ($newByteOrder =~ /^Little/i) {
4381
- $newByteOrder = 'II';
4382
- } elsif ($newByteOrder =~ /^Big/i) {
4383
- $newByteOrder = 'MM';
4384
- } elsif ($$subdir{OffsetPt}) {
4385
- undef $newByteOrder;
4386
- warn "Can't have variable byte ordering for SubDirectories using OffsetPt";
4387
- last;
4388
- } elsif ($subdirStart + 2 <= $subdirDataLen) {
4389
- # attempt to determine the byte ordering by checking
4390
- # at the number of directory entries. This is an int16u
4391
- # that should be a reasonable value.
4392
- my $num = Get16u($subdirDataPt, $subdirStart);
4393
- if ($num & 0xff00 and ($num>>8) > ($num&0xff)) {
4394
- # This looks wrong, we shouldn't have this many entries
4395
- my %otherOrder = ( II=>'MM', MM=>'II' );
4396
- $newByteOrder = $otherOrder{$oldByteOrder};
4397
- } else {
4398
- $newByteOrder = $oldByteOrder;
4399
- }
4400
- }
4401
- } else {
4402
- $newByteOrder = $oldByteOrder;
4403
- }
4404
- # set base offset if necessary
4405
- if ($$subdir{Base}) {
4406
- # calculate subdirectory start relative to $base for eval
4407
- my $start = $subdirStart + $subdirDataPos;
4408
- #### eval Base ($start,$base)
4409
- $subdirBase = eval($$subdir{Base}) + $base;
4410
- }
4411
- # add offset to the start of the directory if necessary
4412
- if ($$subdir{OffsetPt}) {
4413
- #### eval OffsetPt ($valuePtr)
4414
- my $pos = eval $$subdir{OffsetPt};
4415
- if ($pos + 4 > $subdirDataLen) {
4416
- $et->Warn("Bad $tagStr OffsetPt");
4417
- last;
4418
- }
4419
- SetByteOrder($newByteOrder);
4420
- $subdirStart += Get32u($subdirDataPt, $pos);
4421
- SetByteOrder($oldByteOrder);
4422
- }
4423
- if ($subdirStart < 0 or $subdirStart + 2 > $subdirDataLen) {
4424
- # convert $subdirStart back to a file offset
4425
- if ($raf) {
4426
- # reset SubDirectory buffer (we will load it later)
4427
- my $buff = '';
4428
- $subdirDataPt = \$buff;
4429
- $subdirDataLen = $size = length $buff;
4430
- } else {
4431
- my $msg = "Bad $tagStr SubDirectory start";
4432
- if ($verbose > 0) {
4433
- if ($subdirStart < 0) {
4434
- $msg .= " (directory start $subdirStart is before EXIF start)";
4435
- } else {
4436
- my $end = $subdirStart + $size;
4437
- $msg .= " (directory end is $end but EXIF size is only $subdirDataLen)";
4438
- }
4439
- }
4440
- $et->Warn($msg);
4441
- last;
4442
- }
4443
- }
4444
-
4445
- # must update subdirDataPos if $base changes for this subdirectory
4446
- $subdirDataPos += $base - $subdirBase;
4447
-
4448
- # build information hash for new directory
4449
- my %subdirInfo = (
4450
- Name => $tagStr,
4451
- Base => $subdirBase,
4452
- DataPt => $subdirDataPt,
4453
- DataPos => $subdirDataPos,
4454
- DataLen => $subdirDataLen,
4455
- DirStart => $subdirStart,
4456
- DirLen => $size,
4457
- RAF => $raf,
4458
- Parent => $dirName,
4459
- DirName => $$subdir{DirName},
4460
- FixBase => $$subdir{FixBase},
4461
- FixOffsets => $$subdir{FixOffsets},
4462
- EntryBased => $$subdir{EntryBased},
4463
- TagInfo => $tagInfo,
4464
- SubIFD => $$tagInfo{SubIFD},
4465
- Subdir => $subdir,
4466
- );
4467
- # (remember: some cameras incorrectly write maker notes in IFD0)
4468
- if ($$tagInfo{MakerNotes}) {
4469
- # don't parse makernotes if FastScan > 1
4470
- my $fast = $et->Options('FastScan');
4471
- last if $fast and $fast > 1;
4472
- $subdirInfo{MakerNoteAddr} = $valuePtr + $valueDataPos + $base;
4473
- $subdirInfo{NoFixBase} = 1 if defined $$subdir{Base};
4474
- }
4475
- # set directory IFD name from group name of family 1 if it exists,
4476
- # unless the tag is writable as a block in which case group 1 may
4477
- # have been set automatically
4478
- if ($$tagInfo{Groups} and not $$tagInfo{Writable}) {
4479
- $subdirInfo{DirName} = $$tagInfo{Groups}{1};
4480
- # number multiple subdirectories
4481
- $subdirInfo{DirName} =~ s/\d*$/$dirNum/ if $dirNum;
4482
- }
4483
- SetByteOrder($newByteOrder); # set byte order for this subdir
4484
- # validate the subdirectory if necessary
4485
- my $dirData = $subdirDataPt; # set data pointer to be used in eval
4486
- #### eval Validate ($val, $dirData, $subdirStart, $size)
4487
- my $ok = 0;
4488
- if (defined $$subdir{Validate} and not eval $$subdir{Validate}) {
4489
- $et->Warn("Invalid $tagStr data");
4490
- $invalid = 1;
4491
- } else {
4492
- if (not $subdirInfo{DirName} and $inMakerNotes) {
4493
- $subdirInfo{DirName} = $$tagInfo{Name};
4494
- }
4495
- # process the subdirectory
4496
- $ok = $et->ProcessDirectory(\%subdirInfo, $newTagTable, $$subdir{ProcessProc});
4497
- }
4498
- # print debugging information if there were errors
4499
- if (not $ok and $verbose > 1 and $subdirStart != $valuePtr) {
4500
- my $out = $et->Options('TextOut');
4501
- printf $out "%s (SubDirectory start = 0x%x)\n", $$et{INDENT}, $subdirStart;
4502
- }
4503
- SetByteOrder($oldByteOrder); # restore original byte swapping
4504
-
4505
- @values or last;
4506
- $val = shift @values; # continue with next subdir
4507
- }
4508
- my $doMaker = $et->Options('MakerNotes');
4509
- next unless $doMaker or $$et{REQ_TAG_LOOKUP}{lc($tagStr)} or $$tagInfo{BlockExtract};
4510
- # extract as a block if specified
4511
- if ($$tagInfo{MakerNotes}) {
4512
- # save maker note byte order (if it was significant and valid)
4513
- if ($$subdir{ByteOrder} and not $invalid) {
4514
- $$et{MAKER_NOTE_BYTE_ORDER} =
4515
- defined ($$et{UnknownByteOrder}) ?
4516
- $$et{UnknownByteOrder} : $newByteOrder;
4517
- }
4518
- if ($doMaker and $doMaker eq '2') {
4519
- # extract maker notes without rebuilding (no fixup information)
4520
- delete $$et{MAKER_NOTE_FIXUP};
4521
- } elsif (not $$tagInfo{NotIFD}) {
4522
- # this is a pain, but we must rebuild EXIF-typemaker notes to
4523
- # include all the value data if data was outside the maker notes
4524
- my %makerDirInfo = (
4525
- Name => $tagStr,
4526
- Base => $base,
4527
- DataPt => $valueDataPt,
4528
- DataPos => $valueDataPos,
4529
- DataLen => $valueDataLen,
4530
- DirStart => $valuePtr,
4531
- DirLen => $size,
4532
- RAF => $raf,
4533
- Parent => $dirName,
4534
- DirName => 'MakerNotes',
4535
- FixOffsets => $$subdir{FixOffsets},
4536
- TagInfo => $tagInfo,
4537
- );
4538
- $makerDirInfo{FixBase} = 1 if $$subdir{FixBase};
4539
- # rebuild maker notes (creates $$et{MAKER_NOTE_FIXUP})
4540
- my $val2 = RebuildMakerNotes($et, $newTagTable, \%makerDirInfo);
4541
- if (defined $val2) {
4542
- $val = $val2;
4543
- } elsif ($size > 4) {
4544
- $et->Warn('Error rebuilding maker notes (may be corrupt)');
4545
- }
4546
- }
4547
- } else {
4548
- # extract this directory as a block if specified
4549
- next unless $$tagInfo{Writable};
4550
- }
4551
- }
4552
- #..............................................................................
4553
- # convert to absolute offsets if this tag is an offset
4554
- #### eval IsOffset ($val, $et)
4555
- if ($$tagInfo{IsOffset} and eval $$tagInfo{IsOffset}) {
4556
- my $offsetBase = $$tagInfo{IsOffset} eq '2' ? $firstBase : $base;
4557
- $offsetBase += $$et{BASE};
4558
- # handle offsets which use a wrong base (Minolta A200)
4559
- if ($$tagInfo{WrongBase}) {
4560
- my $self = $et;
4561
- #### eval WrongBase ($self)
4562
- $offsetBase += eval $$tagInfo{WrongBase} || 0;
4563
- }
4564
- my @vals = split(' ',$val);
4565
- foreach $val (@vals) {
4566
- $val += $offsetBase;
4567
- }
4568
- $val = join(' ', @vals);
4569
- }
4570
- # save the value of this tag
4571
- $tagKey = $et->FoundTag($tagInfo, $val);
4572
- if (defined $tagKey) {
4573
- # set the group 1 name for tags in specified tables
4574
- $et->SetGroup($tagKey, $dirName) if $$tagTablePtr{SET_GROUP1};
4575
- # save original components of rational numbers (used when copying)
4576
- $$et{RATIONAL}{$tagKey} = $rational if defined $rational;
4577
- }
4578
- }
4579
-
4580
- # scan for subsequent IFD's if specified
4581
- if ($$dirInfo{Multi} and $bytesFromEnd >= 4) {
4582
- my $offset = Get32u($dataPt, $dirEnd);
4583
- if ($offset) {
4584
- my $subdirStart = $offset - $dataPos;
4585
- # use same directory information for trailing directory,
4586
- # but change the start location (ProcessDirectory will
4587
- # test to make sure we don't reprocess the same dir twice)
4588
- my %newDirInfo = %$dirInfo;
4589
- $newDirInfo{DirStart} = $subdirStart;
4590
- # increment IFD number
4591
- my $ifdNum = $newDirInfo{DirName} =~ s/(\d+)$// ? $1 : 0;
4592
- $newDirInfo{DirName} .= $ifdNum + 1;
4593
- # must validate SubIFD1 because the nextIFD pointer is invalid for some RAW formats
4594
- if ($newDirInfo{DirName} ne 'SubIFD1' or ValidateIFD(\%newDirInfo)) {
4595
- $$et{INDENT} =~ s/..$//; # keep indent the same
4596
- my $cur = pop @{$$et{PATH}};
4597
- $et->ProcessDirectory(\%newDirInfo, $tagTablePtr) or $success = 0;
4598
- push @{$$et{PATH}}, $cur;
4599
- } elsif ($verbose or $$et{TIFF_TYPE} eq 'TIFF') {
4600
- $et->Warn('Ignored bad IFD linked from SubIFD');
4601
- }
4602
- }
4603
- }
4604
- return $success;
4605
- }
4606
-
4607
- 1; # end
4608
-
4609
- __END__
4610
-
4611
- =head1 NAME
4612
-
4613
- Image::ExifTool::Exif - Read EXIF/TIFF meta information
4614
-
4615
- =head1 SYNOPSIS
4616
-
4617
- This module is required by Image::ExifTool.
4618
-
4619
- =head1 DESCRIPTION
4620
-
4621
- This module contains routines required by Image::ExifTool for processing
4622
- EXIF and TIFF meta information.
4623
-
4624
- =head1 AUTHOR
4625
-
4626
- Copyright 2003-2015, Phil Harvey (phil at owl.phy.queensu.ca)
4627
-
4628
- This library is free software; you can redistribute it and/or modify it
4629
- under the same terms as Perl itself.
4630
-
4631
- =head1 REFERENCES
4632
-
4633
- =over 4
4634
-
4635
- =item L<http://www.exif.org/Exif2-2.PDF>
4636
-
4637
- =item L<http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf>
4638
-
4639
- =item L<http://partners.adobe.com/asn/developer/pdfs/tn/TIFF6.pdf>
4640
-
4641
- =item L<http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf>
4642
-
4643
- =item L<http://www.adobe.com/products/dng/pdfs/dng_spec.pdf>
4644
-
4645
- =item L<http://www.awaresystems.be/imaging/tiff/tifftags.html>
4646
-
4647
- =item L<http://www.remotesensing.org/libtiff/TIFFTechNote2.html>
4648
-
4649
- =item L<http://www.exif.org/dcf.PDF>
4650
-
4651
- =item L<http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html>
4652
-
4653
- =item L<http://www.fine-view.com/jp/lab/doc/ps6ffspecsv2.pdf>
4654
-
4655
- =item L<http://www.ozhiker.com/electronics/pjmt/jpeg_info/meta.html>
4656
-
4657
- =item L<http://hul.harvard.edu/jhove/tiff-tags.html>
4658
-
4659
- =item L<http://www.microsoft.com/whdc/xps/wmphoto.mspx>
4660
-
4661
- =item L<http://www.asmail.be/msg0054681802.html>
4662
-
4663
- =item L<http://crousseau.free.fr/imgfmt_raw.htm>
4664
-
4665
- =item L<http://www.cybercom.net/~dcoffin/dcraw/>
4666
-
4667
- =item L<http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml>
4668
-
4669
- =item L<http://community.roxen.com/developers/idocs/rfc/rfc3949.html>
4670
-
4671
- =item L<http://tools.ietf.org/html/draft-ietf-fax-tiff-fx-extension1-01>
4672
-
4673
- =item L<http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/cinemadng/pdfs/CinemaDNG_Format_Specification_v1_1.pdf>
4674
-
4675
- =back
4676
-
4677
- =head1 ACKNOWLEDGEMENTS
4678
-
4679
- Thanks to Jeremy Brown for the 35efl tags, and Matt Madrid for his help with
4680
- the XP character code conversions.
4681
-
4682
- =head1 SEE ALSO
4683
-
4684
- L<Image::ExifTool::TagNames/EXIF Tags>,
4685
- L<Image::ExifTool(3pm)|Image::ExifTool>
4686
-
4687
- =cut