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

the image compression function does not work #1605

Closed
fallsdevil opened this issue Jan 18, 2025 · 7 comments
Closed

the image compression function does not work #1605

fallsdevil opened this issue Jan 18, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@fallsdevil
Copy link
Contributor

Describe the bug
When trying to reduce the size of the PNG image I can't choose other image formats, it always gives an error when saving and only works in the only lossless PNG option, and even so the size, even though it's not that much smaller, leaves the image very pixelated even using "70" instead of "50".

To Reproduce
I used a 1.2mb square PNG image and previously I had tried to use this feature and strangely the app closed unexpectedly when choosing the image, and now I was able to select it, but I was unable to use other image formats to have a smaller size than the lossless PNG option has.

Expected behavior
I would also like to make a comparison, I tested two images compressed at 50 and another at 70 and in both the quality was very low, so I tested using the website 'i love img' and it managed to reduce the size, but maintained the quality. I will try to leave both images here for you to analyze and if possible find a way to also maintain the quality or something similar.

Screenshots

original 1.2mb reduced by 70 (873kb) by 50 620kb site 378kb
Image Image Image Image

Smartphone (please complete the following information):

  • Device: Galaxy A10s
  • OS: Android 11
@fallsdevil fallsdevil added the bug Something isn't working label Jan 18, 2025
@T8RIN
Copy link
Owner

T8RIN commented Jan 19, 2025

png is hard to compress, so it's intended, use lossy mode for that

@T8RIN
Copy link
Owner

T8RIN commented Jan 19, 2025

also which error you have while saving?

@fallsdevil
Copy link
Contributor Author

fallsdevil commented Jan 19, 2025

também qual erro você teve ao salvar?

the message "failed to save 1 files" only appeared after loading for a few seconds in various format options.

png é difícil de compactar, então é intencional usar o modo com perdas para isso

yes, I imagined it, so that's why I tried using the other extensions that I realized were lighter 😅

@T8RIN
Copy link
Owner

T8RIN commented Jan 19, 2025

Did you try a single edit tool?

@fallsdevil
Copy link
Contributor Author

Você tentou uma única ferramenta de edição?

I just tested it, and it worked using other image formats. I hadn't really thought about that, I went directly to the named function, but I'm glad it worked

@T8RIN
Copy link
Owner

T8RIN commented Jan 20, 2025

You can try setting different save location if batch tools not working properly

@T8RIN
Copy link
Owner

T8RIN commented Jan 20, 2025

Also try latest actions build, here you will see which error happens

@T8RIN T8RIN closed this as completed Jan 22, 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

2 participants