Imagick::radialBlurImage

(PECL imagick 2.0.0)

Imagick::radialBlurImageRadial blurs an image

설명

bool Imagick::radialBlurImage ( float $angle [, int $channel = Imagick::CHANNEL_ALL ] )

Radial blurs an image.

인수

angle

channel

반환값

성공시에 TRUE를 반환합니다.

예제

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 add a note

User Contributed Notes

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