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.47k stars 209 forks source link

Sort and compress in alphabetical order (Windows Explorer's way) #202

Closed KillianVbrg closed 1 year ago

KillianVbrg commented 1 year ago

Hi again! 👋 When we have a large amount of files named from 1.jpg to xxxxxx.jpg, the sorting feature doesn't actually sort the way you'd expect it to do. And it is the same for the compression process unfortunately. Why isn't sorting the files like Windows Explorer would? 🫤

It can seems very trivial but think of it that way (I faced the problem). If you PC, or app crashes, with that kind of sorting, you don't really know what files had been compressed or not! Look at my screenshot of the app, the files 10,100,1000, 1001 and 1002 had been compressed. It means that if it crashes now, I cannot start compressing files from a certain file like 567 for example since files before and after this one had been compressed. The other solution would be to make your app remember the files already compressed but it'd still not resolve the unwanted sorting on the UI. 🥲

Example CIC Example WE

It'd be easier to use the app with a nice sorting for the UI AND for the compression process.

This is a great tool already anyway, so thank you very much for your work! 😉

KillianVbrg commented 1 year ago

Something else, it'd be nice to have the estimated time remaining and the possibility to pause the compression. Also being able to choose an action to perform after the compression would be great (like shutting the app down, putting the PC to sleep or turn it off...)

Lymphatus commented 1 year ago

Something else, it'd be nice to have the estimated time remaining and the possibility to pause the compression.

The estimated time remaining would be a very wild guess, because we cannot know how much time a files to take to compress. Is related to the file size, but very hard to estimate with an acceptable precision.

Also being able to choose an action to perform after the compression would be great (like shutting the app down, putting the PC to sleep or turn it off...)

This is something that can be implemented. I will make a separate feature request for this.

Lymphatus commented 1 year ago

Fixed in v2.4.1