Class: Exif::Tag::MakerNote::FlashMode

Inherits:
Base
  • Object
show all
Defined in:
lib/exifparser/makernote/fujifilm.rb

Overview

0x1010 - FlashMode

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_sObject



133
134
135
136
137
138
139
140
141
142
143
144
145
146
# File 'lib/exifparser/makernote/fujifilm.rb', line 133

def to_s
  case @formatted
  when 0
    'Auto'
  when 1
    'On'
  when 2
    'Off'
  when 3
    'Red-eye reduction'
  else
    'Unknown'
  end
end