array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'imagick.blurimage.php', 1 => 'Imagick::blurImage', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.blueshiftimage.php', 1 => 'Imagick::blueShiftImage', ), 'next' => array ( 0 => 'imagick.borderimage.php', 1 => 'Imagick::borderImage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/blurimage.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL imagick 2, PECL imagick 3)
Imagick::blurImage — Adds blur filter to image
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.
Returns true
on success.
Throws ImagickException on error.
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;
?>