You are here

public function ImagemagickIdentify::getSupportedKeys in ImageMagick 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/FileMetadata/ImagemagickIdentify.php \Drupal\imagemagick\Plugin\FileMetadata\ImagemagickIdentify::getSupportedKeys()

Supported keys are: 'format' - ImageMagick's image format identifier. 'width' - Image width. 'height' - Image height. 'colorspace' - Image colorspace. 'profiles' - Image profiles. 'exif_orientation' - Image EXIF orientation (only supported formats). 'source_local_path' - The local file path from where the file was parsed. 'frames_count' - Number of frames in the image.

1 call to ImagemagickIdentify::getSupportedKeys()
ImagemagickIdentify::validateKey in src/Plugin/FileMetadata/ImagemagickIdentify.php
Validates a file metadata key.

File

src/Plugin/FileMetadata/ImagemagickIdentify.php, line 111

Class

ImagemagickIdentify
FileMetadata plugin for ImageMagick's identify results.

Namespace

Drupal\imagemagick\Plugin\FileMetadata

Code

public function getSupportedKeys($options = NULL) {
  return [
    'format',
    'width',
    'height',
    'colorspace',
    'profiles',
    'exif_orientation',
    'source_local_path',
    'frames_count',
  ];
}