Class: Exif::Tag::Exif::WhiteBalance

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

Overview

0xa403 - WhiteBalance

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



1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
# File 'lib/exifparser/tag.rb', line 1491

def to_s
  case @formatted
  when 0
    'Auto white balance'
  when 1
    'Manual white balance'
  else
    'reserved'
  end
end