PHP/GD : Better Gaussian blur

After coming across the same problem, I applied the same filter a few times, and each time to the resulting resource of the previous “imagefilter” call. I got the ‘more blurry’ effect you’re looking for.

e.g.:

for ($x=1; $x<=15; $x++)
   imagefilter($image, IMG_FILTER_GAUSSIAN_BLUR);

Leave a Comment