Skip to content

HEIC · 5 HEIC samples

Download HEIC sample images

Download free HEIC sample images from 12 MP iPhone captures to icons. Test HEVC decoders, depth map parsing, and image conversion pipelines.

5 HEIC samples 0.3 MP – 12 MP · HEVC Free for testing

Sample files

Available HEIC sample files

5 HEIC samples

sample-heic-iphone-camera-3992x2992.heic

sample-heic-iphone-camera-3992x2992.heic

Dimensions:3992 × 2992 px

2.86 MB

HEIC Download HEIC
sample-heic-landscape-3464x2130.heic

sample-heic-landscape-3464x2130.heic

Dimensions:3464 × 2130 px

2.42 MB

HEIC Download HEIC
sample-heic-portrait-4242x2828.heic

sample-heic-portrait-4242x2828.heic

Dimensions:4242 × 2828 px

1.1 MB

HEIC Download HEIC
sample-heic-architecture-1280x854.heic

sample-heic-architecture-1280x854.heic

Dimensions:1280 × 854 px

701.3 KB

HEIC Download HEIC
sample-heic-icon-700x476.heic

sample-heic-icon-700x476.heic

Dimensions:700 × 476 px

40.5 KB

HEIC Download HEIC

Technical guide

What is HEIC? Format specifications, compression & architecture

HEIC (High Efficiency Image Container) is the standardized file format adopted by Apple in 2017 to encapsulate HEVC-encoded still images inside the ISO Base Media File Format (ISOBMFF). Delivering up to 50% better compression than legacy JPEG, HEIC supports 10-bit HDR color, depth maps, and multi-image sequences.

Origins & Apple Adoption

The High Efficiency Image File Format (HEIF) specification was finalized in 2015 by the Moving Picture Experts Group (MPEG) under ISO/IEC 23008-12 (MPEG-H Part 12). While HEIF describes a generic media container based on the ISO Base Media File Format (ISOBMFF), the .heic extension specifically denotes files where visual data is compressed using the High Efficiency Video Coding (HEVC / H.265 / ITU-T H.265) intra-frame codec.

In September 2017, Apple brought HEIC to hundreds of millions of consumers with the release of iOS 11 and macOS High Sierra, establishing it as the default camera capture format across all iPhone 7 and newer devices. By replacing legacy JPEG, Apple enabled mobile photographers to capture images with wider dynamic range and Display P3 color while cutting on-device storage consumption in half.

Google subsequently introduced native platform support for HEIF in Android 9 Pie (2018), and camera manufacturers such as Canon and Sony integrated HEIF into mirrorless cameras. Today, HEIC represents the dominant capture format across modern smartphones, serving as a high-fidelity bridge between mobile imaging sensors and cloud photo storage.

HEVC Intra-Frame Compression & Container Structure

HEIC achieves superior compression efficiency over legacy formats like JPEG by leveraging the advanced coding tools of the HEVC video standard. Unlike JPEG, which is constrained to 8×8 pixel blocks and 8 directional intra-prediction angles, HEVC utilizes hierarchical Coding Tree Units (CTUs) of up to 64×64 pixels partitioned into dynamic quadtrees down to 4×4 transform blocks.

HEVC intra-coding evaluates 35 distinct directional prediction modes (33 angular directions plus planar and DC modes) to model complex continuous gradients, fine textures, and sharp linear edges without ringing artifacts. Post-processing includes an in-loop deblocking filter and Sample Adaptive Offset (SAO) reconstruction filtering, which systematically eliminates block boundary seams and restores subtle edge contrast at aggressive compression ratios.

At the binary container level, HEIC uses ISOBMFF box hierarchies: an ftyp box with major brands like heic, heix, or mif1, followed by a meta box containing an item location box (iloc), item information box (iinf), and item properties box (iprp). Raw compressed bitstreams reside in an mdat payload box, allowing decoders to index metadata, color profiles, and image slices without parsing the entire file.

Multi-Item Architecture, Depth Maps & Live Photos

A defining architectural advantage of HEIC is its multi-item container capability. While JPEG files represent a solitary raster canvas, a single HEIC file can store collections of related still images, image bursts, auxiliary data streams, and alpha transparency channels linked through item reference (iref) boxes.

On iOS devices, Portrait mode photos store a primary high-resolution RGB image alongside an auxiliary monochromatic depth map generated by dual camera parallax or LiDAR sensors. Photo editing applications read this depth map to dynamically adjust synthetic bokeh blur, relight facial contours, or separate foreground subjects without destructive re-masking.

