You are here

function image_imagick_emboss in Imagick 7

Embosses an image

Parameters

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

$radius: The radius of the emboss effect.

$sigma: The sigma of the emboss effect.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.emboss.inc, line 15

Code

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