-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
WebP/APNG images shown as GIF #24015
Comments
Yeah IIRC some other platform does the same thing so I copied it - thought "WEBP" would just look confusing and some platforms even send "GIF"s as MP4s nowadays so the word seems to have lost all meaning. |
I don't really understand why an overlay is needed here. We do not show anything for JPG or PNG. Why treat webp differently? I can understand the argument for animated webp. But the images above are still. Not quite sure why you added the |
It should be only shown on animated WEBP images. The overlay is there as a hint that hovering plays the animation. It even has tests - maybe your image is actually a 1-frame animated WEBP image Indeed, the label was assuming that you were complaining it said GIF for an animated WEBP. Nothing in the OP made it clear they weren't animated, screenshots are poor at conveying animation. |
could Element be made to check for that? I have had the same issue before. There are always going to be "improper" webps like this in the wild as this isn't usually obvious to users. |
Yes it could, but writing a full WEBP parser would add a lot more complexity and edge cases to test. I couldn't find a minimal one to just import at the time of writing it initially. Contributions welcome. |
Steps to reproduce
Outcome
What did you expect?
Not to see the "GIF" toast on the top left
What happened instead?
Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
No response
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: