Failed to convert to avif format
Moderators: helmut, XnTriq, xnview
Failed to convert to avif format
As a Linux Mint user, I downloaded the latest version of XnConvert. I converted a PNG image to AVIF and received an error message saying "Not an image." However, it worked with any format other than AVIF.
Even when I converted from XnView, it didn't work. It just created a white file with a size of zero bits.
I tried the same thing with a different program, and it worked.
I hope for a quick response.]
Even when I converted from XnView, it didn't work. It just created a white file with a size of zero bits.
I tried the same thing with a different program, and it worked.
I hope for a quick response.]
Re: Failed to convert to avif format
No just libavif
And even this did not work with the program
Re: Failed to convert to avif format
I downloaded the libraries libheif libavif and nothing worked.
Re: Failed to convert to avif format
only libheif/libheif-dev is needed. which libheif.so do you have?phars wrote: Wed Aug 13, 2025 6:41 pm I downloaded the libraries libheif libavif and nothing worked.
Pierre.
Re: Failed to convert to avif format
libheif.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libheif.so.1
libheif.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libheif.so
Is there something missing?
Re: Failed to convert to avif format
all seems good, i've tried on ubuntu 24 and no problem to write in avif

Pierre.
Re: Failed to convert to avif format
I am using the latest version of Linux Mint and yet I still encounter the problem. The strange thing is that I did not encounter this problem in Windows.

In Linux, when I convert an image to this avif format, it gives me an error message but creates images with a size of 0 bytes.
Re: Failed to convert to avif format
What should I do now? ;-;
Re: Failed to convert to avif format
i've installed latest Mint, and right you need to install libheif-plugin*
Pierre.
Re: Failed to convert to avif format
Excellent and what is the best way to install and ensure its operation?xnview wrote: Sun Aug 17, 2025 7:58 am i've installed latest Mint, and right you need to install libheif-plugin*

Re: Failed to convert to avif format
I have converted the image to heic format manually using this command
It worked and the same thing happened with avif
But it did not work with the program
![Image]()
Code: Select all
heif-enc input.jpg -o output.heic
But it did not work with the program
- Attachments
-
- Screenshot from 2025-08-19 15-02-07.png (2.56 KiB) Viewed 195 times
-
- Screenshot from 2025-08-19 14-59-40.png (19.54 KiB) Viewed 195 times