Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of PNG attachments for editor (addresses #5761) #5762

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

frederickding
Copy link

@frederickding frederickding commented Feb 18, 2024

First time contributor checklist

Contributor checklist

  • My commits are rebased on the latest main branch
  • My commits are in nice logical chunks
  • My contribution is fully baked and is ready to be merged as is
  • I have tested my contribution on these devices:
  • iPhone 15 Pro, iOS 17.3

Description

These changes are meant to address #5761 by ensuring that isAnimatedImage for any PNG attachment is always determined by internal metadata, not whether it's in a list of MIME types, since PNGs can be either animated or not; and also to define the authoritative list of animated UTI types from those that are "definitely" animated after the a977722 refactor, not those that are "maybe" animated.

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

Successfully merging this pull request may close these issues.

None yet

1 participant