class Exif::Tag::MakerNote::SpeedlightBias

0x0012 - Speedlight Bias

Public Instance Methods

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