Class: Exif::Tag::MakerNote::JpegQual

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

Overview

0x0201 - JpegQual

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



74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/exifparser/makernote/olympus.rb', line 74

def to_s
  case @formatted
  when 1
    "Standard Quality"
  when 2
    "High Quality"
  when 3
    "Super High Quality"
  else
    "Unknown"
  end
end