RSSAmplifier

Gab's Notes · Nov 25, 2025

Convert HEIC (iPhone) pictures to JPG on CLI

0
Sign in to vote or save

Gab's Notes

When handling pictures from iOS devices on other operating systems, we often see the infamous .heic extension. Some web services like ones who offer to produce a photo book or calendar and which are overly popular around the winter festivities only accept JPEG files.

Here’s a quick snippet for converting these HEIC files to JPEG (it’s fish but bash or other shells probably provide similar functionalities):

for f in *.heic
  heif-convert "$f" "$(path change-extension 'jpg' $f)"
end

It depends on heif-convert, which is provided by libheif-tools on Fedora.

dnf install libheif-tools

If you have the relevant commands for bash/zsh and other distros, please send an email so I can update this article 😊



Read the original on gabnotes.org

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.