ggeraci
(Giovanni Geraci)
November 6, 2024, 8:03pm
1
Hello Fedora Community!
I’m opening this thread because I’m unable to open HEIC files using Gnome Image Viewer on Fedora 41.
I understand Fedora does not support HEIC out of the box for some licenses issues, that’s why I’ve already installed libheif-freeworld from RPMFusion repository:
$ rpm -qa | grep heif
rpm -qa | grep heif
libheif-1.17.6-2.fc41.x86_64
heif-pixbuf-loader-1.17.6-2.fc41.x86_64
libheif-tools-1.17.6-2.fc41.x86_64
libheif-freeworld-1.17.6-4.fc41.x86_64
It seems this is not enough, because I cannot open the files.
Gnome Image Viewer shows this error when opening the file:
Remote error: org.gnome.glycin.Error.LoadingError: loaders/glycin-heif/src/bin/glycin-heif.rs:27:78: InvalidInput(Unspecified) Invalid input: Unspecified: Too many auxiliary image references
Any idea on how can I fix this issue?
1 Like
Is ffmpeg-libs or libavcodec-freeworld installed?
catanzaro
(Michael Catanzaro)
November 6, 2024, 8:50pm
3
But I don’t think glycin actually uses those? It uses libheif via libheif-rs.
I’m not sure whether RPM Fusion actually offers extra glycin loaders. Don’t think so.
ggeraci
(Giovanni Geraci)
November 6, 2024, 9:05pm
4
ffmpeg-libs is already installed, libavcodec-freeworld is missing.
Is it required for opening HEIC files?
rathann
(Dominik Mierzejewski)
November 12, 2024, 11:44pm
6
Can you link an example HEIC file that is triggering this error?
I tried a couple of samples from HEIC sample file gallery | Download HEIC test file and I can’t reproduce your error.
1 Like
rathann
(Dominik Mierzejewski)
November 13, 2024, 12:07am
7
No extra glycin loaders are needed. Fedora includes libheif loader already. The only things required from RPM Fusion are libheif-freeworld
and libde265
. The ffmpegdec
libheif decoder provided by libheif-freeworld
is not required for HEIC decoding (yes, I tested that).
1 Like
rathann
(Dominik Mierzejewski)
November 13, 2024, 12:09am
8
Giovanni Geraci:
ffmpeg-libs is already installed, libavcodec-freeworld is missing.
Is it required for opening HEIC files?
You only need one of those and neither is required for decoding HEIC files.
kmilos
(Miloš Komarčević)
November 13, 2024, 10:20am
9
If these are iPhone HEICs from a more recent iOS you’ll need to wait until libheif is updated to at least 1.18.x .
qvest
(Ian Meyer)
November 13, 2024, 10:29am
10
Can confirm this is also happening to me in Fedora KDE 41. I have kf6-kimageformats
and heif-pixbuf-loader
installed. The HEIC files I have are from an older iOS version
1 Like
ggeraci
(Giovanni Geraci)
November 13, 2024, 10:59am
11
That can explain why I cannot open HEIC files: the photos were taken using iOS 18.
Thanks for the hint!
I’ll wait until libheif 1.18.x is available in Fedora repositories.
rathann
(Dominik Mierzejewski)
December 10, 2024, 9:19pm
12
Thanks for the information, guys. We’ll see what we can do about updating libheif to 1.18.x in F41.
3 Likes