How to convert photos from heic into jpg? [duplicate]
On ios devices photos are stored in heic. I turned on the option to "send originals", so when I send a photo from my phone to my mac, it is in heic format. The conversion is only necessary once in a while when some website requires jpg-format. For my own purposes I'd like to stick to the more efficient heic-format.
What ways are there to convert photos heic to jpg on macos? Assume the photo is on the mac file system. For solutions I would be specially grateful if you could take into account the following preferences:
- Software that is available on macos by default
- Software available on homebrew
- Other ...
Preview.app
- Open the HEIC with Preview.app
- File > Export...
- Format: JPEG
In batch:
- Select all the desired HEIC files in Finder at once (using shift + click or dragging)
- Right-click > Open with > Preview
- Use shift + click (or dragging) in Preview to select all the files in the sidebar
- File > Export Selected Images...
- Click options in the bottom-left of the dialog
- Set the format to JPEG
- Navigate to the location you want to save the new JPEGs
- Click "Choose" in the bottom-right of the dialog
Command line (ImageMagick)
brew install imagemagick
convert IMG_1234.HEIC image.jpg
In batch:
for file in *.HEIC ; do convert "$file" "${file%.HEIC}.jpg" ; done