Apple Live Photos leverage HEIC container flexibility by binding a high-resolution HEIC still frame to a 3-second MOV video clip encoded with HEVC. Furthermore, HEIC supports non-destructive geometric operations (rotations, cropping, flips, and color overlays) stored as metadata transformations (irot, clap, colr boxes) executed on the fly during display without degrading original pixel fidelity.

Browser Compatibility & Developer Tooling

Because HEVC encoding is subject to patents managed by MPEG LA, HEVC Advance, and Velos Media, native browser rendering of HEIC in <img> tags is largely restricted to Apple platforms (Safari on iOS and macOS). Modern web browsers running on Windows, Linux, and Android—such as Google Chrome, Mozilla Firefox, and Microsoft Edge—do not decode raw HEIC files natively on web pages.

For client-side web applications that accept HEIC uploads, front-end engineers use WebAssembly libraries like libheif-js or heic2any to decode HEIC images locally in the browser and convert them into standard JPEG, WebP, or Canvas representations before submission.

Backend media pipelines process HEIC through well-established open-source libraries: Python developers rely on pillow-heif, Node.js services employ libheif wrappers or heic-convert, while DevOps automation utilizes ImageMagick, libvips, and FFmpeg to normalize HEIC inputs into universally compatible formats for web delivery.

Format Comparison: HEIC vs. JPEG, AVIF, WebP & PNG

Compare how HEIC evaluates against leading raster formats across compression efficiency, color fidelity, feature sets, and platform support.

Feature / CapabilityHEIC (HEIF/HEVC)AVIF (AV1)JPEG (JFIF)WebP (VP8)PNGTechnical Notes
Compression CodecHEVC / H.265 IntraAV1 IntraDCT + HuffmanVP8 / VP8L IntraDEFLATE (Lossless)HEIC and AVIF use modern video intra-coding algorithms.
Compression Efficiency~50% smaller than JPEG~50–60% smaller than JPEGBaseline standard (1x)~25–35% smaller than JPEG5x–10x larger (lossless)HEIC preserves exceptional detail and dynamic range at low bitrates.
Color Bit Depth8, 10, 12, 16-bit HDR8, 10, 12-bit HDR8-bit SDR only8-bit SDR only8, 16-bit SDRHEIC natively supports wide color gamut (Display P3) and HDR capture.
Auxiliary Items & Depth MapsFull native supportSupported via ISOBMFFNo (custom EXIF hacks)NoAlpha channel onlyHEIC stores dual-camera depth maps for computational bokeh editing.
Non-Destructive TransformsMetadata boxes (irot, clap)Metadata boxes (irot, clap)Lossless DCT crop/rotateNo (re-encoding required)No (re-encoding required)HEIC rotates and crops without recompressing underlying pixel blocks.
Web Browser SupportApple Safari onlyUniversal (Chrome, Safari, Firefox, Edge)100% Universal97%+ Universal100% UniversalHEIC requires client-side conversion or Safari for native HTML display.
Licensing & RoyaltiesPatented (HEVC pools)Royalty-Free (AOMedia)Open / Patent ExpiredRoyalty-Free (Google)Open / Patent FreePatent licensing fees limit HEIC native implementation in non-Apple web engines.

Developer Integration & Processing Examples

Quick implementation snippets for decoding, inspecting, and converting HEIC images across Python, Node.js, ImageMagick, and FFmpeg.

Python (pillow-heif & Pillow):

# Python: Convert HEIC to JPEG using pillow-heif and Pillow
import pillow_heif
from PIL import Image

# Register HEIF opener with Pillow
pillow_heif.register_heif_opener()

# Open the HEIC image file
with Image.open("sample-heic-iphone-camera-3992x2992.heic") as img:
    # Read color mode, dimensions, and EXIF
    print(f"Format: {img.format}, Size: {img.size}, Mode: {img.mode}")
    
    # Save as high-quality progressive JPEG
    img.convert("RGB").save("output.jpg", "JPEG", quality=90, progressive=True)

Node.js (heic-convert):

// Node.js: Convert HEIC buffer to JPEG using heic-convert
import fs from 'node:fs/promises';
import convert from 'heic-convert';

async function processHeic() {
  const inputBuffer = await fs.readFile('sample-heic-portrait-4242x2828.heic');
  
  // Convert HEIC to JPEG buffer (quality: 0.0 to 1.0)
  const outputBuffer = await convert({
    buffer: inputBuffer,
    format: 'JPEG',
    quality: 0.88
  });
  
  await fs.writeFile('output.jpg', outputBuffer);
  console.log('Successfully converted HEIC to JPEG');
}
processHeic();

ImageMagick CLI Conversion:

# ImageMagick: Convert HEIC to optimized WebP or JPEG
magick sample-heic-landscape-3464x2130.heic -quality 85 output.webp

