Class: Exif::Tag::MakerNote::SonyWhiteBalance2

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

Overview

0xb054 - WhiteBalance (New)

Constant Summary collapse

WhiteBalance2 =
{
  0  => "Auto",
  4  => "Manual",
  5  => "Daylight",
  6  => "Cloudy",
  7  => "White Flourescent",
  8  => "Cool White Flourescent",
  9  => "Day White Flourescent",
  14 => "Incandescent",
  15 => "Flash",
  17 => "Underwater 1 (Blue Water)",
  18 => "Underwater 2 (Green Water)"
}

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



676
677
678
# File 'lib/exifparser/makernote/sony.rb', line 676

def to_s
  WhiteBalance2.has_key?(@formatted) ?  WhiteBalance2[@formatted] : @formatted.to_s + " (Unknown)"
end