Class: Exif::Tag::MakerNote::Sharpness

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

Overview

0x1001 - Sharpness

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



43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/exifparser/makernote/fujifilm.rb', line 43

def to_s
  case @formatted
  when 1,2
    'Weak'
  when 3
    'Standard'
  when 4
    'Strong'
  else
    'Unknown'
  end
end