You are here

function image_imagick_sketch in Imagick 7

Makes a sketch from an image

Parameters

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

$radius: The radius of the sketch.

$sigma: The sigma of the sketch.

$angle: The angle of the sketch.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.sketch.inc, line 17

Code

function image_imagick_sketch(stdClass $image, $radius, $sigma, $angle) {
  return $image->resource
    ->sketchImage($radius, $sigma, $angle);
}