Class: ImageVoodoo::ExifThumbnailDirectory

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

Overview

GENERATED

Constant Summary collapse

TAGS =
{
  'Thumbnail Image Width' => ['TAG_THUMBNAIL_IMAGE_WIDTH', :get_long],
  'Thumbnail Image Height' => ['TAG_THUMBNAIL_IMAGE_HEIGHT', :get_long],
  'Bits Per Sample' => ['TAG_BITS_PER_SAMPLE', :get_string],
  'Thumbnail Compression' => ['TAG_THUMBNAIL_COMPRESSION', :get_string],
  'Photometric Interpretation' => ['TAG_PHOTOMETRIC_INTERPRETATION', :get_string],
  'Strip Offsets' => ['TAG_STRIP_OFFSETS', :get_string],
  'Orientation' => ['TAG_ORIENTATION', :get_string],
  'Samples Per Pixel' => ['TAG_SAMPLES_PER_PIXEL', :get_string],
  'Rows Per Strip' => ['TAG_ROWS_PER_STRIP', :get_string],
  'Strip Byte Counts' => ['TAG_STRIP_BYTE_COUNTS', :get_string],
  'X Resolution' => ['TAG_X_RESOLUTION', :get_long],
  'Y Resolution' => ['TAG_Y_RESOLUTION', :get_long],
  'Planar Configuration' => ['TAG_PLANAR_CONFIGURATION', :get_string],
  'Resolution Unit' => ['TAG_RESOLUTION_UNIT', :get_string],
  'Thumbnail Offset' => ['TAG_THUMBNAIL_OFFSET', :get_long],
  'Thumbnail Length' => ['TAG_THUMBNAIL_LENGTH', :get_long],
  'Ycbcr Coefficients' => ['TAG_YCBCR_COEFFICIENTS', :get_rational_array],
  'Ycbcr Subsampling' => ['TAG_YCBCR_SUBSAMPLING', :get_int_array],
  'Ycbcr Positioning' => ['TAG_YCBCR_POSITIONING', :get_int],
  'Reference Black White' => ['TAG_REFERENCE_BLACK_WHITE', :get_rational_array]
}.freeze

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



313
314
315
# File 'lib/image_voodoo/metadata.rb', line 313

def self.directory_class
  com.drew..exif.ExifThumbnailDirectory
end