I'm trying to open a HEIC file to convert to jpg or png using darktable. I'm using Kubuntu: Ubuntu 22.04.4 LTS.
I have the latest version of darktable installable using apt from ubuntu packages, 4.6.1. The version info for darktable is here:
$ darktable --versionthis is darktable 4.6.1Copyright (C) 2012-2024 Johannes Hanika and other contributors.Compile options: Bit depth -> 64 bit Debug -> DISABLED SSE2 optimizations -> ENABLED OpenMP -> ENABLED OpenCL -> ENABLED Lua -> ENABLED - API version 9.2.0 Colord -> ENABLED gPhoto2 -> ENABLED GMIC -> ENABLED - Compressed LUTs are supported GraphicsMagick -> ENABLED ImageMagick -> DISABLED libavif -> DISABLED libheif -> DISABLED libjxl -> DISABLED OpenJPEG -> ENABLED OpenEXR -> ENABLED WebP -> ENABLED
Assuming libheif is what supports HEIC files, I tried installing libheif, but it doesn't exist, and I already have libheif1:
$ sudo apt install libheifReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneE: Unable to locate package libheif$ sudo apt install libheif1Reading package lists... DoneBuilding dependency tree... DoneReading state information... Donelibheif1 is already the newest version (1.12.0-2build1).libheif1 set to manually installed.
libheif seems to exist for jammy: https://launchpad.net/ubuntu/+source/libheif/1.12.0-2build1/+build/22381572
I have tried googling, but I can't see any info on how to enable HEIC/HEIF file support in darktable. No-one else seems to have this issue. How can I do it? Preferably without compiling it myself. Thanks.