Class: Exif::Tag::MakerNote::CameraSerialNumber
- Defined in:
- lib/exifparser/makernote/canon.rb
Overview
0x000c - CameraSerialNumber
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
398 399 400 401 402 |
# File 'lib/exifparser/makernote/canon.rb', line 398 def to_s hi = @formatted / 0x10000 low = @formatted % 0x10000 "%04X%05d"%[hi, low] end |