Image Processing: Improve sentence and fix code sample

Co-authored-by: Joe Mooring <joe@mooring.com>
This commit is contained in:
Christian Paul 2023-11-11 01:10:02 +01:00 committed by GitHub
parent 52179fb189
commit 77c926fdeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@ Renders the given image using the given process specification.
@returns template.HTML @returns template.HTML
@example {{< imgproc "sunset.jpg" "resize 300x" }} @example {{< imgproc "sunset.jpg" "resize 300x" />}}
*/}} */}}
{{- with $.Get 0 }} {{- with $.Get 0 }}

View File

@ -475,7 +475,9 @@ includeFields
: Regular expression matching the EXIF tags to include in the `.Tags` collection. Default is&nbsp;`""`. To include all available tags, set this value to&nbsp;`".*"`. : Regular expression matching the EXIF tags to include in the `.Tags` collection. Default is&nbsp;`""`. To include all available tags, set this value to&nbsp;`".*"`.
{{% note %}} {{% note %}}
To improve performance and decrease cache size, if you set neither `excludeFields` nor `includeFields`, Hugo excludes the following tags: `ColorSpace`, `Contrast`, `Exif`, `Exposure[M|P|B]`, `Flash`, `GPS`, `JPEG`, `Metering`, `Resolution`, `Saturation`, `Sensing`, `Sharp`, and `WhiteBalance`. To improve performance and decrease cache size, Hugo excludes the following tags: `ColorSpace`, `Contrast`, `Exif`, `Exposure[M|P|B]`, `Flash`, `GPS`, `JPEG`, `Metering`, `Resolution`, `Saturation`, `Sensing`, `Sharp`, and `WhiteBalance`.
To control tag availability, change the `excludeFields` or `includeFields` settings as described above.
{{% /note %}} {{% /note %}}
## Smart cropping of images ## Smart cropping of images