Often times we need to convert image files for different tasks. The Imagemagick utility is great for doing this with your terminal. I found this super helpful specifically with doing things like converting ".heic" files over to ".jpeg" etc. This post is going to walkthrough some basic commands to do that and some additional links.
The specific use case I had with this need was when copying files from my iPhone over to my MacBook. Apple stores their images in the ".heic" format which is great for storage and performance, but often times you need JPEGs or PNGs. So this is where Imagemagick really shines. Once you install imageMagick you can just run a few quick terminal commands and this task is automated.
brew install imagemagick
Once that finishes, you can run convert your ".heic" files over to "jpg" with the following:
mogrify -format jpg *.heic
Then to remove the original ".heic" files, just run this: