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: xnview, Dreamer
-
user0
- XnThusiast
- Posts: 2848
- Joined: Sat May 09, 2015 9:37 am
1.6.5 - save - avif - color shifts
You do not have the required permissions to view the files attached to this post.
Last edited by user0 on Wed Mar 27, 2024 9:33 am, edited 4 times in total.
-
Kadet
- Posts: 230
- Joined: Thu Oct 20, 2022 7:23 pm
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.
-
xnview
- Author of XnView
- Posts: 47528
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
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.
-
tuwulin365
- 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.
-
user0
- XnThusiast
- Posts: 2848
- Joined: Sat May 09, 2015 9:37 am
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:
You do not have the required permissions to view the files attached to this post.