You are here

function image_imagick_spread in Imagick 7

Adds spread to an image

Parameters

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

$radius: The radius of spread effect.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.spread.inc, line 13

Code

function image_imagick_spread(stdClass $image, $radius) {
  return $image->resource
    ->spreadImage($radius);
}