XnViewMP 1.6.5 64bit
Windows11 (23H2), display resolution 3840x2160, win scaling 150%
Save - format
color shifts when saved into AVIF
To reproduce:
1. save any image (eg test png) into AVIF via XnViewMP (any format settings, eg lossless, 444-420)
result image looks same as source
2. check source/result images in FastStone / Photoshop / MS Paint / MS Photos
colors are slightly different
not sure who exactly has issue here
ps. nomacs, online converter convert to AVIF without such issue, colors remain the same
1.6.5 - save - avif - color shifts
Moderators: helmut, XnTriq, xnview, Dreamer
1.6.5 - save - avif - color shifts
Last edited by user0 on Wed Mar 27, 2024 9:33 am, edited 4 times in total.
Re: 1.6.5 - save - avif - color shifts
I test one image with set ICC Profile and in my opinion issue is in MS Paint which don't look for ICC.
Re: 1.6.5 - save - avif - color shifts
the file is HEIF not AVIFuser0 wrote: Sun Mar 03, 2024 7:58 am ps. online converter converts to AVIF without such issue, colors remain the same
Pierre.
-
- Posts: 12
- Joined: Mon Dec 06, 2021 1:55 pm
Re: 1.6.5 - save - avif - color shifts
I think it is a problem caused by WIC (Windows Imaging Component).
Mspaint decodes AVIF through WIC. WIC decoding AVIF causes color difference.
Mspaint decodes AVIF through WIC. WIC decoding AVIF causes color difference.
Re: 1.6.5 - save - avif - color shifts
Just found out that Nomacs can save into AVIF as well (guess via heif.dll of different version), and result opens in mentioned apps without issues.
test_img.zip updated
Could the problem be that wrong ICC profile is embedded in the resulting image?
UPD 2024-04-02
noticed that AVIFs with transparency (from dell site) looks OK in XnViewMP, Nomacs and browsers, but not other apps:
test_img.zip updated
Could the problem be that wrong ICC profile is embedded in the resulting image?
UPD 2024-04-02
noticed that AVIFs with transparency (from dell site) looks OK in XnViewMP, Nomacs and browsers, but not other apps: