class Exif::Tag::Exif::ComponentsConfiguration

0x9101 - ComponentsConfiguration

Public Instance Methods

_format0(data) click to toggle source
# File lib/exifparser/tag.rb, line 920
def _format0(data)
  data.unpack("C*").collect{|e| e.to_i}
end
to_s() click to toggle source
# File lib/exifparser/tag.rb, line 924
def to_s
  case @formatted
  when [0x04,0x05,0x06,0x00]
    'RGB'
  when [0x01,0x02,0x03,0x00]
    'YCbCr'
  end
end