Cannot open avif [solved]

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

xntest
Posts: 43
Joined: Mon Feb 26, 2007 11:07 pm

Cannot open avif [solved]

Post by xntest »

Hi

I've tried to open an avif, but XnView MP 1.8.7 under Linux Mint 20.3 only shows error message: "Fehler beim Öffnen der Datei" (Error on opening file).
I can open the file with an online viewer, so the file should be OK.

Do anybody know what is going wrong?
Last edited by xntest on Fri Mar 28, 2025 5:19 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 45862
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cannot open avif

Post by xnview »

do you have libheif?
Pierre.
xntest
Posts: 43
Joined: Mon Feb 26, 2007 11:07 pm

Re: Cannot open avif

Post by xntest »

Synaptic says, that libheif1 v1.6.1-1build1 is installed.

Code: Select all

libheif is an ISO/IEC 23008-12:2017 HEIF file format decoder. HEIF is a
new image file format employing HEVC (h.265) image coding for the best
compression ratios currently possible.
I think that is what you mean.
xntest
Posts: 43
Joined: Mon Feb 26, 2007 11:07 pm

Re: Cannot open avif

Post by xntest »

OK, libheif was the right hint and the problem was rely on an Linux issue.
I 've tested with Mint21.3 where it worked.
Then I've installed a newer version of libheif from strukturag (unfortunateley with some error messages and now I can open the avif-pictures.

Thaks a lot.