# Extract EXIF metadata and color profile from HEIC
magick identify -verbose sample-heic-iphone-camera-3992x2992.heic

FFmpeg Frame Extraction:

# FFmpeg: Extract primary still frame from HEIC image container
ffmpeg -i sample-heic-architecture-1280x854.heic -frames:v 1 -q:v 2 output.png

# Batch convert all HEIC files in directory to high-quality JPEG
for f in *.heic; do ffmpeg -i "$f" -frames:v 1 -q:v 2 "${f%.heic}.jpg"; done

HEIC File Format Technical Specifications

Official architectural and structural parameters governing HEIC and HEIF media files under ISO and ITU standards.

Standard / Specification
ISO/IEC 23008-12 (MPEG-H Part 12 / HEIF) & ISO/IEC 23008-2 (HEVC/H.265)
File Extension
.heic (single image / sequence), .heif (generic)
MIME Types
image/heic, image/heif, image/heic-sequence
Container Structure
ISO Base Media File Format (ISOBMFF, ISO/IEC 14496-12)
Major Brands (ftyp)
heic (HEVC Main), heix (10-bit), mif1 (structural), msf1 (sequence)
Compression Codec
HEVC (ITU-T H.265 / ISO/IEC 23008-2) Intra-Frame
Supported Color Depths
8-bit, 10-bit, 12-bit, 16-bit integer and floating-point
Chroma Subsampling
4:2:0, 4:2:2, 4:4:4, and monochrome (4:0:0)
Color Gamut & Profiles
sRGB, Display P3, Rec. 2020 / BT.2020, ICC color profiles
Alpha & Depth Maps
Supported via auxiliary item references (urn:mpeg:hevc:2015:auxid:1)
Primary Use Cases
Apple iOS / iPadOS camera capture, computational photography, photo archives

Frequently Asked Questions About HEIC Files

Why did Apple switch from JPEG to HEIC as the default camera format?

Apple adopted HEIC with iOS 11 in 2017 because modern mobile camera sensors capture high-resolution images with wide dynamic range and Display P3 color. JPEG compresses using dated 8x8 DCT transforms that degrade fine details and produce blocky compression artifacts at high resolutions. HEIC uses modern HEVC intra-coding to deliver identical or superior visual quality at roughly 50% smaller file sizes, effectively doubling the photo storage capacity of iPhone devices.

Why can’t I view HEIC images in Google Chrome, Firefox, or Windows by default?

The HEVC codec used inside HEIC files is subject to commercial patent licensing pools (such as MPEG LA and HEVC Advance). While Apple pays device-level licensing fees for macOS and iOS, browser vendors like Google and Mozilla cannot bundle proprietary HEVC decoders into open-source web engines without incurring significant royalty costs. Consequently, raw HEIC images cannot be displayed in standard <img> tags on Chrome or Firefox. On Windows 10/11, Microsoft offers the optional "HEIF Image Extensions" and "HEVC Video Extensions" packages via the Microsoft Store to enable native File Explorer and Photos app viewing.

How do HEIC files store depth maps and Live Photos?

HEIC utilizes the multi-item architecture of the ISO Base Media File Format (ISOBMFF). Unlike JPEG, which stores only a single flat pixel grid, an ISOBMFF meta box can contain multiple items. For Portrait photos, the file stores the primary RGB image alongside an auxiliary monochromatic depth channel linked via an item reference (iref) box. For Apple Live Photos, the HEIC container is paired with a corresponding HEVC-encoded QuickTime MOV video clip containing 1.5 seconds of video and audio before and after the shutter press.

How does HEIC compare to modern formats like AVIF and WebP?

Both HEIC and AVIF adapt modern video codecs for still images (HEVC for HEIC, AV1 for AVIF). Both deliver dramatic compression improvements over JPEG and support 10-bit/12-bit HDR color. The primary difference is licensing and distribution: AVIF is an open, royalty-free standard supported natively in all modern web browsers (Chrome, Safari, Firefox, Edge), making it ideal for the open web. HEIC is heavily entrenched as the hardware-accelerated camera capture format across more than 1.5 billion Apple devices, offering rich multi-item and depth map support tailored for mobile photography.

How do I convert HEIC images to JPEG or PNG without losing quality?

You can convert HEIC images without noticeable quality loss using tools that preserve color profiles and high-quality quantization. On macOS, the built-in Preview app or Shortcuts app can export HEIC to JPEG or PNG. On Windows and Linux, free utilities like ImageMagick (magick input.heic -quality 92 output.jpg) or the open-source libheif CLI (heif-convert input.heic output.jpg) perform high-fidelity conversions while preserving embedded EXIF metadata.

← All image formats