We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cfb435 commit 171db5cCopy full SHA for 171db5c
src/Image.php
@@ -51,7 +51,7 @@ public static function resize($filename, $dstName, $maxWidth, $maxHeight)
51
52
//解决透明背景变成黑色
53
$color = imagecolorallocate($dstImg, 255, 255, 255);
54
- imagecolortransparent($dstImg, $color);
+ //imagecolortransparent($dstImg, $color);
55
imagefill($dstImg, 0, 0, $color);
56
imagealphablending($dstImg, true);
57
0 commit comments