I need to write a script to blur an image. That wouldn't be a problem if I didn't need it to blur it really hard.
Now, GD's gaussian blur filter is really weak. And imageconvolution accepts only 3x3 matrixes for some reason so I can't generate gaussian matrix with larger radius for stronger blur? Even if I could, I'm not sure how fast it would be.
Running gaussian blur multiple times does the trick, but is really slow. To achieve effect I'm searching for, I need to run it 40-100 times over an image, and, ofcourse, it takes 10-20 seconds to finish.
Is there a way to achieve what I'm looking for in reasonable time using libraries that come bundled with PHP?
Here is the exact effect. Generation time: 10.972307920456 seconds. 80 passes.