Class: Exif::Tag::TIFF::Orientation
- Defined in:
- lib/exifparser/tag.rb,
lib/exifparser/tag.rb
Overview
0x0112 - Orientation
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
621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 |
# File 'lib/exifparser/tag.rb', line 621 def to_s case @formatted when 1 "top - left" when 2 "top - right" when 3 "bottom - right" when 4 "bottom - left" when 5 "left - top" when 6 "right - top" when 7 "right - bottom" when 8 "left - bottom" else "unknown" end end |