How to convert .heic images to .jpg on a mac
May 4, 2021
Easily convert airdropped photos (.heic) to.jpg for easy uploading by running the following three commands on your command line.
Step 0: Install libraries (only need to do this once)
$ brew install imagemagick
$ brew install renStep 1: Enter downloads directory
$ cd ~/DownloadsStep 2: Convert files
$ ren '*.heic' '#1.HEIC'; magick mogrify -monitor -format jpg *.HEICStep 3: Remove .heic files
$ rm *.HEIC
For repeated use it’s best to add an alias to your .zsh or .bash_profile. Below I named mine convert_heic
alias convert_heic="cd ~/Downloads && ren '*.heic' '#1.HEIC'; magick mogrify -monitor -format jpg *.HEIC; rm *.HEIC"