Class: Exif::Tag::MakerNote::SonyZoneMatching

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

Overview

0xb024 - Zone Matching

Constant Summary collapse

ZoneMatching =
{
  0 => "ISO Setting Used",
  1 => "High Key",
  2 => "Low Key"
}

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



322
323
324
# File 'lib/exifparser/makernote/sony.rb', line 322

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