You are here

function image_imagick_edge in Imagick 7

Adds edge to an image

Parameters

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

$radius: The radius of edge effect.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.edge.inc, line 13

Code

function image_imagick_edge(stdClass $image, $radius) {
  return $image->resource
    ->edgeImage($radius);
}