Class: Exif::Tag::MakerNote::Color

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

Overview

0x1003 - Color

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



93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/exifparser/makernote/fujifilm.rb', line 93

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