PHP | Imagick blurImage() function Last Updated : 26 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::blurImage() function is an inbuilt function in PHP which is used to add blur filter to the image. This function returns True on success. Syntax: bool Imagick::blurImage( $radius, $sigma, $channel ) Parameters: This function accepts three parameters as mentioned above and described below: $radius: This parameter is used to set blur radius in an image. $sigma: It sets the standard deviation. $channel: This parameter set the channel type constant. If it is not supplied then all channels are blurred. Return Value: This parameter returns True on success. Below programs illustrate the Imagick::blurImage() function in PHP: Program 1: php <?php // Create an Imagick object $image = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-9.png'); header('Content-type: image/jpeg'); // Use blurImage function $image->blurImage(5, 3); // Display the output image echo $image; ?> Output: Program 2: php <?php // Create an Imagick object $image = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/col1.png'); header('Content-type: image/jpeg'); // Use blurImage function $image->blurImage(7, 3); // Display the output image echo $image; ?> Output: Related Articles: PHP | Imagick chopImage() Function PHP | Imagick adaptiveBlurImage() Function Reference: http://php.net/manual/en/imagick.blurimage.php Comment More infoAdvertise with us Next Article PHP | Imagick blurImage() function V vijay_raj Follow Improve Article Tags : Misc Web Technologies PHP Image-Processing PHP-function PHP-Imagick +2 More Practice Tags : Misc Similar Reads PHP | Gmagick blurimage() Function The Gmagick::blurimage() function is an inbuilt function in PHP which is used to add blur filter to the image. Syntax: Gmagick Gmagick::blurimage( $radius, $sigma, $channel )  Parameters: This function accepts three parameters as mentioned above and described below: $radius: This parameter is used 2 min read PHP | Imagick drawImage() Function The Imagick::drawImage() function is an inbuilt function in PHP which is used to render the ImagickDraw object on the Imagick object. It is used to draw the image on the Imagick instance. We set an image matrix, parameters and the borders of the drawn image with the help of ImagickDraw methods and t 2 min read PHP | Imagick borderImage() Function The Imagick::borderImage() function is an inbuilt function in PHP which is used to draw the border in an image. This function creates the border surrounded to the image in the given color. Syntax: bool Imagick::borderImage( $bordercolor, $width, $height ) Parameters: This function accepts three para 1 min read PHP | Imagick flopImage() Function The Imagick::flopImage() function is an inbuilt function in PHP which is used to create a horizontal mirror image. Syntax: bool Imagick::flopImage( void ) Parameters: This function does not accept any parameter. Return Value: This function returns True on success. Below programs illustrate the Imagi 1 min read PHP | Imagick cropImage() Function The Imagick::cropImage() function is an inbuilt function in PHP which is used to extracts the region of the image.Syntax:  int Imagick::cropImage( $width, $height, $x, $y ) Parameters: This function accept four parameters as mention above and describe below.  $width: This parameter is used to spec 2 min read Like