Class: Exif::Tag::MakerNote::SonyDynamicRangeOptimizer

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

Overview

0xb025 - Dynamic Range Optimizer

Constant Summary collapse

DRangeOptimizer =
{
  0  => "Off",
  1  => "Standard",
  2  => "Advanced Auto",
  3  => "Auto",
  8  => "Advanced Lv1",
  9  => "Advanced Lv2",
  10 => "Advanced Lv3",
  11 => "Advanced Lv4",
  12 => "Advanced Lv5",
  16 => "1",
  17 => "2",
  18 => "3",
  19 => "4",
  20 => "5"
}

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



348
349
350
# File 'lib/exifparser/makernote/sony.rb', line 348

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