hugo/resources
Bjørn Erik Pedersen 823f53c861
Add a set of image filters
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
2019-08-28 15:59:54 +02:00
..
images Add a set of image filters 2019-08-28 15:59:54 +02:00
internal Add a set of image filters 2019-08-28 15:59:54 +02:00
page
resource Add a set of image filters 2019-08-28 15:59:54 +02:00
resource_factories
resource_transformers Image resource refactor 2019-08-26 15:00:44 +02:00
testdata Add a set of image filters 2019-08-28 15:59:54 +02:00
image.go Add a set of image filters 2019-08-28 15:59:54 +02:00
image_cache.go Image resource refactor 2019-08-26 15:00:44 +02:00
image_test.go Add a set of image filters 2019-08-28 15:59:54 +02:00
resource.go Image resource refactor 2019-08-26 15:00:44 +02:00
resource_cache.go Image resource refactor 2019-08-26 15:00:44 +02:00
resource_cache_test.go
resource_metadata.go Image resource refactor 2019-08-26 15:00:44 +02:00
resource_metadata_test.go Image resource refactor 2019-08-26 15:00:44 +02:00
resource_spec.go Image resource refactor 2019-08-26 15:00:44 +02:00
resource_test.go Image resource refactor 2019-08-26 15:00:44 +02:00
testhelpers_test.go Add a set of image filters 2019-08-28 15:59:54 +02:00
transform.go Add a set of image filters 2019-08-28 15:59:54 +02:00
transform_test.go Image resource refactor 2019-08-26 15:00:44 +02:00