php保存远程图片改变尺寸,JPG转PNG,裁剪圆形
function getyuan(){
$radius = 20;
$img = imagecreatetruecolor($radius, $radius);
$bgcolor = imagecolorallocate($img, 255, 255, 255);
$fgcolor = imagecolorallocate($img, 0, 0, 0);
imagefill($img,
原创
2017-04-17 10:55:16 ·
828 阅读 ·
0 评论