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

Armcord is not downloading original images, it is downloading reduced webp conversions #527

Open
gelatinbomb opened this issue Nov 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gelatinbomb
Copy link

Describe the bug
I just noticed that Armcord is downloading images in webp format even though many are in jpg or png. The images don't download in their native resolution and changing the format in the download window doesn't fix it.

To Reproduce
Steps to reproduce the behavior:

  1. Search for any image in a Discord group.
  2. Click on the image to expand it.
  3. Then right click on the image and select the option to download the image.
  4. Now do the same procedure but instead of downloading try copying the address of the image and paste it in the browser.
  5. Then remove all the text after the ".jpg" from the url and press enter.
  6. It will load the full image instead of the cropped version.

Expected behavior
I expect the full original image to be downloaded instead of a webp conversion.

Screenshots
left_browser_and_right_armcord

Desktop (please complete the following information):

  • OS: Fedora 39
  • Method of installation Flatpak
  • Version 3.2.5

Additional context
The problem relies on the structure of the link. The downloaded picture have a lot of junk attached to the link that set the resolution and the format of the picture. If all of that gets removed the servers provide the original picture. Maybe a regex rule could fix this.

@gelatinbomb gelatinbomb added the bug Something isn't working label Nov 27, 2023
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