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

This commit is contained in:
chicpro authored and chicpro committed 2015-10-08 14:28:03 +09:00
1 parent e8dede3910
commit 5073f57167
1 file changed
+1 -1
+1 -1
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);