AVIF format still unavailable w/codecs installed

Hello,

  • _OpenMandriva Lx version:_25.01

  • Desktop environment (KDE, LXQT…): KDE

  • Description of the issue (screenshots if relevant):

[Edit: AVIF seems to be the only format with problems. JXL is working]

AVIF, JXL and probably other formats I don’t use are not working in any programs. This was already posted about in another thread but that thread died and I couldn’t reply to it. I haven’t found any solution;

(I tried posting a link here but it says I can’t post links. Search topic named: “Avif pictures not displayed in plasma6-gwenview-24.08.0-1”)

I am wondering if anyone has solved this already or thinks they can solve it now.

[Edit: older thread Avif pictures not displayed in plasma6-gwenview-24.08.0-1 ]

Welcome to OMLx! We’re glad you’re here. Although I can’t assist you in this problem, I can link to the topic you’re referring to: Avif pictures not displayed in plasma6-gwenview-24.08.0-1

You’ll be able to post links once your account here gets upgraded in status. That’ll happen soon.

1 Like

@chisao999
welcome1

More than sooon :stuck_out_tongue:
@chisao999 now you can.

1 Like

Welcome! We are glad you are here.

@rugyada beat me to it. She already raised your trust level.

1 Like

Thanks! Glad to be here!

Welcome @chisao999 to OpenMandriva and our forum. This forum is for users of OpenMandriva Linux operating systems.

OpenMandriva Forums are primarily users helping other users.

You are welcome to talk to our developers at OpenMandriva Chat.

Users with a problem need to read How to get better results when posting about problems before reporting any issue or problem. The article is not too long and Do Read.

When a new user has an issue please look in the documentation for OMLx. OpenMandriva wiki, Forum Resources guide and the “Search” function of the forum.

If you don’t find what you are looking for, try an Internet search. One can find out a lot from documentation or forum posts at other Linux distros. If user finds something written for another distro but you have some doubt ask at OpenMandriva Chat.

For serious technical issues and package/feature requests please file a bug report here.

Note: We are a small group. All the contributors and developers here are unpaid volunteers.
You can make OpenMandriva grow and improve by getting involved

Any help with testing would be appreciated whether one is technically proficient or a very non-technical user. The more people and more hardware we can get involved the better we can make OMLx releases and packaging. We do a lot of testing in VM’s as well. Developers tend to use Qemu, most user level testers use VirtualBox.

Some hopefully helpful suggestions:

We request that problems reported in forum or in a bug report be limited to one problem per thread or report.

We suggest that if your problem reported in the forum or on OM-Chat is not resolved in a few days to please file a proper bug report.

If you have not already done so scroll thru the “Big Fat Warning” at the top of this page and read the information or use the links provided.

Before reporting any problem please read this.

We are simply and respectfully trying to get people to be aware that as a very small group we are volunteering, unpaid, our time, knowledge, ect, to help you.

This was the first thing in my search.

Linux AVIF Package Support

To support AVIF images on Linux, you can install several packages depending on your distribution.

For KDE-based systems, the KDE Frameworks added support for AVIF to the “KImageFormats” library, enabling most KDE/Qt applications to support viewing and saving AVIF images.15 You may also need to ensure that libheif is up to date, as AVIF support in applications like GIMP depends on a compatible version of libheif .

For me, this was already installed, but I don’t know if they were talking about KDE Frameworks 5 or 6.

I did find avif-pixbuf-loader and installed it, but I think it only works with GTK apps.

Hello,

I might have made a mistake out of confusion concerning the JXL… It seems I can open those file types using the packages in the OM repository, not needing the libjxl and libjxl-tools… although lib64jxl is installed from the OM repository.

As for AVIF, I didn’t have the libheif package installed so I installed it from the OM repository and it didn’t fix the problem. AVIF is still coming up in all the progams I have as unable to open.

Also, correllary to this… when I try to open an AVIF with another program it doesn’t show GIMP as an option. And from inside GIMP avif files just don’t show up.

I have never heard of avif files. When I try to download one, it shows as a webp.

I will leave this for somewho who is more familiar with it.

1 Like

avif and jxl are almost equal in what they do, both competing to be the new lossless compression standard. Support for them varies, for example Chrome dropped support for jxl but not avif.

I wish i knew more myself, but I’m learning as I go.

Thanks for being here.

If you need .avif test image files you can download some from this page - AVIF browser test page: AVIF support in Chrome, Firefox, Edge… – libre-software.net – Linux, Firefox, LibreOffice

Gwenview or Krita do not show avif files for me either, Firefox from the repositories renders them okay, but it is a web browser and not an image tool.

In KDE’s kimageformats CMakeFile it lists libavif as an optional dependency with a target option in the imageformats CMakeFile , i.e. if it is found it will add avif format support and if not present support will not be added.

However, it is listed in the OMLx kf6-kimageformats spec file as a required build dependency making one think it should be being compiled with the support baked in but something else may be going on there.

2 Likes

Upgrade your ROME system:

sudo dnf dsync --refresh

You should see a new lib64avif and a new krita. Then see if .avif’s are displayed. Here the thumbnail displays in Dolphin, the .avif photo displays in Gwenview, Showfoto, and Krita. If it displays in Showfoto it most likely would in Digikam as well.

2 Likes

Broken packages fixed in less than a week. For a small distro/team, that is impressive.

1 Like