You are here

public function ImagemagickToolkit::getSource in ImageMagick 8.2

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

Gets the source path of the image file.

Return value

string The source path of the image file, or an empty string if the source is not set.

Overrides ImageToolkitBase::getSource

4 calls to ImagemagickToolkit::getSource()
ImagemagickToolkit::ensureSourceLocalPath in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Ensures that the local filesystem path to the image file exists.
ImagemagickToolkit::getExifOrientation in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Gets the source EXIF orientation.
ImagemagickToolkit::parseFileViaGetImageSize in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Parses the image file using the file metadata 'getimagesize' plugin.
ImagemagickToolkit::parseFileViaIdentify in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Parses the image file using the 'identify' executable.

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function getSource() {
  return $this
    ->arguments()
    ->getSource();
}