class Exif::Tag::Exif::MeteringMode

0x9207 - MeteringMode

Public Instance Methods

to_s() click to toggle source
# File lib/exifparser/tag.rb, line 1012
def to_s
  case @formatted
  when 1
    'Average'
  when 2
    'CenterWeightedAverage'
  when 3
    'Spot'
  when 4
    'MultiSpot'
  when 5
    'Pattern'
  when 6
    'Partial'
  when 255
    'other'
  else
    'Unknown'
  end
end