PHP | Imagick implodeImage() Function
Last Updated :
20 Aug, 2019
The Imagick implodeImage() function is an inbuilt function in PHP which is used to create a new image as a copy.
Syntax:
bool Imagick::implodeImage( $radius )
Parameters: This function accepts single parameter radius which holds the radius of the implode.
Return Values: This function returns True on success.
Errors/Exceptions: This function throws ImagickException on error.
Below program illustrates the Imagick implodeImage() function in PHP:
Program:
<?php
$imagick = new Imagick(
$imagick ->implodeImage(0.0001);
header( "Content-Type: image/png" );
echo $imagick ->getImageBlob();
?>
|
Output:
Reference: https://www.php.net/manual/en/imagick.implodeimage.php
Share your thoughts in the comments
Please Login to comment...