Convert HEIC to JPG Images

Refer: https://ubuntuhandbook.org/index.php/2021/06/open-heic-convert-jpg-png-ubuntu-20-04/

Install Application for Conversion

sudo apt-get update
sudo apt-get install libheif-examples

Convert a File, you can keep default 92 by not specifying quality

heif-convert input.HEIC output.JPG
heif-convert -q 85 input.HEIC output.JPG

Or you can batch an entire folder

for file in *.HEIC; do heif-convert $file ${file/%.HEIC/.jpg}; done

Leave a Reply