function image_imagick_vignette in Imagick 7
Adds vignette to an image
Parameters
$image: An image object. The $image->resource value will be modified by this call.
$blackpoint: The blackpoint of the shadow.
$whitepoint: The whitepoint of the shadow.
$x: The angle of the shadow.
$y: The angle of the shadow.
Return value
TRUE or FALSE, based on success.
File
- effects/
imagick.vignette.inc, line 19
Code
function image_imagick_vignette(stdClass $image, $blackpoint, $whitepoint, $x, $y) {
return $image->resource
->vignetteImage($blackpoint, $whitepoint, $x, $y);
}