Skip to content

Add support for decoding XMP metadata#215

Merged
kornelski merged 1 commit intoimage-rs:masterfrom
1c3t3a:xmp-metadata
Sep 3, 2025
Merged

Add support for decoding XMP metadata#215
kornelski merged 1 commit intoimage-rs:masterfrom
1c3t3a:xmp-metadata

Conversation

@1c3t3a
Copy link
Contributor

@1c3t3a 1c3t3a commented Sep 3, 2025

This change adds support for accessing the XMP metadata stored in a GIF. This extends the StreamingDecoder implementation that now reads this Extension section correctly.

This change adds support for accessing the XMP metadata stored in a GIF.
This extends the StreamingDecoder implementation that now reads this
Extension section correctly.

Co-authored-by: Rasmus Piorr <piorr@google.com>
@kornelski kornelski merged commit e497980 into image-rs:master Sep 3, 2025
13 checks passed
@197g
Copy link
Member

197g commented Sep 4, 2025

@kornelski Was that intentionally merged already? You seem to have ack'd the proposal to change ExtensionData but the PR in the current HEAD state does not yet do so.

@kornelski
Copy link
Contributor

kornelski commented Sep 4, 2025

Yes. The extension data representation is an optimization that can be done in a separate PR.

The current data with the first length byte but without others is a mess, so it's a breaking change anyway.

@1c3t3a
Copy link
Contributor Author

1c3t3a commented Sep 4, 2025

JFYI, we followed up on also breaking the last_ext API in #216.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants