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 exif: Return the proper exposure time value in some special cases 2023-02-26 11:19:49 +01:00
webp all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
color.go resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
color_test.go resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
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 Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
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 Add images.Opacity filter 2023-09-22 15:03:16 +02:00
overlay.go images: Add images.Overlay filter 2020-12-17 09:14:18 +01:00
process.go Add images.Process filter 2023-09-24 11:54:29 +02:00
resampling.go Add a set of image filters 2019-08-28 15:59:54 +02:00
smartcrop.go resources/image: Fix fill with smartcrop sometimes returning 0 bytes images 2021-06-17 23:52:27 +02:00
text.go Add custom font support to images.Text 2021-12-07 16:53:02 +01:00