Class: Exif::Tag::MakerNote::Tone

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

Overview

0x1004 - Tone

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



113
114
115
116
117
118
119
120
121
122
123
124
# File 'lib/exifparser/makernote/fujifilm.rb', line 113

def to_s
  case @formatted
  when 0
    'Normal(STD)'
  when 256
    'High(HARD)'
  when 512
    'Low(ORG)'
  else
    'Unknown'
  end
end