PHP | Imagick edgeImage() Function Last Updated : 26 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::edgeImage() function is an inbuilt function in PHP which is used to enhance the edges within the image. It enhances the edges with the help of a convolution filter of the given radius. Syntax: bool Imagick::edgeImage( $radius ) Parameters: This function accepts single parameter $radius which is used to stores the value of radius. Return Value: This function returns True on success. Original Image: Below program illustrates the Imagick::edgeImage() function in PHP: Program: php <?php // require_once('path/vendor/autoload.php'); // header('Content-type: image/png'); // Create an Imagick object $image = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-16.png'); // Use edgeImage function $image->edgeImage(2); // Display output image echo $image; ?> Output: Reference: http://php.net/manual/en/imagick.edgeimage.php Comment More infoAdvertise with us Next Article PHP | Imagick edgeImage() Function S sarthak_ishu11 Follow Improve Article Tags : Misc Technical Scripter Web Technologies PHP Image-Processing PHP-function PHP-Imagick +3 More Practice Tags : Misc Similar Reads PHP | Gmagick edgeimage() Function The Gmagick::edgeimage() function is an inbuilt function in PHP which is used to enhance the image edges using convolution filter of the given radius. Radius 0 is used as auto-selected.Syntax:Â Â Gmagick Gmagick::edgeimage( $radius ) Parameters: This function accepts a single parameter as $radius whi 1 min read PHP | Imagick addImage() Function The Imagick::addImage() function is an inbuilt function in PHP which is used to adds new image to Imagick object image list. After the operation iterator position is moved at the end of the list. This function adds new image to Imagick object from the current position of the source object. The Imagi 1 min read PHP | Imagick averageImages() Function The Imagick::averageImages() function is an inbuilt function in PHP which is used to create an average of two or more images after image processing. It is well defined in PECL imagick 2.0.0 version. This function has been depreciated in further versions of Imagick hence it is replaced by Imagick::me 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 Like