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

What is the supported max resolution for compressing jpg files? Compression failed for 41000 * 15373 #249

Open handloong opened 8 months ago

handloong commented 8 months ago

Describe the bug I have a JPG file with a high resolution and successfully compressed, but it cannot be opened

Software version Caesium Image Compressor.exe [2.5.1] image

handloong commented 8 months ago

Original file : https://github.com/handloong/files/blob/main/caesium/41000_15373.jpg

Lymphatus commented 8 months ago

Can you share the compression options you used? You can see them when going to "Edit > Preferences... > Show Usage Data" (编辑 > 选项... > 展示使用数据). It may be something related to the compression options.

handloong commented 8 months ago

Can you share the compression options you used? You can see them when going to "Edit > Preferences... > Show Usage Data" (编辑 > 选项... > 展示使用数据). It may be something related to the compression options.

I apologize for providing very little information. Here is more information

parameters are default :

系统数据
{
    "appVersion": "2.5.1",
    "cpuArchitecture": "x86_64",
    "kernelType": "winnt",
    "kernelVersion": "10.0.22621",
    "productType": "windows",
    "productVersion": "11",
    "uuid": "3c85c045-c7a2-4da2-be4a-b2441ba0f314"
}

压缩数据
{
    "compressedSize": "...",
    "compressionOptions": {
        "compression/jpeg_quality": 50,
        "compression/keep_metadata": "true",
        "compression/keep_structure": "false",
        "compression/lossless": "false",
        "compression/max_output_size": 500,
        "compression/max_output_size_unit": 0,
        "compression/mode": 0,
        "compression/png_quality": 80,
        "compression/webp_quality": 80,
        "output/format": 0,
        "output/keep_creation_date": "false",
        "output/keep_dates": 0,
        "output/keep_last_access_date": "false",
        "output/keep_last_modified_date": "false",
        "output/output_folder": "D:\\Work\\Lux.Filetransfer\\HT",
        "output/output_suffix": "",
        "output/same_folder_as_input": "true",
        "output/skip_if_bigger": "true",
        "resize/do_not_enlarge": "false",
        "resize/fit_to": 0,
        "resize/height": 1000,
        "resize/keep_aspect_ratio": "false",
        "resize/resize": "false",
        "resize/size": 1000,
        "resize/width": 1000
    },
    "elapsedTime": "...",
    "totalFiles": "...",
    "uncompressedSize": "...",
    "uuid": "3c85c045-c7a2-4da2-be4a-b2441ba0f314"
}

image

image

After compressing the image, I use HoneyView to browse the image and it can be opened for browsing, but it cannot be zoomed in or out

image