Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

thumbnail byte-larger than original #2667

@penguin42

Description

@penguin42

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Media-RepositoryUploading, downloading images and video, thumbnailingO-UncommonMost users are unlikely to come across this or unexpected workflowS-TolerableMinor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions