mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
docs: More about images.Process
This commit is contained in:
parent
6b65b2fae6
commit
12d713176f
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -33,7 +33,6 @@ This filter has all the same options as the [Process](/content-management/image-
|
|||
{{ $img = $img | images.Filter $filters }}
|
||||
```
|
||||
|
||||
|
||||
## Overlay
|
||||
|
||||
{{% funcsig %}}
|
||||
|
|
Loading…
Reference in a new issue