Imagick::radialBlurImage

(PECL imagick 2, PECL imagick 3)

Imagick::radialBlurImageRadial blurs an image

Avviso

This function has been DEPRECATED as of Imagick 3.4.4. Relying on this function is highly discouraged.

Descrizione

public Imagick::radialBlurImage(float $angle, int $channel = Imagick::CHANNEL_DEFAULT): bool

Radial blurs an image.

Elenco dei parametri

angle

channel

Valori restituiti

Restituisce true in caso di successo.

Esempi

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();
}

?>

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top