Controlling image blur

Hello!
I found this useful example on docs:
echo $page->image()->blur();
I was wandering if is it possible to calibrate the blur amount per command like:
echo $page->image()->blur(80);

Hope someone could help!

Yes you can. Kirby uses 10 passes by default, you can select the number of passes this way:

// Gaussian blur (ten passes)
$page->image()->blur('gaussian', 10);

Edit: Came up with this by reading the blur public function and the library it’s using, judging by Jens’s comment you may not be able to do to that. Please double-check !

There is an issue about it: