Class: Exif::Tag::MakerNote::ColorMode
- Defined in:
- lib/exifparser/makernote/nikon.rb,
lib/exifparser/makernote/nikon2.rb
Overview
0x0003 - ColorMode
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_s ⇒ Object
62 63 64 65 66 67 68 69 70 71 |
# File 'lib/exifparser/makernote/nikon.rb', line 62 def to_s case @formatted when 1 'Color' when 2 'Monochrome' else 'Unknown' end end |