You are here

public function ImagemagickToolkit::getFrames in ImageMagick 8.3

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

Gets the source image number of frames.

Return value

int The number of frames of the image.

1 call to ImagemagickToolkit::getFrames()
ImagemagickToolkit::convert in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Calls the convert executable with the specified arguments.

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

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