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

thumbnail byte-larger than original #2667

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

thumbnail byte-larger than original #2667

matrixbot opened this issue Dec 16, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 16, 2023

This issue has been migrated from #2667.


Description

The thumbnail for an image I uploaded ended up bigger than the original in bytes at the same number of pixels

Steps to reproduce

  • Uploaded the image that's at mxc://matrix.org/nlkUlJCMIBWDWZLKjxZYknrn (123kB)
  • Download the thumbnail at mxc://matrix.org/VPkLkCQZUMycjuCrARzGbkKa (204kB)

Describe how what happens differs from what you expected.

It probably would have been better not to produce the thumbnail in the case where the result was larger.
It's a good question why it's larger; both are the same res (513x405) - I think teh thumbnail added an alpha channel for no reason; but is that the reason it's so much larger?

Version information

  • Homeserver: matrix.org just now
@matrixbot matrixbot changed the title Dummy issue thumbnail byte-larger than original 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