hugo/resources
Bjørn Erik Pedersen 6a246d1152 Add images.Process filter
This allows for constructs like:

```
{{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg q30 resize 200x") }}
{{ $img = $img | images.Filter $filters }}
```

Note that the `action` option in `images.Process` is optional (`resize` in the example above), so you can use the above to just set the target format, e.g.:

```
{{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg") }}
{{ $img = $img | images.Filter $filters }}
```

Fixes #8439
2023-09-24 11:54:29 +02:00
..
assets
images Add images.Process filter 2023-09-24 11:54:29 +02:00
internal
jsconfig
kinds Deprecate taxonomyTerm 2023-07-28 15:14:24 +02:00
page Add $image.Process 2023-09-24 11:54:29 +02:00
postpub
resource
resource_factories Try to make test more stable 2023-08-05 11:40:18 +02:00
resource_transformers Improve error messages for PostCSS etc. 2023-07-17 20:42:32 +02:00
testdata Add images.Opacity filter 2023-09-22 15:03:16 +02:00
docs.go
errorResource.go Add $image.Process 2023-09-24 11:54:29 +02:00
image.go Add images.Process filter 2023-09-24 11:54:29 +02:00
image_cache.go resources: Fix spelling in method name 2023-07-30 21:12:33 +02:00
image_extended_test.go
image_test.go Add $image.Process 2023-09-24 11:54:29 +02:00
integration_test.go Add images.Process filter 2023-09-24 11:54:29 +02:00
post_publish.go
resource.go resources: Fix spelling in method name 2023-07-30 21:12:33 +02:00
resource_cache.go
resource_cache_test.go
resource_metadata.go
resource_spec.go
resource_test.go
testhelpers_test.go
transform.go Add $image.Process 2023-09-24 11:54:29 +02:00
transform_test.go