You are here

public function ImagemagickToolkit::getSourceFormat in ImageMagick 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::getSourceFormat()

Gets the source image format.

Return value

string The source image format.

1 call to ImagemagickToolkit::getSourceFormat()
ImagemagickToolkit::getMimeType in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Returns the MIME type of the image file.

File

src/Plugin/ImageToolkit/ImagemagickToolkit.php, line 574

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function getSourceFormat() {
  return $this->sourceFormat;
}