Forum und email

Imagick::blurImage

(No version information available, might be only in CVS)

Imagick::blurImage — Adds blur filter to image

설명

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

This function is currently not documented; only the argument list is available.

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

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를 반환합니다.

예제

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;

?>