Skip to content

Kirby 4.5.0

$asset->blur()

Blurs the image by the given amount of pixels

$asset->blur(int|bool $pixels = true): Kirby\Cms\FileVersion|Kirby\Cms\File|Kirby\Filesystem\Asset

Parameters

Name Type Default
$pixels int|bool true

Return type

Kirby\Cms\FileVersion|Kirby\Cms\File|Kirby\Filesystem\Asset

Parent class

Kirby\Filesystem\Asset