Creates a new image that is a copy of an existing one with the image pixels "imploded" by the specified percentage.
Touch/mouse over to see original View modified in new window.
Image
Creates a new image that is a copy of an existing one with the image pixels "imploded" by the specified percentage.
Parameters
radiusfloatThe radius of the implode
function implodeImage($imagePath)
{
    $imagick = new \Imagick(realpath($imagePath));
    $imagick->implodeImage(0.0001);
    header("Content-Type: image/jpg");
    echo $imagick->getImageBlob();

}