You are here

public function ImagemagickToolkit::getDestinationFormat in ImageMagick 8

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

Gets the image destination format.

When set, it is passed to the convert binary in the syntax "[format]:[destination]", where [format] is a string denoting an ImageMagick's image format.

Return value

string The image destination format.

1 call to ImagemagickToolkit::getDestinationFormat()
ImagemagickToolkit::imagemagickExec in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Executes the convert executable as shell command.

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function getDestinationFormat() {
  return $this->destinationFormat;
}