mirror of https://github.com/gohugoio/hugo
565 B
565 B
title | description | categories | keywords | params | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
images.Grayscale | Returns an image filter that produces a grayscale version of an image. |
|
Usage
Create the filter:
{{ $filter := images.Grayscale }}
{{% include "/_common/functions/images/apply-image-filter.md" %}}
Example
{{< img src="images/examples/zion-national-park.jpg" alt="Zion National Park" filter="Grayscale" filterArgs="" example=true
}}