You are here

function image_imagick_oilpaint in Imagick 7

Creates an oil painted image

Parameters

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

$radius: The threshold of the oilpaint effect.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.oilpaint.inc, line 13

Code

function image_imagick_oilpaint(stdClass $image, $radius) {
  return $image->resource
    ->oilPaintImage($radius);
}