class Exif::Tag::TIFF::Orientation

0x0112 - Orientation

0x0112 - Orientation

Public Instance Methods

to_s() click to toggle source
# 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