Class: ImageVoodoo::BmpHeaderDirectory

Inherits:
Directory
  • Object
show all
Defined in:
lib/image_voodoo/metadata.rb

Constant Summary collapse

TAGS =
{
  'Header Size' => ['TAG_HEADER_SIZE', :get_string],
  'Image Height' => ['TAG_IMAGE_HEIGHT', :get_long],
  'Image Width' => ['TAG_IMAGE_WIDTH', :get_long],
  'Colour Planes' => ['TAG_COLOUR_PLANES', :get_string],
  'Bits Per Pixel' => ['TAG_BITS_PER_PIXEL', :get_string],
  'Compression' => ['TAG_COMPRESSION', :get_int],
  'X Pixels Per Meter' => ['TAG_X_PIXELS_PER_METER', :get_string],
  'Y Pixels Per Meter' => ['TAG_Y_PIXELS_PER_METER', :get_string],
  'Palette Colour Count' => ['TAG_PALETTE_COLOUR_COUNT', :get_string],
  'Important Colour Count' => ['TAG_IMPORTANT_COLOUR_COUNT', :get_string],
}

Class Method Summary collapse

Methods inherited from Directory

#[], #exists?, #initialize

Constructor Details

This class inherits a constructor from ImageVoodoo::Directory

Class Method Details

.directory_classObject



92
93
94
# File 'lib/image_voodoo/metadata.rb', line 92

def self.directory_class
  com.drew..bmp.BmpHeaderDirectory
end