class Exif::Tag::Exif::ExposureProgram

0x8822 - ExposureProgram

Public Instance Methods

to_s() click to toggle source
# File lib/exifparser/tag.rb, line 829
def to_s
  case @formatted
  when 0
    "Not defined"
  when 1
    "Manual"
  when 2
    "Normal program"
  when 3
    "Aperture priority"
  when 4
    "Shutter priority"
  when 5
    "Creative program (biased toward depth of field)"
  when 6
    "Action program (biased toward fast shutter speed)"
  when 7
    "Portrait mode (for closeup photos with the background out of focus)"
  when 8
    "Landscape mode (for landscape photos with the background in focus)"
  else
    "Unknown"
  end
end