Class: Exif::Tag::MakerNote::ImageAdjustment

Inherits:
Base
  • Object
show all
Defined in:
lib/exifparser/makernote/nikon.rb,
lib/exifparser/makernote/nikon2.rb

Overview

0x0080 - ImageAdjustment

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



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/exifparser/makernote/nikon.rb', line 80

def to_s
  case @formatted
  when 0
    'Normal'
  when 1
    'Bright+'
  when 2
    'Bright-'
  when 3
    'Contrast+'
  when 4
    'Contrast-'
  else
    'Unknown'
  end
end