Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
Describe the bug
With the option "Skip if output size is bigger than the original" checked, the resulting file always has an extension selected in the "Format" drop-down menu.
Software version
v2.5.1
Operating System information
Windows 10 22H2
To Reproduce
Steps to reproduce the behavior:
Set output file type to JPEG
Try to compress some vector which is obviously smaller in PNG
Observe original PNG being copied with JPEG extension into destination folder
Expected behavior
Keep original extension if file is unchanged.
Describe the bug With the option "Skip if output size is bigger than the original" checked, the resulting file always has an extension selected in the "Format" drop-down menu.
Software version v2.5.1
Operating System information
To Reproduce Steps to reproduce the behavior:
Expected behavior Keep original extension if file is unchanged.
Screenshots![image](https://github.com/Lymphatus/caesium-image-compressor/assets/300146/25ec7e07-58f2-4e9f-afe8-e2eedd98bdb0)
Application Log