You are here

function image_imagick_modulate in Imagick 7

Modulates the image

Parameters

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

$type: The type of noise.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.modulate.inc, line 13

Code

function image_imagick_modulate(stdClass $image, $brightness, $saturation, $hue) {
  return $image->resource
    ->modulateImage($brightness, $saturation, $hue);
}