- 博客(1)
- 收藏
- 关注
转载 PHP旋转图片,如何设置透明背景
使用GD库的imagerotate方法或者imagick的rotateimage方法对图片旋转后,图片未覆盖区域背景颜色默认为黑色(图1),设置为透明色的解决方法如下: GD: resource imagerotate ( resource $image , float $angle , int $bgd_color [, int $ignore_transparent = 0 ]...
2016-01-28 14:21:00 771
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人