XnView: MP Windows Version 1.4.0 64bits
OS: Windows 10 64bit
When i save a JPEG-XL with the save dialog, i get a slightly wrong colored photo, saved with batch it is normal.
Effect: wrong colors
Here a the sample photos.
https://0x777.de/xnview/
JPEG-XL save dialog wrong color
Moderators: helmut, XnTriq, xnview, Dreamer
Re: JPEG-XL save dialog wrong color
Hello Wupi,
I checked your sample image and your saved jxl files.
Generally you are right, that there are small different colors in the saved jxl picture from 'save as' dialog.
XnviewMP is not the cause of your problem. The jpeg xl library for saving or your compression settings are the reason!
I compared your both jxl files and detect a small file size difference.
You used different compression settings! In most cases the compression effort (=efficiency) is the problem.
All dialogs in XnviewMP (batch conversion, file export and save as) have their own jpeg xl settings for saving!
Reason for different colors:
JPEG XL is a new picture format, which use other color systems (RGB, HSL, etc.) than other picture formats (jpeg, etc.).
So it is possible, that your saved jxl picture get slightly different colors than your original jpeg file.
You will get this behaviour, if you use a lower compression effort (possible levels 1-9) for saving your jxl file.
I usually use level 7-9 for good results to prevent this color problem. Level 7-9 will be not very fast, but the file size is the smallest under the same compression quality condition.
I checked your sample image and your saved jxl files.
Generally you are right, that there are small different colors in the saved jxl picture from 'save as' dialog.
XnviewMP is not the cause of your problem. The jpeg xl library for saving or your compression settings are the reason!
I compared your both jxl files and detect a small file size difference.
You used different compression settings! In most cases the compression effort (=efficiency) is the problem.
All dialogs in XnviewMP (batch conversion, file export and save as) have their own jpeg xl settings for saving!
Reason for different colors:
JPEG XL is a new picture format, which use other color systems (RGB, HSL, etc.) than other picture formats (jpeg, etc.).
So it is possible, that your saved jxl picture get slightly different colors than your original jpeg file.
You will get this behaviour, if you use a lower compression effort (possible levels 1-9) for saving your jxl file.
I usually use level 7-9 for good results to prevent this color problem. Level 7-9 will be not very fast, but the file size is the smallest under the same compression quality condition.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
Re: JPEG-XL save dialog wrong color
Nope, its 7 and quality 85 on booth photos.masterjp wrote: Wed Dec 14, 2022 6:57 pm You used different compression settings! In most cases the compression effort (=efficiency) is the problem.
I tried lossless compression 7 and the colors are as expected on booth photos. They have also a different filesize.

The hex comparison shows two completely different files, lossless files should be identical with the same settings.
Re: JPEG-XL save dialog wrong color
I did the same test with your testfile under your conditions (Quality 85% and Effort 7).
Both files (Batch and save as) have the same filesize and there are no color changes.
The color of both files match with the original jpeg.
I think you did not use the same settings for saving.
Both files (Batch and save as) have the same filesize and there are no color changes.
The color of both files match with the original jpeg.
I think you did not use the same settings for saving.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
Re: JPEG-XL save dialog wrong color
Looks like the sRGB option alters the saved file but only when is use the save dialog.
Re: JPEG-XL save dialog wrong color
Interesting. I don't use icm profiles, because I thought Windows use them for all programs.
Is your display calibrated with a software or is it a file from your display driver?
I used an older Spyder calibration device to calibrate my display.
Maybe it is better to use the icm profile with in windows and not in XnviewMP.
Is your display calibrated with a software or is it a file from your display driver?
I used an older Spyder calibration device to calibrate my display.
Maybe it is better to use the icm profile with in windows and not in XnviewMP.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
Re: JPEG-XL save dialog wrong color
When using ICC profile, you change the data of picture (edit mode)
Pierre.