1. Install heif-convert

pip install heif-convert

2. Run the code to convert everyimage in folder

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