r/archlinux • u/BOZAYIBOGAN • 27d ago
SUPPORT magick doesn't work with .avif files despite libavif and libheif installed. What to do?
[user@host Downloads]$ ls
freddy.avif
[user@host Downloads]$ magick freddy.avif freddy.png
magick: no decode delegate for this image format `freddy.avif' @ error/constitute.c/ReadImageInternal/739.
[user@host Downloads]$ pacman -Q libavif libheif
libavif 1.4.2-1
libheif 1.23.7-1
16
Upvotes
17
u/BOZAYIBOGAN 27d ago edited 27d ago
FOUND THE PROBLEM! IT'S TURKISH LETTER I CASEFOLDING AGAIN!!! A TEXTBOOK CASE!
Turkish
I ı /ɯ/: eleventh letter of Turkish alphabet
"I": Latin Capital Letter I (U+0049)
"ı": Latin Small Letter Dotless I (U+0131)
İ i /i/: twelfth letter of Turkish alphabet
"İ": Latin Capital Letter I with Dot Above (U+0130)
"i": Latin Small Letter I (U+0069)
English
I i /aɪ/: ninth letter of English alphabet
"I": Latin Capital Letter I (U+0049)
"i": Latin Small Letter I (U+0069)
So HEIC becomes heıc.
EDIT: This is a bug. To reproduce, run
LC_CTYPE=tr_TR.UTF-8 magick input.avif output.png.1
u/spryfigure 27d ago
What's
magick identify -list formatsaying?3
u/Hamilton950B 27d ago
Works for me.
2
u/spryfigure 27d ago
I downloaded a avif test file to make sure that it works here, my
pacman -Q libavif libheifis the same as yours.When I run
I get a converted png image from the avif file. It's something only on your system. Maybe reinstall
imagemagickandlibavifandlibheif?