2021-05-17
My camera writes photos in the High Efficiency Image File Format (HEIF) but darktable doesnโt yet support reading them. As a stopgap Iโve scripted a wrapper around darktable that converts them to a supported format.
To use it I right-click on a HEIF file and choose Open withโฆ โ darktable (HEIF). A progress bar displays while files are converted, then darktable opens.
To discourage long-term reliance upon interim files and reduce clutter in the photo store, the outputs are kept in /tmp
and symlinked into the photo store. Temporary files needed during the conversion are written only to /dev/shm
to avoid unnecessary writes to persistent storage.