Lymphatus / caesium-clt

Caesium Command Line Tools - Lossy/lossless image compression tool
http://saerasoft.com/caesium
Other
354 stars 34 forks source link

Provide a way to tell the user that compression might take a long time #30

Closed WPFilmmaker closed 1 year ago

WPFilmmaker commented 6 years ago

I tested caesum-clt with a 14mb heavy png photo, the terminal cursor scrolled down to a next line, therefore caesium-clt was working as expected. However a blank space with a stuck cursor for 6 minutes didn't help me to understand what was going on.

I propose two ideas which could be implemented:

1) Shows a status bar displaying how much is left to wait or alternatively display the % as "file photo.png is being compressed 40%"

2) detect the size of the input file and if over a certain amount (5?10mb?) display a warning message like: warning the file is heavy, compression might take a long time"

Lymphatus commented 6 years ago

Option 1 is possible (in theory) but requires a lot of work actually. So i think option 2 is a good compromise for now.