AVIF images created by Photoshop in 16 bit are not supported from XnView MP.
Chrome open correctly. Test file here: https://www.byza.it/tmp/test.avif
Decoding error on 16 bit AVIF
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Author of XnView
- Posts: 40582
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 2
- Joined: Tue Jan 11, 2022 3:33 pm
Re: Decoding error on 16 bit AVIF
This problem affects all files saved from Photoshop using Av1Image.8bi plugin.
Source code: https://github.com/0xC0000054/avif-format
Actually I prefer convert 16 bit TIFF to AVIF using this plugin than XnView because of 16 bit support.
Source code: https://github.com/0xC0000054/avif-format
Actually I prefer convert 16 bit TIFF to AVIF using this plugin than XnView because of 16 bit support.
-
- Posts: 1
- Joined: Sun Jun 12, 2022 3:44 pm
Re: Decoding error on 16 bit AVIF
Hello, this is still not fixed, all the AVIF files I export from GIMP can't be opened by XnView MP (works fine in Chrome, GIMP)
It used to work before viewtopic.php?f=62&t=42804&p=174636
I added a sample file
OS: win 10 64bit
It used to work before viewtopic.php?f=62&t=42804&p=174636
I added a sample file
OS: win 10 64bit
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1
- Joined: Sat Mar 14, 2020 1:56 pm
Re: Decoding error on 16 bit AVIF
GIMP and the Photoshop AVIF plug-in use libheif library to save AVIF.
Older versions of libheif created AVIF which was not 100% standard-compliant.
When such AVIF was opened via new versions of libavif, the image was rejected because of the strict standard check (which is the default):
[Strict] Item ID 1 of type 'av01' is missing mandatory pixi property
There are two possible solutions:
1) Upgrade the libheif-based applications to newer versions (For example latest GIMP for Windows should use newer libheif)
2) Software using libavif can disable the strict checks ( strictFlags = AVIF_STRICT_DISABLED) and loading of AVIF files from old GIMP will be possible.
Older versions of libheif created AVIF which was not 100% standard-compliant.
When such AVIF was opened via new versions of libavif, the image was rejected because of the strict standard check (which is the default):
[Strict] Item ID 1 of type 'av01' is missing mandatory pixi property
There are two possible solutions:
1) Upgrade the libheif-based applications to newer versions (For example latest GIMP for Windows should use newer libheif)
2) Software using libavif can disable the strict checks ( strictFlags = AVIF_STRICT_DISABLED) and loading of AVIF files from old GIMP will be possible.
-
- Posts: 26
- Joined: Tue May 18, 2021 3:22 pm
Re: Decoding error on 16 bit AVIF
For me AVIF images viewing not worked since maybe it was implemented till latest versions. XnView MP can save to avif but can't open it afterwards! Also any other *.avif files created in any other tool (avifenc, nconvert, GIMP, Paint.NET, etc). In plugins tab at about page it shows as it should and I'm using portable version (downloaded from here https://download.xnview.com/XnViewMP-win-x64.zip).
-
- Author of XnView
- Posts: 40582
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Decoding error on 16 bit AVIF

Pierre.
-
- Author of XnView
- Posts: 40582
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Decoding error on 16 bit AVIF
This problem is supposed to be fixed in XnView MP 1.4.3. Please check and confirm the bug fix here.
Pierre.
-
- Posts: 26
- Joined: Tue May 18, 2021 3:22 pm
Re: Decoding error on 16 bit AVIF
I dunno why but if I open avif image from XnView with open file command all ok. But if I open it from Windows explorer with mouse click then instead of image XnView shows just white screen with no errors.