WebP Compression Error in XnView MP
Posted: Sat Mar 22, 2025 1:15 pm
Required Tools:
The latest version of xnviewmp
xnviewmp 1.5.5 (the xnviewmp.exe file from version 1.5.5 is required)
cwebp.exe (libwebp 1.4.0)
Setup:
Rename xnviewmp.exe from version 1.5.5 to 1.5.5.exe and drop it into the folder of the latest xnviewmp installation.
Configure the batch conversion settings to aim for lossless compression and maximum compression efficiency.
The latest version is here.
Version 1.5.5 is here.
Not retaining metadata will likely lead to more accurate results.
Place cwebp.exe directly in the root of the C: drive.
Test 1: Comparing File Sizes
Create sample WebP files using both the latest xnviewmp.exe and 1.5.5.exe. Compare the file sizes.
------------------------------original.jpg---buddicat.jpg---(byte)
--------original----------|----29,581----|-------179,093
xnviewmp1.8.6(webp)|-----3,338-----|----1,035,359
xnviewmp1.5.5(webp)|-----3,338-----|----1,033,952
Test 2: Using cwebp.exe
Recreate the conditions using cwebp.exe with the following encoding options:
-lossless -q 100 -m 6 -f 0 -sharpness 0
Note: -o must be manually specified for successful encoding.
------------------------------original.jpg---buddicat.jpg---(byte)
cwebp.exe(webp)-----|--------168----|----1,033,952
Analysis:
Despite using the same settings, cwebp.exe and xnviewmp produce slightly different file sizes:
The file size for original.jpg created by cwebp.exe is significantly smaller (168 bytes). This can be attributed to cwebp.exe discarding EXIF metadata.
For buddicat.jpg, both tools generate files of identical size because no metadata was present in the original image.
Suspicious Compression in xnviewmp 1.8.6:
Compression in xnviewmp 1.8.6 appears abnormally fast and less efficient compared to xnviewmp 1.5.5.
This suggests that the compression ratio may have been improperly lowered in the newer version.
Request for Resolution:
The results strongly indicate that xnviewmp’s WebP compression has become less effective in recent versions (after 1.5.5).
Please investigate and address why the latest xnviewmp versions fail to produce properly compressed WebP files.
Attached to this report are:
The generated WebP files for review.
The tools used (cwebp.exe and xnviewmp executables).
A batch script for reproducing the issue (just drag and drop images into the script).
This problem remained unresolved for several years. I hope this report provides enough evidence for an investigation. If additional information is required, please let me know.
The latest version of xnviewmp
xnviewmp 1.5.5 (the xnviewmp.exe file from version 1.5.5 is required)
cwebp.exe (libwebp 1.4.0)
Setup:
Rename xnviewmp.exe from version 1.5.5 to 1.5.5.exe and drop it into the folder of the latest xnviewmp installation.
Configure the batch conversion settings to aim for lossless compression and maximum compression efficiency.
The latest version is here.
Version 1.5.5 is here.
Not retaining metadata will likely lead to more accurate results.
Place cwebp.exe directly in the root of the C: drive.
Test 1: Comparing File Sizes
Create sample WebP files using both the latest xnviewmp.exe and 1.5.5.exe. Compare the file sizes.
------------------------------original.jpg---buddicat.jpg---(byte)
--------original----------|----29,581----|-------179,093
xnviewmp1.8.6(webp)|-----3,338-----|----1,035,359
xnviewmp1.5.5(webp)|-----3,338-----|----1,033,952
Test 2: Using cwebp.exe
Recreate the conditions using cwebp.exe with the following encoding options:
-lossless -q 100 -m 6 -f 0 -sharpness 0
Note: -o must be manually specified for successful encoding.
------------------------------original.jpg---buddicat.jpg---(byte)
cwebp.exe(webp)-----|--------168----|----1,033,952
Analysis:
Despite using the same settings, cwebp.exe and xnviewmp produce slightly different file sizes:
The file size for original.jpg created by cwebp.exe is significantly smaller (168 bytes). This can be attributed to cwebp.exe discarding EXIF metadata.
For buddicat.jpg, both tools generate files of identical size because no metadata was present in the original image.
Suspicious Compression in xnviewmp 1.8.6:
Compression in xnviewmp 1.8.6 appears abnormally fast and less efficient compared to xnviewmp 1.5.5.
This suggests that the compression ratio may have been improperly lowered in the newer version.
Request for Resolution:
The results strongly indicate that xnviewmp’s WebP compression has become less effective in recent versions (after 1.5.5).
Please investigate and address why the latest xnviewmp versions fail to produce properly compressed WebP files.
Attached to this report are:
The generated WebP files for review.
The tools used (cwebp.exe and xnviewmp executables).
A batch script for reproducing the issue (just drag and drop images into the script).
This problem remained unresolved for several years. I hope this report provides enough evidence for an investigation. If additional information is required, please let me know.