HEIF/HEIC on Linux?

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

JimDossan
Posts: 7
Joined: Wed Dec 30, 2020 1:49 am

HEIF/HEIC on Linux?

Post by JimDossan »

Hello everyone!

Searched the forums, but so far I only found the same question in some comments with no answer.

On Linux, can XnView MP support HEVC compressed photos (be it via plugins or other libraries), especially the thumbnail generation?

I found a thread on Reddit that talked about having libheif1 and libheif-dev installed, but that didn’t work for me so far on Ubuntu 20.4 LTS
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: HEIF/HEIC on Linux?

Post by xnview »

currently it's only supported on Windows/MacOS
Pierre.
JimDossan
Posts: 7
Joined: Wed Dec 30, 2020 1:49 am

Re: HEIF/HEIC on Linux?

Post by JimDossan »

Thank you for the answer, now I can stop wondering whether I'm doing something wrongly! :D

Then I'll have to use some other software for viewing the files while on Linux for now. Thanks again for all your work!
nightflame
Posts: 4
Joined: Sun May 30, 2021 10:50 am

Re: HEIF/HEIC on Linux?

Post by nightflame »

Is HEIF/HEIC supported on Linux yet?
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: HEIF/HEIC on Linux?

Post by xnview »

nightflame wrote: Fri Dec 29, 2023 7:10 am Is HEIF/HEIC supported on Linux yet?
yes you need to install libheif
Pierre.
nightflame
Posts: 4
Joined: Sun May 30, 2021 10:50 am

Re: HEIF/HEIC on Linux?

Post by nightflame »

Ah I found I needed to install libheif-dev specifically to get this to work.

Thanks
brst
Posts: 3
Joined: Thu Jan 11, 2024 11:09 am

Re: HEIF/HEIC on Linux?

Post by brst »

nightflame wrote: Wed Jan 03, 2024 10:32 am Ah I found I needed to install libheif-dev specifically to get this to work.
Great! This works for me too! 8)
Thank You!
fbachofner
Posts: 28
Joined: Tue Feb 19, 2008 4:28 am
Location: California

Re: HEIF/HEIC on Linux?

Post by fbachofner »

nightflame wrote: Wed Jan 03, 2024 10:32 am Ah I found I needed to install libheif-dev specifically to get this to work.
On Fedora this package is named

Code: Select all

libheif-devel
So:

Code: Select all

sudo dnf install libheif-devel
Some additional (Fedora) libraries I have found to be useful to load heic/heif when using other image viewing programs such at Shotwell, qView and showFoto / digiKam are
  • libheif-tools
  • libheif-freeworld
  • qt-heif-image-plugin
  • heif-pixbuf-loader
------------------------------------
XnView MP and XNView 2.x
on a variety of Linux machines
(and a couple Windows boxes)