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

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

Overview

0xa40a - 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



1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
# File 'lib/exifparser/tag.rb', line 1605

def to_s
  case @formatted
  when 0
    'Normal'
  when 1
    'Soft'
  when 2
    'Hard'
  else
    'reserved'
  end
end