You are here

function image_imagick_swirl in Imagick 7

Swirls an image

Parameters

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

$degrees: The amplitude of the wave effect.

Return value

TRUE or FALSE, based on success.

File

effects/imagick.swirl.inc, line 13

Code

function image_imagick_swirl(stdClass $image, $degrees) {
  return $image->resource
    ->swirlImage($degrees);
}