php imagick设置图片圆角的方法
header('Content-Type: image/png');$image = new Imagick('http://static.codeweblog.com/uploads/user/29/58387_100.jpg');
$image->setImageFormat('png');
$image->roundCorners($image->getImageWidth() / 2, $image->getImageHeight() / 2);
echo $image;
$image->destroy();
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/19127.html