Class: Exif::Tag::Exif::ExposureProgram
- Defined in:
- lib/exifparser/tag.rb
Overview
0x8822 - ExposureProgram
Instance Attribute Summary
Attributes inherited from Base
#IFD, #count, #data, #dataPos, #pos, #tagID
Instance Method Summary collapse
Methods inherited from Base
#formatExposureTime, #formatFNumber, #formatFocalLength, #formatLatLon, #initialize, #inspect, #name, #processData, #value
Constructor Details
This class inherits a constructor from Exif::Tag::Base
Instance Method Details
#to_s ⇒ Object
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 |
# 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 |