From 12d713176fd0a412ff591e8c4d56c884e06f7d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 24 Sep 2023 12:11:03 +0200 Subject: [PATCH] docs: More about images.Process --- docs/content/en/content-management/image-processing/index.md | 4 ++++ docs/content/en/functions/images/index.md | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/content/en/content-management/image-processing/index.md b/docs/content/en/content-management/image-processing/index.md index 3e9513a75..4af4c104d 100644 --- a/docs/content/en/content-management/image-processing/index.md +++ b/docs/content/en/content-management/image-processing/index.md @@ -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. diff --git a/docs/content/en/functions/images/index.md b/docs/content/en/functions/images/index.md index 2b106714e..76ff93cd1 100644 --- a/docs/content/en/functions/images/index.md +++ b/docs/content/en/functions/images/index.md @@ -33,7 +33,6 @@ This filter has all the same options as the [Process](/content-management/image- {{ $img = $img | images.Filter $filters }} ``` - ## Overlay {{% funcsig %}}