What You Need to Know About HEIF in macOS

With the official release of iOS 11 and macOS High Sierra, Apple introduced support for a new image format called HEIF, which uses the file extension HEIC. Apple sees HEIF as a worthy successor to the JPEG format. So what makes it so good that it can replace an industry standard that's been in use for almost 25 years?

HEIF

What is HEIF?

HEIF stands for High Efficiency Image Format and can be considered the still-image version of the HEVC video codec that Apple's ecosystem now officially supports. (You can learn more about HEVC here.) The HEIF standard wasn't made by Apple – it was developed in 2015 by the MPEG group, which also invented the AAC audio format used in iTunes.

Benefits of HEIF Over JPEG

As the name implies, HEIF is a more streamlined method of storing image data and offers better quality than the traditional JPEG format. For example, HEIF supports image transparency and can capture a more extended color range than JPEG (16-bit versus 8-bit), which should increase the accuracy of photos taken on Apple's latest iPhones. At the same time, a HEIF-encoded image should be around half the file size of an equivalent-quality JPEG, so users will be able to keep twice the number of shots on their Apple devices (or in iCloud) before they max out their storage capacity.

In addition, HEIF files include a 320x240 embedded thumbnail that's four times the resolution but only twice the file size of a standard JPEG thumbnail. HEIF images can also be rotated and cropped without altering the image or re-saving them, all of which makes working with HEIF files that much faster than JPEG on both Mac and iOS devices.

ios11livephotos
HEIF also brings other benefits that JPEG doesn't offer because it's unlike your typical image format. That's because it's also capable of acting as a container for multiple files. This should be a boon for anyone who takes bursts of photos or lots of Live Photos – which can be edited in multiple new ways in iOS 11 – but it also means HEIF could become a wholesale replacement for GIF.

HEIF Compatibility and Image Sharing

Currently, Apple only supports HEIF image encoding on iOS devices with a minimum A10 Fusion processor, so that includes the 2017 10.5-inch and 12.9-inch iPad Pro, the iPhone 7 and iPhone 7 Plus, and of course Apple's new 2017 range of iPhones. Owners of these devices can check their camera is encoding photos in HEIF by going to Settings -> Camera -> Formats, and ensuring the "High Efficiency" option is selected. The "Most Compatible" option means photos will be encoded in JPEG format.

highsierraphotoscurves
HEIF is supported on all Macs capable of running macOS High Sierra, and many macOS applications work natively with HEIF, including Photos, Preview, and Quick Look. This means macOS users might consider converting their JPEG image files to HEIF for greater storage or network benefits.

The transition to HEIF within the Apple ecosystem should be mostly transparent, but if users need to move HEIF content outside of that ecosystem, it's worth looking into transcoding options (JPEG, for example) to provide the best backwards compatibility for other users. Happily, iOS 11 will auto-convert HEIF images to JPEG when they are shared to devices running earlier versions of iOS, non-Apple devices, and popular social media sites, or when they are passed over to apps that don't yet support the standard.

Tag: HEIF
Related Forums: iOS 11, macOS High Sierra

Top Rated Comments

katanna Avatar
86 months ago
This means macOS users might consider converting their JPEG image files to HEIF for greater storage or network benefits.
Is there an option inside of Photos to batch-convert your entire library to HEIF?
Score: 7 Votes (Like | Disagree)
zorinlynx Avatar
86 months ago
This means macOS users might consider converting their JPEG image files to HEIF for greater storage or network benefits.
Does this mean that JPG -> HEIF conversion is completely lossless? Because if it's not, NO, macOS users shouldn't convert their images.
Score: 6 Votes (Like | Disagree)
Superhai Avatar
86 months ago
I have used HEIF for some time and the short version of what you want to know is this:

Encoding and decoding is processor intensive. On my MacBook Pro without hardware acceleration, photos are not displayed instantly as with jpeg, but could take seconds. This is noticeably if you have lots of photos to go through. Consider this if you want others to view your photos as well.

