Skip to content

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

License

Notifications You must be signed in to change notification settings

mendel5/heic-jpg-convert-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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: