Class: Exif::Tag::MakerNote::SpeedlightBias
- Defined in:
- lib/exifparser/makernote/nikon2.rb
Overview
0x0012 - Speedlight Bias
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
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/exifparser/makernote/nikon2.rb', line 165 def to_s case @formatted when [0xfc, 0x01, 0x06, 0x00] "-2/3EV" when [0xfd, 0x01, 0x06, 0x00] "-1/2EV" when [0xfe, 0x01, 0x06, 0x00] "-1/3EV" when [0x00, 0x01, 0x06, 0x00] "+0EV" when [0x02, 0x01, 0x06, 0x00] "+1/3EV" when [0x03, 0x01, 0x06, 0x00] "+1/2EV" when [0x04, 0x01, 0x06, 0x00] "+2/3EV" else "" end end |