Class: Exif::Tag::Exif::CompressedBitsPerPixel

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

Overview

0x9102 - CompressedBitsPerPixel

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



940
941
942
# File 'lib/exifparser/tag.rb', line 940

def to_s
  "%.1fbits/pixel"%[@formatted.to_f]
end