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
..
2023-08-07 10:38:12 +02:00
2023-09-24 11:54:29 +02:00
2023-07-29 11:17:28 +02:00
2022-12-02 09:19:23 +01:00
2022-11-17 16:16:19 +01:00
2023-08-07 10:38:12 +02:00
2023-08-07 10:38:12 +02:00
2023-08-30 19:24:34 +02:00
2023-08-30 19:24:34 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-07-29 11:17:28 +02:00
2023-06-13 20:43:03 +02:00
2023-07-29 11:17:28 +02:00
2023-08-07 10:38:12 +02:00
2023-08-30 19:24:34 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-07-29 11:17:28 +02:00
2023-06-13 20:43:03 +02:00
2023-05-22 16:47:07 +02:00
2023-08-07 10:38:12 +02:00
2023-07-29 11:17:28 +02:00
2023-05-22 16:47:07 +02:00
2023-06-13 20:43:03 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-27 17:02:23 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-07-29 11:17:28 +02:00
2023-05-22 16:47:07 +02:00
2023-07-29 11:17:28 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-06-13 20:43:03 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-06-13 20:43:03 +02:00
2023-05-22 16:47:07 +02:00
2023-07-29 11:17:28 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-06-13 20:43:03 +02:00
2023-05-22 16:47:07 +02:00
2023-08-07 10:38:12 +02:00
2023-05-27 17:02:23 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-06-13 20:43:03 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-07 10:38:12 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2022-11-17 16:16:19 +01:00
2023-08-30 19:24:34 +02:00
2022-11-17 16:16:19 +01:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-27 17:02:23 +02:00
2023-07-29 11:17:28 +02:00
2023-05-22 16:47:07 +02:00
2023-05-27 17:02:23 +02:00
2023-08-07 10:38:12 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-27 17:02:23 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-07 10:38:12 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-30 19:24:34 +02:00
2023-08-07 10:38:12 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-07-29 11:17:28 +02:00
2023-08-07 10:38:12 +02:00
2023-05-22 16:47:07 +02:00
2023-05-22 16:47:07 +02:00
2023-08-07 10:38:12 +02:00
2023-05-22 16:47:07 +02:00
2023-05-20 11:14:18 +02:00
2023-05-22 16:47:07 +02:00
2023-08-07 10:38:12 +02:00
2023-05-22 16:47:07 +02:00