Imagick::blurImage

(PECL imagick 2.0.0)

Imagick::blurImageAdds blur filter to image

설명

bool Imagick::blurImage ( float $radius , float $sigma [, int $channel ] )

Adds blur filter to image. Optional third parameter to blur a specific channel.

인수

radius

Blur radius

sigma

Standard deviation

channel

The Channeltype constant. When not supplied, all channels are blurred.

반환값

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

오류/예외

오류시에 ImagickException이 발생합니다.

예제

Example #1 Using Imagick::blurImage():

Blur an image, then display to the browser.

<?php

header
('Content-type: image/jpeg');

$image = new Imagick('test.jpg');

$image->blurImage(5,3);
echo 
$image;

?>

참고

add a note add a note

User Contributed Notes

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