Debian Codegraph @

docs/content/en/functions/images/GaussianBlur.md

raw
1 ---
2 title: images.GaussianBlur
3 description: Returns an image filter that applies a gaussian blur to an image.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 aliases: []
9 returnType: images.filter
10 signatures: [images.GaussianBlur SIGMA]
11 ---
12
13 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.
14
15 ## Usage
16
17 Create the filter:
18
19 ```go-html-template
20 {{ $filter := images.GaussianBlur 5 }}
21 ```
22
23 {{% include "/_common/functions/images/apply-image-filter.md" %}}
24
25 ## Example
26
27 {{< img
28 src="images/examples/zion-national-park.jpg"
29 alt="Zion National Park"
30 filter="GaussianBlur"
31 filterArgs="5"
32 example=true
33 >}}