top | item 46361226

(no title)

zetalyrae | 2 months ago

On NixOS, the libheif package provides a `heif-dec` command, which you can use as follows:

    heif-dec foo.heic foo.jpg

discuss

order

dangus|2 months ago

There 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|2 months ago

This 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"