PHP | Imagick adaptiveBlurImage() Function Last Updated : 26 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::adaptiveBlurImage() function is an inbuilt function in PHP which is used to add adaptive blur filter in the given image. The intensity of an adaptive blur depends is dramatically decreased at the edge of the image, whereas a standard blur is a uniform across the image. This effect makes the image unclear or less distinct. Syntax: bool adaptiveBlurImage ( $radius, $sigma, $channel ) Parameters: This function accepts three parameters as mentioned above and described below: $radius: This parameter is used to set the radius of the Gaussian, in pixels. Its not counting the center pixel. If radius value is zero it means radius will be chosen automagically. $sigma: This parameter is used to find the standard deviation of the Gaussian, in pixels. $channel: This parameter provides the channel constant that is valid for channel mode. More than one channel can be combined using the bitwise operator. The defaults channel in Imagick function is Imagick::CHANNEL_DEFAULT. Some color constant of channel list is given below: imagick::COLOR_BLACK (integer) imagick::COLOR_BLUE (integer) imagick::COLOR_CYAN (integer) imagick::COLOR_GREEN (integer) imagick::COLOR_RED (integer) imagick::COLOR_YELLOW (integer) imagick::COLOR_MAGENTA (integer) imagick::COLOR_OPACITY (integer) imagick::COLOR_ALPHA (integer) imagick::COLOR_FUZZ (integer) Return Value: This function returns TRUE on success. Exception: This function throws ImagickException on error. Below programs illustrate the Imagick::adaptiveBlurImage() function in PHP: Original Image: Program: php <?php // require_once('path/to/vendor/autoload.php'); header('Content-type: image/png'); $image = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-9.png'); $image->adaptiveBlurImage(20, 5); echo $image; ?> Output: Reference: http://php.net/manual/en/imagick.adaptiveblurimage.php Comment More infoAdvertise with us Next Article PHP | Imagick adaptiveBlurImage() Function S sarthak_ishu11 Follow Improve Article Tags : Misc Web Technologies PHP Image-Processing PHP-function PHP-Imagick +2 More Practice Tags : Misc Similar Reads PHP | Imagick adaptiveResizeImage() Function The Imagick::adaptiveResizeImage() function is an inbuilt function in PHP which provides an adaptively resize image feature to the image. The intensity of an adaptive resize image depends on dramatically decreased at the edge of the image. This function is used to resize the image according to web s 1 min read PHP | Imagick adaptiveSharpenImage() Function The Imagick::adaptiveSharpenImage() function is an inbuilt function in PHP which provides an adaptive sharpen image feature to the image. The intensity of an adaptive sharpen image depends on dramatically decreased at the edge of the image. Syntax: bool Imagick::adaptiveSharpenImage ( $radius, $sigm 1 min read PHP | Imagick blurImage() function 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 1 min read PHP | Imagick adaptiveThresholdImage() Function The Imagick::adaptiveThresholdImage() function is an inbuilt function in PHP which is used to select a threshold for each pixel based on intensity values in its local neighborhood. This function allows to thresholding of an image whose global intensity histogram doesn't contain distinctive peaks. Sy 1 min read PHP | Imagick autoLevelImage() Function The Imagick::autoLevelImage() function is an inbuilt function in PHP which is used to adjusts the levels of a particular image channel. The level of the image channel is set the minimum and maximum value of color in the full quantum range. Syntax: bool Imagick::autoLevelImage( $channel ) Parameters: 1 min read Like