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

Multi-thread slider in a compression panel #230

Open BlackGrimReaper opened 11 months ago

BlackGrimReaper commented 11 months ago

Is your feature request related to a problem? Please describe. The addition of a Multithread allocating system in the software has been a big help. I use it frequently but find it a hassle to go into settings to adjust it multiple times a day.

Describe the solution you'd like

Screenshot 2023-09-15 150641

Having a slider upfront like other 3 options, right where the blue box is marked in the screenshot above, to allocate the desired number of threads for the task would be highly beneficial.

Lymphatus commented 11 months ago

I'd like to keep the interface as clean as possible, especially in the "Compress" section. The multithread slider is an option for advanced users, so makes sense to me that is a little bit hidden. I thought once you set to a number you would leave as it is for a very long time. Why are you changing it often?

BlackGrimReaper commented 11 months ago

When working with renders, I often find myself processing batches of images. There are instances where I prefer certain images to be prioritized, while others can run in the background. Occasionally, I receive fresh renders that need conversion. However, if there's an ongoing background process, it necessitates opening a new window, navigating to settings, and allocating unused threads for the task.

Your suggestion to streamline the compression panel is spot-on. If you're hesitant about adding the slider directly to the compression panel, consider introducing a separate "Advanced" panel. In the settings, you can include a checkbox to enable or disable this advanced panel. Alternatively, you could provide an option to enable/show the multi-thread slider right at the forefront. The choice is yours!

Lymphatus commented 11 months ago

I'm more towards the idea of an "Advanced" panel, probably with an on/off toggle somewhere. Alpha versions had it, actually 😁 I'll try some iteration of that idea.

IITII commented 11 months ago

I think this is valuable. Because the load on the computer is not static. Let's say I have a maximum of 12 threads. In these scenarios I will use different thread numbers, 4 for code, 8 for music, 6 for video, 10 for chat, 3 for sleep, 11 for web. So it’s really convenient