Class: Exif::Tag::MakerNote::SonyAutoHDR

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

Overview

0x200a - High Definition Range Mode

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



177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'lib/exifparser/makernote/sony.rb', line 177

def to_s
  case @formatted
  when 0x00000
    "Off"
  when 0x10001
    "Auto"
  when 0x10010
    "1"
  when 0x10012
    "2"
  when 0x10014
    "3"
  when 0x10016
    "4"
  when 0x10018
    "5"
  else
    "Unknown"
  end
end