Skip to content

fix(types): Add missing properties for animated images#4369

Merged
lovell merged 1 commit intolovell:mainfrom
sdonfro:fix-missing-outputinfo-properties
Apr 12, 2025
Merged

fix(types): Add missing properties for animated images#4369
lovell merged 1 commit intolovell:mainfrom
sdonfro:fix-missing-outputinfo-properties

Conversation

@sdonfro
Copy link
Copy Markdown
Contributor

@sdonfro sdonfro commented Apr 11, 2025

Hello! This PR is to add two missing properties to sharp.OutputInfo that are present for animated images. Comments are copied from the same properties in sharp.Metadata.

The test Animated GIF round trip in test/unit/gif.js references them (link), so it does seem intentional for them to be part of the OutputInfo.

This is my first PR for the project, so please let me know if you need more information from me.
Thanks for all the hard work on this library!

@lovell lovell merged commit 38b6f44 into lovell:main Apr 12, 2025
22 checks passed
@lovell lovell added this to the v0.34.2 milestone Apr 12, 2025
@lovell
Copy link
Copy Markdown
Owner

lovell commented Apr 12, 2025

Thank you very much Steven!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants