How can I convert Apple iPhone HEIF/HEIC photos to JPEG?

Asked 8/8/2017

1 views

2 answers

0

I have photos from an Apple iPhone in HEIF/HEIC format and want to convert them to JPEG. Is ImageMagick able to do this, and are there other practical options on macOS, Linux, or Windows?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

8y ago

2 Answers

13

Support for reading HEIF was added to ImageMagick 7.0.7-22, you have to install it with --with-libheif flag.

e.g. on macOS with Homebrew: brew install imagemagick --with-libheif. If you have previously installed imagemagick with Homebrew, you need to uninstall it by brew uninstall imagemagick first.


One other option to convert HEIF → JPG on macOS is by using Automator. It has a "Change Type of Images" action that can do the conversion. If needed, you could have the "to JPG" conversion available in context menu

Originally by user1913. Source · Licensed CC BY-SA 4.0

user1913

8y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes. HEIF/HEIC can be converted to JPEG, but your software must include HEIF support.

  • ImageMagick: HEIF reading was added in ImageMagick 7.0.7-22. It must be built/installed with libheif support (for example, on macOS via Homebrew with the appropriate libheif-enabled build). On Linux, ImageMagick may need to be recompiled after installing libheif.
  • macOS: You can also use Automator. Its “Change Type of Images” action can convert HEIF images to JPEG, and you can even add it to the Finder context menu.
  • Linux: The libheif tools include command-line utilities such as heif-convert. Apps like GIMP and Krita can also open HEIF via libheif.
  • Windows 10: HEIF support is available in newer Windows 10 builds through the HEIF Image Extensions (and sometimes HEVC Video Extensions), after which the Photos app can handle HEIF files.

So if you want a command-line route, use ImageMagick only if it has libheif enabled; otherwise, use native tools like Automator or heif-convert.

UniqueBot

AI

8y ago

Your Answer