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

some suggestions and troubleshooting request. #190

Closed medukia closed 1 year ago

medukia commented 1 year ago

Hello! First I want to thank you to make this quality software. It does what it says it does, I am happy that I found this repository.

Without further ado, a few questions/suggestions regarding the use of Caesium.

  1. The window size and position always defaults to its original state once the window is maximized, closed and reopened. I want to keep the window size and position no matter what. I usually drag and drop the item into the main window, so it's important to keep the window smaller than the default size so it won't hide my file explorer.
  2. I want to have an option "always on top" for the same reason as 1. It will make drag&drop easier.
  3. Wish there's support for more image file formats(.bmp, .gif, .tiff, etc)
  4. Wish there's support for compression with Archive file(.zip, .epub, etc) without first extracting them.
  5. The command line tool (https://github.com/Lymphatus/caesium-clt) stops after compressing first few files. This is the command I tried : caesiumclt -q 80 -R -o "C:\Users\MyFolder\Downloads\compressed images" "C:\Users\MyFolder\Downloads\thisismyimage" The folder contains hundreds of images to be processed but after processing 9 files(image001 to image009) it doesn't further process the rest. Moreover, the reduction in file size is minimal compared to GUI for the same file and quality value. Is this because I didn't install rust or something?

Hope to hear from you :)

Lymphatus commented 1 year ago

Thanks for you feedback!

  1. Can you describe a little bit better your scenario? In theory the window is always restored to the state when it was closed. Do you need something different or it's just not working as intended?
  2. This is a bit tricky because the application is multi-platform and each window manager has different implementations of what you suggest
  3. I plan to add other formats, but there's no schedule yet. You can request a new format in the libcaesium repository. You can already see there're a few.
  4. This is may be handy, but a bit out of the scope of the software. May come one day, but it's very low priority.
  5. There's an issue with some images and the software just hangs on some of them. Please open an issue in the caesium-clt repository and I will track it there, since it's related only to that project. By the way the compression ratio should be absolutely the same as the GUI version, they both use libcaesium
medukia commented 1 year ago

Thank you for the heads up!

  1. Oh maybe my explanation was a bit confusing. For example, when the program is on, I resize the window by dragging the edges of it, and later on I close the window and reopen, in which case the program window remains the same the last time I used it. When I maximize the window while using Caesium and close it, however, the window size reverts back to the one when I first run it. This does not happen when I demaximize the window before exiting.
  2. I see. At this moment, I will use simple Autohotkey script as a workaround that will do the trick.
  3. Glad to hear that!
  4. I understand. Since I have a lot of graphical ebooks, I plan to use Caesium to replace Calibre which also supports batch image compression but it does very poor job when handling PNG images, and is in most cases much slower than Caesium. The only merit Calibre has over Caesium is its ability to edit Ebub's contents on the spot. But No problem.
  5. what a relief it isn't just me who have such an issue. Since Caesium's GUI supports adding multiple folders in the queue and has an option to save them in the same location they're in, I can handle repetitive tasks as easily as in command line tools.

Thanks a million!

Lymphatus commented 1 year ago

Do you mind opening a separate issue (tagged as bug) for the first point? Helps me tracking it and I can close this one. Thanks!

medukia commented 1 year ago

Do you mind opening a separate issue (tagged as bug) for the first point? Helps me tracking it and I can close this one. Thanks!

done. :)