Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation on Ubuntu

:::bash
wajig install heif-gdk-pixbuf libheif-examples

Usage

:::bash
heif-convert input.HEIC output.jpg

Batch Convert Using IPython / JupyterLab

If you have multiple HIEC images and you want to convert all of them to JPG images, then you use the following code in IPython or a JupyterLab notebook.

:::bash
for p in Path().glob("*.HEIC"):
    !heif-convert {p} {p.with_suffix(".jpg")}

References