]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
docs: More about images.Process
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 24 Sep 2023 10:11:03 +0000 (12:11 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 24 Sep 2023 10:11:03 +0000 (12:11 +0200)
docs/content/en/content-management/image-processing/index.md
docs/content/en/functions/images/index.md

index 3e9513a7528b29e03598cff32ed7aa335963e080..4af4c104de42eb42cee78783588805336f5b128f 100644 (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.
index 2b106714ea7467cd74fc849a84d39fd63f907d94..76ff93cd1b197f45dc93d430971ae4ca405a90f4 100644 (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 %}}