mendel5 / heic-jpg-convert-linux

How to convert Apple's .HEIC images to .jpg in Linux terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

heic-jpg-convert-linux

How to convert Apple iPhone's .HEIC images to .jpg via Linux Terminal.

These commands can be used in Ubuntu versions >= 18.04.

Open a terminal and paste this command:

sudo apt install libheif-examples

Open the folder containing the .HEIC images in the terminal (e.g. navigate there by using cd and ls). Then use the following command:

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

Sources:

About

How to convert Apple's .HEIC images to .jpg in Linux terminal

License:GNU Affero General Public License v3.0