4 ms·
On NixOS, the libheif package provides a `heif-dec` command, which you can use as follows: heif-dec foo.heic foo.jpg
by zetalyrae 10mo ago
On NixOS, the libheif package provides a `heif-dec` command, which you can use as follows:
heif-dec foo.heic foo.jpg
- dangus 10mo agoThere are also things like Dolphin actions/addons (I forget what they’re actually called) that you can add so you can do a conversion with a right click. They basically consume the libheif command line tool so you install that as a prerequisite. Gwenview also opens them.
- dopple 10mo agoThis is exactly how I do it in KDE: > cat ~/.local/share/kio/servicemenus/convertHEIF.desktop [Desktop Entry] Type=Service MimeType=image/heif; Actions=convertHEIF [Desktop Action convertHEIF] Name=Convert to JPEG Icon=image-bmp Exec=/bin/sh -c "heif-dec -q 95 %u $(dirname %u)/$(basename %u .heic).jpg"
- dangus 10mo agoYes! This is exact what I was referring to.