diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-09-24 12:11:03 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-09-24 12:11:03 +0200 |
commit | 12d713176fd0a412ff591e8c4d56c884e06f7d25 (patch) | |
tree | 89eff141ba63962e518a8f5d1ef732e644254182 /docs | |
parent | 6b65b2fae665ec112b80c4eba36275f06ad99eb2 (diff) |
docs: More about images.Process
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/en/content-management/image-processing/index.md | 4 | ||||
-rw-r--r-- | docs/content/en/functions/images/index.md | 1 |
2 files changed, 4 insertions, 1 deletions
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 %}} |