Class: Exif::Tag::TIFF::YCbCrPositioning

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

Overview

0x0213 - YCbCrPositioning

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



579
580
581
582
583
584
585
586
587
588
# File 'lib/exifparser/tag.rb', line 579

def to_s
  case @formatted
  when 1
    'centered'
  when 2
    'co-sited'
  else
    'unknown'
  end
end