You are here

public function ImagemagickExecManagerInterface::execute in ImageMagick 8.2

Same name and namespace in other branches
  1. 8.3 src/ImagemagickExecManagerInterface.php \Drupal\imagemagick\ImagemagickExecManagerInterface::execute()

Executes the convert executable as shell command.

Parameters

string $command: The executable to run.

\Drupal\imagemagick\ImagemagickExecArguments $arguments: An ImageMagick execution arguments object.

string &$output: (optional) A variable to assign the shell stdout to, passed by reference.

string &$error: (optional) A variable to assign the shell stderr to, passed by reference.

string $path: (optional) A custom file path to the executable binary.

Return value

bool TRUE if the command succeeded, FALSE otherwise. The error exit status code integer returned by the executable is logged.

1 method overrides ImagemagickExecManagerInterface::execute()
ImagemagickExecManager::execute in src/ImagemagickExecManager.php
Executes the convert executable as shell command.

File

src/ImagemagickExecManagerInterface.php, line 70

Class

ImagemagickExecManagerInterface
Provides an interface for ImageMagick execution managers.

Namespace

Drupal\imagemagick

Code

public function execute($command, ImagemagickExecArguments $arguments, &$output = NULL, &$error = NULL, $path = NULL);