If you take a photo with an iPhone or iPad and transfer it to a Windows PC or an older Android device, you will likely notice that the file does not end in .jpg, but in .heic. Many legacy image viewers display an error stating that the file cannot be opened.
What is a HEIC file, why did Apple transition to it, and how does it deliver double the compression efficiency of standard JPEG files?
The Difference Between HEIF and HEIC
To understand the format, we must distinguish between the container and the file extension:
- HEIF (High Efficiency Image File Format): Standardized by the Moving Picture Experts Group (MPEG) under ISO/IEC 23008-12, HEIF is a versatile multimedia container derived from the ISOBMFF (ISO Base Media File Format).
- HEIC (High Efficiency Image Container): HEIC is the specific file extension used when a HEIF container encapsulates images encoded with the HEVC (H.265) video compression standard. Apple adopted HEIC in iOS 11 and macOS High Sierra in 2017.
Because HEIF is a container rather than just a flat image stream, a single .heic file can store:
- Individual high-resolution still images.
- Image bursts and sequential photo captures.
- Auxiliary data streams, such as depth maps for Portrait Mode.
- Alpha transparency channels.
- Audio and video fragments (used to generate Apple’s Live Photos).
How HEIC Achieves Superior Compression
Standard JPEG technology relies on the Discrete Cosine Transform (DCT) operating on rigid 8x8 pixel blocks—a mathematical approach established in 1992.
In contrast, HEIC uses High Efficiency Video Coding (H.265 / HEVC) intra-prediction algorithms:
- Variable Block Sizes: Instead of fixed 8x8 blocks, HEVC evaluates coding tree units (CTUs) ranging from 4x4 up to 64x64 pixels. This allows flat areas (such as a clear blue sky) to be compressed as large blocks with virtually zero overhead, while complex textures (such as foliage or text) receive high-granularity sub-blocks.
- Advanced Directional Prediction: The encoder predicts pixel patterns in 35 different angular directions, dramatically reducing redundant data.
- 16-Bit Color Depth: While standard JPEG is strictly limited to 8-bit color (256 shades per channel / 16.7 million total colors), HEIC supports up to 16-bit color, preventing color banding in skies and smooth gradients.
The result is that a HEIC photo is approximately 50% smaller than an identical JPEG photo, allowing users to store twice as many high-resolution photos in the same device storage.
HEIC vs. JPEG: Direct Feature Comparison
| Specification | HEIC (HEIF / H.265) | JPEG (JFIF) |
|---|---|---|
| Release Year | 2017 (Apple integration) | 1992 |
| Underlying Standard | ISO/IEC 23008-12 | ISO/IEC 10918-1 |
| Color Bit Depth | Up to 16-bit color | 8-bit color |
| Typical File Size (12MP) | 1.5 MB – 2.5 MB | 3.5 MB – 5.5 MB |
| Multiple Images in One File | Yes (Bursts, Live Photos) | No |
| Stores Depth Maps | Yes (Portrait metadata) | No |
| Universal Compatibility | Limited to modern OS & devices | Universal across all systems |
How to Open HEIC Photos on Windows
By default, older installations of Windows 10 and Windows 11 cannot decode HEVC video streams without an installed codec. To view HEIC files on Windows:
- Install Official Microsoft Codecs:
- Install the HEIF Image Extensions from the Microsoft Store (Free).
- Install the HEVC Video Extensions from the Microsoft Store (nominal fee or OEM version). Once installed, the default Windows Photos app and Windows File Explorer will display HEIC thumbnails and full-resolution images seamlessly.
- Use Free Offline Desktop Viewers:
- Applications like CopyTrans HEIC for Windows, IrfanView, or VLC Media Player can decode and display HEIC files immediately without requiring Microsoft Store purchases.
How to Stop Your iPhone from Taking HEIC Photos
If you regularly transfer photos to legacy computers and prefer universal JPEG compatibility over storage savings, you can configure your iPhone to save photos as JPEG automatically:
- Open your iPhone Settings.
- Scroll down and tap Camera.
- Tap Formats.
- Select Most Compatible (saves as JPEG/H.264) instead of High Efficiency (saves as HEIC/H.265).
Alternatively, you can keep High Efficiency enabled on your phone and instruct iOS to convert photos to JPEG automatically when transferring to a PC: go to Settings > Photos, scroll to the bottom, and under Transfer to Mac or PC, select Automatic.