Class: Exif::Tag::MakerNote::SonyColorCompensationFilter

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

Overview

0xb022 - Color Compensation Filter

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



276
277
278
279
280
281
282
283
284
# File 'lib/exifparser/makernote/sony.rb', line 276

def to_s
  if @formatted < 0
    @formatted.to_s +  " (Green)"
  elsif @formatted > 0
    @formatted.to_s +  " (Magenta)"
  else
    @formatted.to_s
  end
end