mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
823f53c861
With this you can do variants of this: ``` {{ $img := resources.Get "images/misc/3-jenny.jpg" }} {{ $img := $img.Resize "300x" }} {{ $g1 := $img.Filter images.Grayscale }} {{ $g2 := $img | images.Filter (images.Saturate 30) (images.GaussianBlur 3) }} ``` Fixes #6255 |
||
---|---|---|
.. | ||
images | ||
internal | ||
page | ||
resource | ||
resource_factories | ||
resource_transformers | ||
testdata | ||
image.go | ||
image_cache.go | ||
image_test.go | ||
resource.go | ||
resource_cache.go | ||
resource_cache_test.go | ||
resource_metadata.go | ||
resource_metadata_test.go | ||
resource_spec.go | ||
resource_test.go | ||
testhelpers_test.go | ||
transform.go | ||
transform_test.go |