Class: Exif::Tag::MakerNote::PictureMode
- Defined in:
- lib/exifparser/makernote/fujifilm.rb
Overview
0x1031 - PictureMode
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
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'lib/exifparser/makernote/fujifilm.rb', line 215 def to_s case @formatted when 0 'Auto' when 1 'Portrait scene' when 2 'Landscape scene' when 4 'Sports scene' when 5 'Night scene' when 6 'Program Auto Exposure' when 256 'Aperture prior Auto Exposure' when 512 'Shutter prior Auto Exposure' when 768 'Manual exposure' else 'Unknown' end end |