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

WEBPs are thumbnailed as JPEGs, losing transparency/animation #11840

Open
matrixbot opened this issue Dec 19, 2023 · 0 comments
Open

WEBPs are thumbnailed as JPEGs, losing transparency/animation #11840

matrixbot opened this issue Dec 19, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 19, 2023

This issue has been migrated from #11840.


Description

Exactly as it sounds, WEBPs that have transparency get thumbnailed as JPEGs, making them look terrible. Tracked it down to #4382, where WEBPs were universally marked to use JPEG for thumbnailing instead of PNGs, or WEBPs, though I assume that last one is more of a Synapse limitation than an oversight. Intended behavior is for transparent images to have transparent thumbnails, including WEBPs.

Steps to reproduce

  • Post a transparent WEBP into an unencrypted room
  • See a terrible blocky black background

Version information

  • Homeserver:

Homeserver was matrix.org

  • Version: 1.51.0rc1 (b=matrix-org-hotfixes,7977b7f6a)

  • Install method: Not sure what they do.

  • Platform: Not sure.
@matrixbot matrixbot changed the title Dummy issue WEBPs are thumbnailed as JPEGs, losing transparency/animation Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant