You are here

protected function ImagemagickIdentify::doGetMetadataFromFile in ImageMagick 8.3

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

File

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

Class

ImagemagickIdentify
FileMetadata plugin for ImageMagick's identify results.

Namespace

Drupal\imagemagick\Plugin\FileMetadata

Code

protected function doGetMetadataFromFile() {
  $data = $this
    ->identify();
  return !empty($data) ? $data : NULL;
}