You are here

function image_imagick_inverse in Imagick 7

Converts the image to a negative form

Parameters

$image: An image object. The $image->resource value will be modified by this call.

$data: Array of data passed through by the form.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.inverse.inc, line 13

Code

function image_imagick_inverse(stdClass $image, $data = array()) {
  return $image->resource
    ->negateImage(FALSE);
}