\think\Image
266行
public function crop($w, $h, $x = 0, $y = 0, $width = null, $height = null)函数里
$color = imagecolorallocate($img, 255, 255, 255);
改为
$color = imagecolorallocatealpha($img, 255, 255, 255,127);
OJBK完美透明
\think\Image
266行
public function crop($w, $h, $x = 0, $y = 0, $width = null, $height = null)函数里
$color = imagecolorallocate($img, 255, 255, 255);
改为
$color = imagecolorallocatealpha($img, 255, 255, 255,127);
OJBK完美透明