ImageMagick + HEIC / AVIF disappeared after updates

What happened to ImageMagick AVIF support after the latest Fedora 41 updates?

After installing the latest updates on Fedora 41, AVIF support in ImageMagick seems to be gone. Running:

magick -list format | grep AVIF

Now returns nothing, and AVIF/HEIC formats are no longer supported.

However, on systems with Fedora 41 without the latest updates, the same command returns:

AVIF HEIC rw+ AV1 Image File Format (1.17.6)

I haven’t made any configuration changes—only installed the latest system updates.

Is this a known issue? Has something changed in the package dependencies?

1 Like

HEIC is patent encumbered. I guess someome noticed.

install libheif-freeworld from rpmfusion repositories

https://koji.rpmfusion.org/koji/buildinfo?buildID=31009

2 Likes

It’s a miracle after installing ImageMagick-heic everything is working again.
The problem is that I hadn’t removed ImageMagick-heic
I don’t know whats is going on

2 Likes

I had this happen about a month ago. I think my use of the RPMFusion package and a conflict caused the issue. I didn’t document it as I was in a hurry to get my script going. I use ImageMagick to convert .jpeg, .png to .avif with parallel


This has now happened to me again.

mogrify: unrecognized image format `avif' @ error/mogrify.c/MogrifyImageCommand/4950.

So I ran :

dnf update libavif avif-pixbuf-loader libheif-freeworld libheif
Last metadata expiration check: 1:08:21 ago on Sat 08 Feb 2025 10:16:16 AM EST.
Dependencies resolved.
Nothing to do.
Complete! 

So running :

Also has not fixed it for me.

Install ImageMagick-heic, as mentioned.