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.56k stars 213 forks source link

Compression failed, the size and format of the picture did not change according to the setting #286

Open Eyion opened 3 months ago

Eyion commented 3 months ago

Describe the bug Compression failed, the size and format of the picture did not change according to the setting

Software version The version of Caesium Image Compressor 2.7.1 portable

Operating System information

To Reproduce Steps to reproduce the behavior:

  1. Add a picture in jpg format.
  2. In the compression options, select the mode for picture quality, and check "Lossless Compression" and "Preserve metadata".
  3. The picture size is set to width, and the width is 800px. Check "maintain aspect ratio".
  4. The output basically remains at the default setting, except that the format is changed to webp and the suffix is set to "- fixed"

Expected behavior The width changes to 800px, the height changes according to the scale of the original image, and the picture format changes from jpg to webp.

Screenshots image image

Application Log [2024-06-28 16:20:01.546][I] ---- Starting application ---- [2024-06-28 16:20:01.561][I] UUID: "5f5ebefc-1420-4f75-b29a-5b73d7e6b014" [2024-06-28 16:20:01.786][I] Starting UI [2024-06-28 17:07:28.727][W] OpenType support missing for "Microsoft YaHei UI", script 11 [2024-06-28 17:07:28.727][W] OpenType support missing for "Tahoma", script 11 [2024-06-28 17:07:28.727][W] OpenType support missing for "SimSun", script 11 [2024-06-28 17:07:28.727][W] OpenType support missing for "Arial", script 11 [2024-06-28 17:07:28.742][W] OpenType support missing for "MS UI Gothic", script 11 [2024-06-28 17:07:28.742][W] OpenType support missing for "Segoe UI Emoji", script 11 [2024-06-28 17:07:28.742][W] OpenType support missing for "Segoe UI Symbol", script 11 [2024-06-28 17:47:46.700][I] Compression ended successfully. Total images: 1 Uncompressed size: "28.85 KB" Compressed size: "28.85 KB" Elapsed time: 488 ms [2024-06-28 17:49:05.489][I] Compression ended successfully. Total images: 1 Uncompressed size: "28.85 KB" Compressed size: "28.85 KB" Elapsed time: 417 ms [2024-06-28 17:49:58.420][I] Compression ended successfully. Total images: 1 Uncompressed size: "28.85 KB" Compressed size: "28.85 KB" Elapsed time: 423 ms [2024-06-28 17:51:48.419][I] Compression ended successfully. Total images: 1 Uncompressed size: "28.85 KB" Compressed size: "28.85 KB" Elapsed time: 201 ms [2024-06-28 18:12:29.920][I] Compression ended successfully. Total images: 1 Uncompressed size: "28.85 KB" Compressed size: "28.85 KB" Elapsed time: 426 ms

Additional context Add any other context about the problem here.