You are here

function image_imagick_charcoal in Imagick 7

Charcoals an image

Parameters

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

$radius: The radius of the charcoal effect.

$sigma: The sigma of the charcoal effect.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.charcoal.inc, line 15

Code

function image_imagick_charcoal(stdClass $image, $radius, $sigma) {
  return $image->resource
    ->charcoalImage($radius, $sigma);
}