Convert to AVIF on Linux

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderator: xnview

Nurge59
Posts: 2
Joined: Fri Nov 13, 2026 6:53 pm

Convert to AVIF on Linux

Post by Nurge59 »

Hello,

I’m running Linux CentOS 10 (a Red Hat derivative), and I’m unable to use NConvert to convert files to AVIF.
I can convert to other formats (jpg, webp, tga, png, etc.) but not AVIF.
Here is the code I’m using:

Code: Select all

./nconvert -out avif -ratio -rtype lanczos -rflag decr -resize longest 1280  ./Tuxp.png
Et l'image
Tuxp.png
I get the following message:
** NCONVERT v7.300 (c) 1991–2026 Pierre-E Gougelet (30 July 2026/12:19:45) **
** This is freeware software (for non-commercial use)

Error: Don't know how to write this picture (./Tuxp.avif)
The file is created but it is empty.

This is all the more puzzling as this command works perfectly well on Windows 10
To install NConvert, I simply downloaded and extracted NConvert-linux64.tgz. I’m running my tests in this folder.
It might be a silly mistake, but I can’t figure it out (I’m new to NConvert)

Many thanks in advance
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4627
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Convert to AVIF on Linux

Post by cday »

Is AVIF listed as a supported output format, I haven't used NConvert for some time?
Nurge59
Posts: 2
Joined: Fri Nov 13, 2026 6:53 pm

Re: Convert to AVIF on Linux

Post by Nurge59 »

Thank you for your reply.
The AVIF format isn’t mentioned in the list of formats, but there's ‘libavif.so’ in the plugins, and it is supported as it works on Windows 10 and XNConvert also supports it (on Windows and Linux).
BTW, it seems to me that the list of supported formats isn’t up to date: WEBP isn’t mentioned either.