(PECL imagick 2, PECL imagick 3)
Imagick::radialBlurImage — Radial blurs an image
This function has been DEPRECATED as of Imagick 3.4.4. Relying on this function is highly discouraged.
Radial blurs an image.
angle
channel
Restituisce true
in caso di successo.
Example #1 Imagick::radialBlurImage()
<?php
function radialBlurImage($imagePath) {
$imagick = new \Imagick(realpath($imagePath));
//Blur 3 times with different radii
$imagick->radialBlurImage(3);
$imagick->radialBlurImage(5);
$imagick->radialBlurImage(7);
header("Content-Type: image/jpg");
echo $imagick->getImageBlob();
}
?>