Skip to content

Commit

Permalink
Update image formats from which EXIF data can be extracted
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring authored and bep committed Jul 29, 2024
1 parent 09ad56b commit 42d9d1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions content/en/content-management/image-processing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions content/en/methods/resource/Exif.md
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

Expand Down

0 comments on commit 42d9d1c

Please sign in to comment.