썸네일 생성 코드 중 코드 오류 수정
This commit is contained in:
@ -474,7 +474,7 @@ and the roundoff errors in the Gaussian blur process, are welcome.
|
||||
|
||||
$radius = abs(round($radius)); // Only integers make sense.
|
||||
if ($radius == 0) {
|
||||
return $img; imagedestroy($img); break; }
|
||||
return $img; imagedestroy($img); }
|
||||
$w = imagesx($img); $h = imagesy($img);
|
||||
$imgCanvas = imagecreatetruecolor($w, $h);
|
||||
$imgBlur = imagecreatetruecolor($w, $h);
|
||||
|
||||
Reference in New Issue
Block a user