Class: Exif::Tag::MakerNote::SonyFileFormat
- Defined in:
- lib/exifparser/makernote/sony.rb
Overview
0xb000 - File Format
Constant Summary collapse
- FileFormat =
{ [0, 0, 0, 2] => "JPEG", [1, 0, 0, 0] => "SR2", [2, 0, 0, 0] => "ARW 1.0", [3, 0, 0, 0] => "ARW 2.0", [3, 1, 0, 0] => "ARW 2.1", [3, 2, 0, 0] => "ARW 2.2", [3, 3, 0, 0] => "ARW 2.3" }
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
220 221 222 |
# File 'lib/exifparser/makernote/sony.rb', line 220 def to_s FileFormat.has_key?(@formatted) ? FileFormat[@formatted] : @formatted.to_s + " (Unknown)" end |