hugo/resources/images
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
..
exif
webp
color.go
color_test.go
config.go Add $image.Process 2023-09-24 11:54:29 +02:00
config_test.go Add $image.Process 2023-09-24 11:54:29 +02:00
filters.go Add images.Process filter 2023-09-24 11:54:29 +02:00
filters_test.go
image.go Add images.Process filter 2023-09-24 11:54:29 +02:00
image_resource.go Add $image.Process 2023-09-24 11:54:29 +02:00
opacity.go
overlay.go
process.go Add images.Process filter 2023-09-24 11:54:29 +02:00
resampling.go
smartcrop.go
text.go