썸네일 생성 코드 중 코드 오류 수정

This commit is contained in:
chicpro
2015-10-08 14:31:21 +09:00
committed by chicpro
parent e8dede3910
commit 5073f57167

View File

@ -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);