class Exif::Tag::MakerNote::ExposureDifference

0x000e - ExposureDifference

Public Instance Methods

to_s() click to toggle source
# File lib/exifparser/makernote/nikon2.rb, line 125
def to_s
  case @formatted
  when [0xf7, 0x01, 0x0c, 0x00]
    "-2/3EV"
  when [0xf9, 0x01, 0x0c, 0x00]
    "-1/2EV"
  when [0xfc, 0x01, 0x0c, 0x00]
    "-1/3EV"
  when [0x00, 0x01, 0x0c, 0x00]
    "+0EV"
  when [0x04, 0x01, 0x0c, 0x00]
    "+1/3EV"
  when [0x06, 0x01, 0x0c, 0x00]
    "+1/2EV"
  when [0x08, 0x01, 0x0c, 0x00]
    "+2/3EV"
  else
    ""
  end
end