Lymphatus / caesium-image-compressor

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.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.67k stars 217 forks source link

"Skip if output size is bigger than the original", but still copy the original file to the output folder #297

Open aleksvujic opened 2 months ago

aleksvujic commented 2 months ago

Currently, if "Skip if output size is bigger than the original" is checked and user starts the compression process, the compressed files which are larger than the original file are not copied to the output folder. This means that at the end, output folder will have less images in it than the source folder.

image

There should be an option which would allow user to specify if original file should be copied to the output folder if the compressed one is bigger. As it is implemented now, the output directory only contains files whose size is smaller than original's, which means that some of the images are missing.