HEIF
High Efficiency Image File Format for compressed images
HEIF (High Efficiency Image File Format) is a container format for storing images and image sequences that typically uses more efficient compression than older formats like JPEG, producing smaller files at comparable visual quality. heic`…
Definition
HEIF (High Efficiency Image File Format) is a container format for storing images and image sequences that typically uses more efficient compression than older formats like JPEG, producing smaller files at comparable visual quality. Beyond a single photo, HEIF can hold image bursts, sequences with depth or alpha information, and metadata such as thumbnails, all within one file, which is why it is often used for photos captured on modern smartphones under the associated `.heic` file extension.
Overview
HEIF is a container specification, meaning it defines how image data, metadata, and auxiliary information are packaged together, while the actual pixel compression is typically handled by a separate codec, most commonly HEVC (H.265) though other codecs can be used within the same container. This separation lets HEIF benefit from advances in video compression technology, since HEVC's intra-frame compression techniques, originally developed for video, transfer effectively to still images and generally achieve smaller file sizes than JPEG's older discrete cosine transform-based approach at similar perceived quality. Mechanically, a HEIF file can store more than a single flat image: its container structure supports image sequences (useful for burst photography or live photos), auxiliary images like depth maps or thumbnails, and metadata blocks, all addressed within one file rather than requiring separate files for each piece. This structural flexibility is why HEIF has been adopted for features like portrait-mode depth data and image bursts on smartphones, where a single capture event produces multiple related images that benefit from being packaged together. HEIF's main historical competitor is JPEG, which remains the most universally compatible image format despite being decades older and less efficient in compression. Because JPEG decoders are built into virtually every piece of software and hardware that touches images, HEIF has had to navigate a slower compatibility rollout, with some platforms converting HEIC files to JPEG automatically when exporting or sharing to ensure they open everywhere. Newer formats like AVIF, which uses the AV1 video codec instead of HEVC, compete directly with HEIF on efficiency while avoiding HEVC's more complex licensing landscape, and have been gaining adoption particularly on the web. In practice, HEIF/HEIC is most visible as the default photo format on many modern smartphones, where its smaller file sizes help conserve storage while preserving image quality, and its support for auxiliary data enables features like Live Photos and portrait-mode depth effects. Photo management and editing software increasingly supports HEIF natively, though users sharing images across older systems or non-Apple platforms sometimes need explicit conversion to JPEG for guaranteed compatibility. The format's efficiency advantage is tempered by ecosystem friction: not all browsers, operating systems, and applications support HEIF natively, which can create compatibility headaches when sharing files broadly, and HEVC's patent licensing terms have made some software vendors hesitant to adopt full HEIF/HEVC support, partly motivating the rise of royalty-free alternatives like AVIF. For content intended for maximum universal compatibility, particularly on the web, JPEG or the newer AVIF format are often preferred over HEIF.
Specification
- Container format that separates image packaging from pixel compression
- Commonly uses HEVC (H.265) for more efficient compression than JPEG
- Can store image sequences, bursts, and auxiliary depth or alpha data
- Supports embedded thumbnails and rich metadata within one file
- Default photo capture format on many modern smartphones
- Competes with the newer, royalty-free AVIF format
- Compatibility varies across older software and non-native platforms