Page 1 of 1
1.6.4 Serious color coding bug in the Export function
Posted: Thu Feb 15, 2024 5:22 pm
by Kadet
[1.6.4] Win 11 - 64 bits
I just discovered a serious bug when using the Export function. This doesn't always happen, but when it does, it is noticeable.
As you can see in the image on the right, the colors are paler than the original on the left. When I press the 'Export' button, these broken colors are saved in file on the disk. The output format does not matter.
Everything is fine when I use the 'Save as' function.
Here's an image for testing:

- _TEST_FILE_.png (309.96 KiB) Viewed 1427 times
Please fix it ASAP.
Edit:
It's happens when ICC profile is ON.
Re: 1.6.4 Serious color coding bug in the Export function
Posted: Fri Feb 16, 2024 9:16 am
by xnview
could you send me the ouput file? What do you have in 'settings>Color profile'?
Re: 1.6.4 Serious color coding bug in the Export function
Posted: Fri Feb 16, 2024 3:38 pm
by Kadet
I make few tests more.
On/Off profile ICC has no effect on saving.
Saving is affected by the 'keep ICC' option. IF is ON in 'save as' function ICC profile is saving to file, but is not saving in Export function and we have wrong picture. IF is OFF in both file we have bugged image.
Output file:

- _TEST_FILE - EXPORT_.png (309.59 KiB) Viewed 1382 times
[Load]
...
ICCIntent=1
ICCProfile=
useSystemICC=true
ICCRGBDefault=1
ICCRGBDefaultProfile=
ICCCMYKDefault=1
ICCCMYKDefaultProfile=
[Save]
addExtensionIfNeeded=true
keepOriginalDate=true
keepEXIF=false
keepIPTC=false
keepXMP=false
keepICC=true
Re: 1.6.4 Serious color coding bug in the Export function
Posted: Sun Feb 18, 2024 2:51 pm
by xnview

Thanks to your detailed description I can reproduce
the problem.
Re: 1.6.4 Serious color coding bug in the Export function
Posted: Thu Feb 22, 2024 2:46 pm
by xnview
This problem is supposed to be fixed in
XnView MP 1.6.5. Please check and confirm the bug fix here.
Re: 1.6.4 Serious color coding bug in the Export function
Posted: Thu Feb 22, 2024 3:35 pm
by Kadet
Problem is resolved in half.
Still bug is when I export file to JPG, JPEG-XL, JPEG-XR, JPEG-2000
This is interesting, that when I use the "Save as" function and save a JPG file, and then I use export to JPG, the ICC is saved during export.
I also see something else, that ICC is not saved for JPEG-XL also with the "Save as" function.
Re: 1.6.4 Serious color coding bug in the Export function
Posted: Thu Feb 22, 2024 3:40 pm
by xnview
Currently ICC profile is not supported for JPEG-XL, JPEG-XR, JPEG-2000 output