Merge branch 'g5'
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.
|
$radius = abs(round($radius)); // Only integers make sense.
|
||||||
if ($radius == 0) {
|
if ($radius == 0) {
|
||||||
return $img; imagedestroy($img); break; }
|
return $img; imagedestroy($img); }
|
||||||
$w = imagesx($img); $h = imagesy($img);
|
$w = imagesx($img); $h = imagesy($img);
|
||||||
$imgCanvas = imagecreatetruecolor($w, $h);
|
$imgCanvas = imagecreatetruecolor($w, $h);
|
||||||
$imgBlur = imagecreatetruecolor($w, $h);
|
$imgBlur = imagecreatetruecolor($w, $h);
|
||||||
|
|||||||
Reference in New Issue
Block a user