+

PHP Imagick oilPaintImage () function

Syntax:
bool Imagick::oilPaintImage ($radius)
Parameters: this function takes one parameter $radius. Used to set the radius of the circular neighborhood.Returned value:This function returns True on success.The program below illustrates the Imagick::oilPaintImage function()in PHP:Program :  
// Create an Imagick object $imagick = new Imagick (< / code> ` https://media.engineerforengineer.org/wp-content/uploads/engineerforengineer-9.png ` );  
// Using the oilPaintImage function $imagick -> oilPaintImage (5); header ( " Content-Type: image / jpg " );  
// Display the output image echo $imagick -> getImageBlob(); ?>
Output: Link: http://php.net/manual/en/imagick.oilpaintimage.php
Get Solution for free from DataCamp guru