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 tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
resource Add a set of image filters 2019-08-28 15:59:54 +02:00
resource_factories Add FileInfo to resources created with resources.Match etc. 2019-08-13 18:45:08 +02:00
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 Improve the server assets cache invalidation logic 2019-08-13 18:09:46 +02:00
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