Using libheif Install libheif (brew install libheif on mac). Put images in img folder and then run make_convert_script.py. Run the conversion with ./heic_convert_command.sh Using pure python BROKEN Put HEIC files in the img folder, run script, outputs results to same.