scripts | Last modified: 2021-11-28 23:31:51 743362 Heif To Jpg #linux #script


Requirements

sudo apt-get install libheif-examples

Command

heif-convert image.HEIC image.jpg

Script

#!/bin/bash
for image_filename in *.HEIC
do
echo "Working on file $f"
heif-convert $img_filename ${img_filename%.*}.jpg
done