HEIC (High Efficiency Image Container), based on the HEVC/H.265 video codec, became the default photo format on iPhones starting with iOS 11 in 2017. It delivers approximately 50% file size reduction compared to JPG at equivalent visual quality, while supporting features like image sequences, depth maps, and HDR. JPG, the three-decade-old standard, remains the most universally supported image format in existence.
The tension between these formats is a practical daily issue for millions of iPhone users who capture photos in HEIC but need to share them with non-Apple devices, upload them to websites that expect JPG, or edit them in software that does not support HEIC. Understanding the trade-offs helps inform decisions about camera settings, file management, and conversion workflows.
Comparison Table
| Aspect | HEIC | JPG |
|---|---|---|
| File Size | Roughly 50% smaller than JPG at equivalent quality | Baseline (larger files for the same perceptual quality) |
| Compression | Lossy (HEVC/H.265 intra-frame coding) | Lossy (DCT-based, 8x8 blocks) |
| Transparency | Supported via alpha channel in HEIF container | Not supported |
| Animation | Image sequences supported within container | Not supported |
| Browser Support | Safari only (no Chrome, Firefox, or Edge support) | Universal across all browsers |
| Color Depth | Up to 16-bit per channel; HDR support (PQ, HLG) | 8-bit per channel (24-bit total) |
| Metadata | EXIF, XMP; depth maps, auxiliary images in container | EXIF, IPTC, XMP |
| Editing | Apple ecosystem, limited third-party support | Universal support in all image editors |
| Use Case | iPhone photography, Apple ecosystem storage efficiency | Universal photo sharing, web publishing, printing |
| Standard Body | MPEG / ISO/IEC 23008-12 (HEIF), ITU-T H.265 (HEVC) | ITU-T / ISO/IEC (JPEG committee) |
Detailed Analysis
HEIC's compression advantage stems from leveraging the HEVC (H.265) video codec for still image compression. While JPG uses a relatively simple block-based DCT transform from 1992, HEVC employs advanced prediction modes, variable block sizes (from 4x4 to 64x64), more sophisticated entropy coding (CABAC), and better in-loop deblocking and sample adaptive offset filters. These advancements, developed over two decades of video compression research, translate into dramatically better compression efficiency for still images. In practical terms, a 12-megapixel iPhone photo that might be 3-4 MB as a JPG at high quality will typically be 1.5-2 MB as a HEIC file with no perceptible quality difference. Over thousands of photos, this savings is significant for device storage.
Beyond raw compression, HEIC's container format (HEIF — High Efficiency Image File Format) supports capabilities that JPG's flat file structure cannot. A single HEIC file can contain an image sequence (Live Photos on iPhone), a depth map alongside the main image, an alpha channel for transparency, and multiple representations of the same image at different resolutions. This container approach is architecturally more flexible than JPG's simple scan-based format. The 16-bit color depth and HDR metadata support (PQ/HLG transfer functions) also position HEIC for the future of display technology, where HDR content is increasingly common.
The compatibility problem, however, is severe. As of 2024, no major web browser except Safari supports HEIC natively. Windows requires installing a codec extension from the Microsoft Store, and support in popular image editors varies. This means HEIC photos cannot be used directly on websites, cannot be attached to emails with confidence that recipients can view them, and cannot be uploaded to many web platforms without conversion. Apple partially mitigates this by automatically converting HEIC to JPG when sharing via AirDrop to non-Apple devices or when uploading to most web services, but this automatic conversion is not universal and sometimes fails silently, leaving users with unviewable files.
When to Use HEIC
HEIC is the optimal choice when staying within the Apple ecosystem — iPhone storage, iCloud Photo Library, Mac-based editing workflows. Its 50% space savings meaningfully extends device storage capacity and reduces iCloud bandwidth usage. Keep HEIC as your iPhone's capture format if you primarily view and edit photos on Apple devices, and rely on automatic conversion when sharing outside the ecosystem.
When to Use JPG
Choose JPG (or configure your iPhone to capture in JPG via Settings > Camera > Most Compatible) when cross-platform sharing is a primary concern — uploading to non-Apple web services, sharing with Android users, printing through third-party services, or maintaining a photo archive intended for long-term access with any future software. JPG's universal support makes it the safest choice for any photo that needs to reach a broad audience.
Conclusion
HEIC is technically superior to JPG in compression efficiency, color depth, and container flexibility. For storage optimization within the Apple ecosystem, it is the clear winner. However, its near-total lack of web browser support and inconsistent compatibility outside Apple platforms means JPG remains essential for sharing, publishing, and archival. Most iPhone users benefit from capturing in HEIC and converting to JPG as needed for sharing — a workflow that Apple's own software handles reasonably well, though dedicated conversion tools provide more control over the output quality.