Class: Exif::Tag::MakerNote::SonyExposureMode

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

Overview

0xb041 - Exposure Mode

Constant Summary collapse

ExposureMode =
{
  0  => "Auto",
  1  => "Portrait",
  2  => "Beach",
  4  => "Snow",
  5  => "Landscape ",
  6  => "Program",
  7  => "Aperture priority",
  8  => "Shutter priority",
  9  => "Night Scene / Twilight",
  10 => "Hi-Speed Shutter",
  11 => "Twilight Portrait",
  12 => "Soft Snap",
  13 => "Fireworks",
  14 => "Smile Shutter",
  15 => "Manual",
  18 => "High Sensitivity",
  20 => "Advanced Sports Shooting",
  29 => "Underwater",
  33 => "Gourmet",
  34 => "Panorama",
  35 => "Handheld Twilight",
  36 => "Anti Motion Blur",
  37 => "Pet",
  38 => "Backlight Correction HDR"
}

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



480
481
482
# File 'lib/exifparser/makernote/sony.rb', line 480

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