Class: Exif::Tag::MakerNote::WhiteBalance
- Defined in:
- lib/exifparser/makernote/nikon.rb
Overview
0x0007 - WhiteBalance
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
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'lib/exifparser/makernote/nikon.rb', line 126 def to_s case @formatted when 0 'Auto' when 1 'Preset' when 2 'Daylight' when 3 'Incandescense' when 4 'Fluorescence' when 5 'Cloudy' when 6 'SpeedLight' else "Unknown(#{@formatted})" end end |