You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this is somehow expected. Let me explain a little bit more.
Resizing an image is always* a lossy operation: you are reducing the pixels of the image, so you naturally lose something. If you check the "Lossless" option, Caesium will resize the image, encode it with the best quality possible and then applying a lossless optimization. This to minimize the loss of quality for the image.
If your image was well optimized before, resizing then encoding it at best quality can result in a bigger image, because the lossless optimization will not shred that much size.
So for example:
Initial image is 200 Kb and well optimized
Resize at 50%, encode it at 100 quality results in a 300Kb image
Optimize it for a 290Kb final image
A possible solution from your side is to uncheck the "lossless" option and save it at your desired quality, since you are losing quality anyway by resizing.
On the other hand, I'm thinking to disable to lossless option for resizing or providing a warning for this behaviour.
*This is not always true, but we are talking about very specific cases
Describe the bug
Resizing of files resulted in an increase in the file size rather than decrease.
Software version
2.3.0
Operating System information
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A decrease in the original file size as the image is also being decreased to 50% of its original width and height
Screenshots
The text was updated successfully, but these errors were encountered: