PHP | Imagick motionBlurImage() Function Last Updated : 16 May, 2022 Comments Improve Suggest changes Like Article Like Report The Imagick::motionBlurImage() function is an inbuilt function in PHP which is used to simulates motion blur. This function convolves the image with a Gaussian operator of the given radius and standard deviation. Syntax: bool Imagick::motionBlurImage( $radius, $sigma, $angle, $channel ) Parameters: This function accepts four 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 automatically.$sigma: This parameter is used to find the standard deviation of the Gaussian, in pixels.$angle: This parameter apply the effect along this angle.$channel: This parameter provides the channel constant that is valid for channel mode. More than one channel can be combined using bitwise operator. The defaults channel in Imagick function is Imagick::CHANNEL_DEFAULT. Return Value: This function returns True on success. Below program illustrates the Imagick::motionBlurImage() function in PHP: Program: php <?php // Create an Imagick object $imagick = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-9.png'); // Use motionBlurImage function $imagick->motionBlurImage(20, 20, 45); header("Content-Type: image/jpg"); // Display the output image echo $imagick->getImageBlob(); ?> Output: Reference: http://php.net/manual/en/imagick.motionblurimage.php Comment More infoAdvertise with us Next Article PHP | Imagick motionBlurImage() 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 motionblurimage() Function The Gmagick::motionblurimage() function is an inbuilt function in PHP which is used to simulates motion blur. This function convolves the image with a Gaussian operator of the given radius and standard deviation.Syntax:  Gmagick Gmagick::motionblurimage( $radius, $sigma, $angle ) Parameters: This f 2 min read PHP Imagick morphImages() Function The Imagick::morphImages function is an inbuilt function in PHP that is used to morph a set of images. The image pixels and size of the image are linearly interpolated to give the appearance of metamorphosis from one image to the next. Syntax: Imagick Imagick::morphImages( $number_frames )Parameters 1 min read PHP | Imagick mosaicImages() Function The Imagick::mosaicImages() function is an inbuilt function in PHP which is used to form a mosaic from images. This function uses an image sequence to form a single coherent picture. Syntax: Imagick Imagick::mosaicImages( void ) Parameters: This function does not accepts any parameters. Return Value 1 min read PHP | Imagick modulateImage() Function The Imagick::modulateImage() function is an inbuilt function in PHP which is used to control the brightness, saturation, and hue of an image. Syntax: bool Imagick::modulateImage( $brightness, $saturation, $hue ) Parameters: This function accepts three parameters as mentioned above and described belo 1 min read PHP | Imagick newImage() Function The Imagick::newImage() function is an inbuilt function in PHP which is used to creates a new image. This function creates a new image and associates ImagickPixel value as the background color. Syntax: bool Imagick::newImage( $cols, $rows, $background, $format ) Parameters: This function accepts fo 1 min read Like