docs: More about images.Process

This commit is contained in:
Bjørn Erik Pedersen 2023-09-24 12:11:03 +02:00
parent 6b65b2fae6
commit 12d713176f
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
2 changed files with 4 additions and 1 deletions

View file

@ -111,6 +111,10 @@ Metadata (EXIF, IPTC, XMP, etc.) is not preserved during image transformation. U
{{< new-in "0.119.0" >}}
{{% note %}}
The `Process` method is also available as a filter, which is more effective if need to apply multiple filters to an image. See [Process filter](/functions/images/#process).
{{% /note %}}
Process processes the image with the given specification. The specification can contain an optional action, one of `resize`, `crop`, `fit` or `fill`. This means that you can use this method instead of [`Resize`], [`Fit`], [`Fill`], or [`Crop`].
See [Options](#image-processing-options) for available options.

View file

@ -33,7 +33,6 @@ This filter has all the same options as the [Process](/content-management/image-
{{ $img = $img | images.Filter $filters }}
```
## Overlay
{{% funcsig %}}