时间:2021-07-01 10:21:17 帮助过:2人阅读
$img = imagecreatetruecolor(200, 200); //2.上色 $color=imagecolorallocate($img,255,255,255); //3.设置透明 imagecolortransparent($img,$color); imagefill($img,0,0,$color);
然后再进行imagecopyresampled和Imagecopymerge就没有问题了
< 上一篇
ThinkPHP表单自动验证实例_php实例
下一篇 >
phpjson_encode()函数返回json数据实例代码_php技巧
记住我的登录 忘记密码?
登录
我已阅读用户协议及版权声明
注册