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

Preview-images (thumbnails) of images in WebP-format are square-shaped even if the original image is not #1559

Open
MoonlightWave-12 opened this issue Jan 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@MoonlightWave-12
Copy link

Bug Description

Normally, preview-images should have the same aspect-ratio as the original image, but currently, after sending images in the WebP-format, the preview-images will be made of a square-shaped part of the middle of the image.
incorrect-preview-aspect-ratio-webp 1

There is also a similar issue with the preview before sending the image:
incorrect-preview-aspect-ratio-webp 2

Steps to Reproduce

  1. Open a chat.
  2. Send an image in WebP-format (do not use the "Compress"-function).
  3. Look at the preview-image of the sent image.

Expected Behavior

The preview-image should show the entire image, with the aspect-ratio of the original image.

App Version

1.23.0

Additional Platform Information

Debian GNU/Linux Testing (Trixie) - Flatpak

Additional Context

Test-image:
test-image.webp

Note: I added .jpg to the file-name, because GitHub does not support uploading files with a file-name ending with .webp. To make that correct again, simply change the file-extension to .webp after downloading the image.

@MoonlightWave-12 MoonlightWave-12 added the bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant