Class: Exif::Tag::TIFF::BitsPerSample

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

Overview

0x0102 - BitsPerSample

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

Constructor Details

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

Instance Method Details

#processDataObject



392
393
394
395
396
397
# File 'lib/exifparser/tag.rb', line 392

def processData
  @formatted = []
  partition_data(@count) do |data|
    @formatted.push _formatData(data)
  end
end

#to_sObject



399
400
401
# File 'lib/exifparser/tag.rb', line 399

def to_s
  @formatted.join(",")
end