mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 04:35:05 -04:00
Update image formats from which EXIF data can be extracted
This commit is contained in:
parent
09ad56b6e2
commit
42d9d1c796
@ -105,7 +105,7 @@ Example 4: Skips rendering if there's problem accessing a remote resource.
|
||||
The `image` resource implements the [`Process`], [`Resize`], [`Fit`], [`Fill`], [`Crop`], [`Filter`], [`Colors`] and [`Exif`] methods.
|
||||
|
||||
{{% note %}}
|
||||
Metadata (EXIF, IPTC, XMP, etc.) is not preserved during image transformation. Use the `Exif` method with the _original_ image to extract EXIF metadata from JPEG or TIFF images.
|
||||
Metadata (EXIF, IPTC, XMP, etc.) is not preserved during image transformation. Use the `Exif` method with the _original_ image to extract EXIF metadata from JPEG, PNG, TIFF, and WebP images.
|
||||
{{% /note %}}
|
||||
|
||||
### Process
|
||||
@ -219,7 +219,7 @@ This method is fast, but if you also scale down your images, it would be good fo
|
||||
|
||||
Provides an [EXIF] object containing image metadata.
|
||||
|
||||
You may access EXIF data in JPEG and TIFF images. To prevent errors when processing images without EXIF data, wrap the access in a [`with`] statement.
|
||||
You may access EXIF data in JPEG, PNG, TIFF, and WebP images. To prevent errors when processing images without EXIF data, wrap the access in a [`with`] statement.
|
||||
|
||||
```go-html-template
|
||||
{{ with $image.Exif }}
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Exif
|
||||
description: Applicable to JPEG and TIFF images, returns an EXIF object containing image metadata.
|
||||
description: Applicable to JPEG, PNG, TIFF, and WebP images, returns an EXIF object containing image metadata.
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
@ -10,7 +10,7 @@ action:
|
||||
toc: true
|
||||
---
|
||||
|
||||
Applicable to JPEG and TIFF images, the `Exif` method on an image `Resource` object returns an [EXIF] object containing image metadata.
|
||||
Applicable to JPEG, PNG, TIFF, and WebP images, the `Exif` method on an image `Resource` object returns an [EXIF] object containing image metadata.
|
||||
|
||||
## Methods
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user