Module: Exif::Tag::Format
- Defined in:
- lib/exifparser/tag.rb
Overview
maps number to size of one unit and the corresponding formatter (defined below) module.
Constant Summary collapse
- Unit =
{ 1 => [1, ::Exif::Tag::Formatter::UByte], 2 => [1, ::Exif::Tag::Formatter::Ascii], 3 => [2, ::Exif::Tag::Formatter::UShort], 4 => [4, ::Exif::Tag::Formatter::ULong], 5 => [8, ::Exif::Tag::Formatter::URational], #6 => [1, ::Exif::Tag::Formatter::SByte], 7 => [1, ::Exif::Tag::Formatter::Undefined], 8 => [2, ::Exif::Tag::Formatter::SShort], 9 => [4, ::Exif::Tag::Formatter::SLong], 10 => [8, ::Exif::Tag::Formatter::SRational], #11 => [4, Exif::Formatter::SFloat], #12 => [8, Exif::Formatter::DFloat] }