public function ImagemagickExecArguments::setDestinationFormat in ImageMagick 8.2
Same name and namespace in other branches
- 8.3 src/ImagemagickExecArguments.php \Drupal\imagemagick\ImagemagickExecArguments::setDestinationFormat()
Sets 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.
Parameters
string $format: The image destination format.
Return value
$this
File
- src/
ImagemagickExecArguments.php, line 564
Class
- ImagemagickExecArguments
- Stores arguments for execution of ImageMagick/GraphicsMagick commands.
Namespace
Drupal\imagemagickCode
public function setDestinationFormat($format) {
$this->destinationFormat = $format;
return $this;
}