Class: Exif::Tag::MakerNote::SonySceneMode

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

Overview

0xb023 - Scene Mode

Constant Summary collapse

SceneMode =
{
   0  => "Standard",
   1  => "Portrait",
   2  => "Text",
   3  => "Night Scene",
   4  => "Sunset",
   5  => "Sports",
   6  => "Landscape",
   7  => "Night Portrait",
   8  => "Macro",
   9  => "Super Macro",
   16 => "Auto",
   17 => "Night View/Portrait"
}

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



307
308
309
# File 'lib/exifparser/makernote/sony.rb', line 307

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