mirror of https://github.com/gohugoio/hugo
733 B
733 B
title | description | categories | keywords | params | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
images.GaussianBlur | Returns an image filter that applies a gaussian blur to an image. |
|
The sigma value must be positive, and indicates how much the image will be blurred. The blur-affected radius is approximately 3 times the sigma value.
Usage
Create the filter:
{{ $filter := images.GaussianBlur 5 }}
{{% include "/_common/functions/images/apply-image-filter.md" %}}
Example
{{< img src="images/examples/zion-national-park.jpg" alt="Zion National Park" filter="GaussianBlur" filterArgs="5" example=true
}}