Skip to content

Commit

Permalink
docs: More about images.Process
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Sep 24, 2023
1 parent 6b65b2f commit 12d7131
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/content/en/content-management/image-processing/index.md
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion docs/content/en/functions/images/index.md
Expand Up @@ -33,7 +33,6 @@ This filter has all the same options as the [Process](/content-management/image-
{{ $img = $img | images.Filter $filters }}
```


## Overlay

{{% funcsig %}}
Expand Down

0 comments on commit 12d7131

Please sign in to comment.