You are here

public function ImagemagickToolkit::setFrames in ImageMagick 8

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

Sets the source image number of frames.

Parameters

integer|null $frames: The number of frames of the image.

Return value

$this

1 call to ImagemagickToolkit::setFrames()
ImagemagickToolkit::parseFileViaIdentify in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Parses the image file using the 'identify' executable.

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function setFrames($frames) {
  $this->frames = $frames;
  return $this;
}