The quality is much higher than jpeg. Especially skies and surfaces with little color change are much less blocky even with 8-bit sources. And it support higher bits per color without needing a different format. And like jpeg you decide how much or little compression you require.

Avoid converting jpeg to HEIF. Unless you have stored the jpeg at near lossless quality, you will loose even more detail. And storing jpeg artifacts require more space.

Apple Photos does not convert your master files to HEIF automatically. Only if you transfer to a device without HEIF support will macOS or iOS convert HEIF to jpeg. Not the other way round. It should make sense as Photos neither did this before with TIFF, PNG, camera RAW or any other file format it supports.

A HEIF photo is basically a one frame HEVC video. Interestingly you can use ffmpeg or other video software to create a HEIF image, but you still need to put it in the right container by some other software. Also knowledge of HEVC compression settings are directly transferable to HEIF.
Score: 5 Votes (Like | Disagree)
rishiomedia Avatar
86 months ago
I’m also interested in knowing if it’s possible to convert an existing library of jpeg and Raws into HEIF on the Mac.
Score: 5 Votes (Like | Disagree)
abbstrack Avatar
86 months ago
Are older pictures automatically converted in the HEIF format?
This is my question too.

Also - can you do other non-destructive editing (aside from cropping/resizing) on them similar to RAW.
Score: 4 Votes (Like | Disagree)
ajspear Avatar
86 months ago
Are older pictures automatically converted in the HEIF format?
Score: 4 Votes (Like | Disagree)

Popular Stories

maxresdefault

Apple Announces 'Let Loose' Event on May 7 Amid Rumors of New iPads

Tuesday April 23, 2024 7:11 am PDT by
Apple has announced it will be holding a special event on Tuesday, May 7 at 7 a.m. Pacific Time (10 a.m. Eastern Time), with a live stream to be available on Apple.com and on YouTube as usual. The event invitation has a tagline of "Let Loose" and shows an artistic render of an Apple Pencil, suggesting that iPads will be a focus of the event. Subscribe to the MacRumors YouTube channel for more ...
Apple Vision Pro Dual Loop Band Orange Feature 2

Apple Cuts Vision Pro Shipments as Demand Falls 'Sharply Beyond Expectations'

Tuesday April 23, 2024 9:44 am PDT by
Apple has dropped the number of Vision Pro units that it plans to ship in 2024, going from an expected 700 to 800k units to just 400k to 450k units, according to Apple analyst Ming-Chi Kuo. Orders have been scaled back before the Vision Pro has launched in markets outside of the United States, which Kuo says is a sign that demand in the U.S. has "fallen sharply beyond expectations." As a...
iPad And Calculator App Feature

Apple Finally Plans to Release a Calculator App for iPad Later This Year

Tuesday April 23, 2024 9:08 am PDT by
Apple is finally planning a Calculator app for the iPad, over 14 years after launching the device, according to a source familiar with the matter. iPadOS 18 will include a built-in Calculator app for all iPad models that are compatible with the software update, which is expected to be unveiled during the opening keynote of Apple's annual developers conference WWDC on June 10. AppleInsider...
iOS 17 All New Features Thumb

iOS 17.5 Will Add These New Features to Your iPhone

Sunday April 21, 2024 3:00 am PDT by
The upcoming iOS 17.5 update for the iPhone includes only a few new user-facing features, but hidden code changes reveal some additional possibilities. Below, we have recapped everything new in the iOS 17.5 and iPadOS 17.5 beta so far. Web Distribution Starting with the second beta of iOS 17.5, eligible developers are able to distribute their iOS apps to iPhone users located in the EU...
Apple Silicon AI Optimized Feature Siri

Apple Releases Open Source AI Models That Run On-Device

Wednesday April 24, 2024 3:39 pm PDT by
Apple today released several open source large language models (LLMs) that are designed to run on-device rather than through cloud servers. Called OpenELM (Open-source Efficient Language Models), the LLMs are available on the Hugging Face Hub, a community for sharing AI code. As outlined in a white paper [PDF], there are eight total OpenELM models, four of which were pre-trained using the...