Skip to content

libheif1 >= 1.18 on debian 12 bookworm (installing packages from backport in debian stable)

Add this line to /etc/apt/sources.list:
deb http://deb.debian.org/debian bookworm-backports main
Run:
# apt-get update
# apt install -t bookworm-backports libheif1

This solves the issues encountered when decoding HEIF (.heic) files produced by iPhone / iOS 18, causing for instance rendering in Nextcloud to fail.

This page has more details on using Backports.


Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu

Since Apple moved from JPEG to HEIF as default format about two years ago, there has been a lot of progress.

There is a very straightforward way to add minimal HEIC/HEIF support to Ubuntu:
sudo add-apt-repository ppa:strukturag/libheif
sudo apt-get install heif-gdk-pixbuf heif-gimp-plugin heif-thumbnailer

That's it! You don't even need to logout or restart, the new functionality is available immediately.

More details here and here.