You are here

public function ImagickToolkit::getResource in Imagick 8

Retrieves the Imagick image resource.

Return value

Imagick|resource|null The Imagick image resource, or NULL if not available.

5 calls to ImagickToolkit::getResource()
ImagickToolkit::getHeight in src/Plugin/ImageToolkit/ImagickToolkit.php
Returns the height of the image.
ImagickToolkit::getMimeType in src/Plugin/ImageToolkit/ImagickToolkit.php
Returns the MIME type of the image file.
ImagickToolkit::getWidth in src/Plugin/ImageToolkit/ImagickToolkit.php
Returns the width of the image.
ImagickToolkit::save in src/Plugin/ImageToolkit/ImagickToolkit.php
Writes an image resource to a destination file.
ImagickToolkit::__destruct in src/Plugin/ImageToolkit/ImagickToolkit.php
Destructs a Imagick object.

File

src/Plugin/ImageToolkit/ImagickToolkit.php, line 119

Class

ImagickToolkit
Defines the Imagick toolkit for image manipulation within Drupal.

Namespace

Drupal\imagick\Plugin\ImageToolkit

Code

public function getResource() {
  return $this->resource;
}