You are here

public function ImagemagickToolkit::setDestination in ImageMagick 8

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

Sets the image destination URI/path on saving.

Parameters

string $destination: The image destination URI/path.

Return value

$this

1 call to ImagemagickToolkit::setDestination()
ImagemagickToolkit::save in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Writes an image resource to a destination file.

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function setDestination($destination) {
  $this->destination = $destination;
  return $this;
}