+

PHP Imagick edgeImage () function

Syntax:
bool Imagick::edgeImage ($radius)
Parameters: This function takes one parameter, $radius, which is used to store the radius value.Return Value:This function returns True on success. Original image:
The program below illustrates function Imagick::edgeImage()in PHP:
Program : < ? php  
// require_once (` path / vendor / autoload.php `); 
// header (` Content-type: image / png `); 
// Create an Imagick object $image = new Imagick ( ` https://media.engineerforengineer.org/wp-content/uploads/engineerforengineer-16.png ` );  
// Using the edgeImage function $image -> edgeImage (2);  
// Display the output image echo $image ; ?>
Output: Link: http://php.net/manual/en/imagick.edgeimage.php
Get Solution for free from DataCamp guru