Class: Exif::Tag::Exif::PixelYDimension

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

Overview

0xa003 - PixelYDimension

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, #to_s, #value

Constructor Details

This class inherits a constructor from Exif::Tag::Base

Instance Method Details

#processDataObject



1307
1308
1309
1310
1311
1312
1313
1314
# File 'lib/exifparser/tag.rb', line 1307

def processData
  case self.byte_order
  when :intel
    @formatted = decode_ushort(@data[0,2])
  when :motorola
    @formatted = decode_ushort(@data[2,2])
  end
end