HEIC Transparency and Alpha Channels Explained
Learn how HEIC handles transparency and alpha channels, which conversion formats preserve transparency, and when to use PNG vs HEIC for transparent images.
HEIC supports full alpha channel transparency. The HEIF container stores alpha data as a separate auxiliary image item alongside the main color image. This architecture gives HEIC the same transparency capabilities as PNG while maintaining dramatically smaller file sizes.
This guide explains how HEIC handles transparency at the technical level, which source files actually contain alpha channels, and what happens to that transparency data during conversion to other formats.
How HEIC Stores Alpha Channels
HEIC stores transparency as an auxiliary image item inside the HEIF container. The alpha channel is not interleaved with the RGB color data. It exists as a separate, independently compressed image linked to the primary image through the container's item reference system.
The HEIF container (ISO/IEC 23008-12) organizes image data into discrete items. A typical transparent HEIC file contains at least 2 items:
- Primary image item: the RGB color data compressed with HEVC (H.265)
- Auxiliary image item: the alpha channel stored as a grayscale image
The alpha auxiliary image uses the auxC property type with the URN urn:mpeg:mpegB:cicp:systems:auxiliary:alpha. This tells decoders that the auxiliary item represents transparency, not depth or HDR gain map data.
Alpha Channel Bit Depth
HEIC alpha channels support up to 16-bit depth. In practice, most HEIC files with transparency use 8-bit alpha, providing 256 levels of transparency per pixel. That matches PNG's standard alpha precision. The 8-bit alpha channel encodes 0 as fully transparent and 255 as fully opaque. Values between 0 and 255 represent partial transparency (semi-translucent pixels).
Apple's implementation on iOS typically generates 8-bit alpha channels. Design applications that export HEIC can write 10-bit or 16-bit alpha for workflows requiring finer transparency gradients.
Compression of the Alpha Channel
The alpha channel is compressed independently from the color data. HEVC encodes the grayscale alpha image using the same efficient codec that handles the RGB data. This is a key advantage over PNG, where the alpha channel inflates the uncompressed data by 33% (adding a fourth channel to RGB).
A transparent HEIC image is typically 40-60% smaller than an equivalent transparent PNG. The HEVC codec compresses the alpha channel far more efficiently than PNG's DEFLATE algorithm handles the same data.
Format Transparency Support Comparison
Not every image format handles transparency. The differences matter when choosing a conversion target for transparent HEIC files.
| Format | Transparency | Alpha Depth | Compression | File Size (Transparent 12 MP) |
|---|---|---|---|---|
| HEIC | Yes (auxiliary item) | Up to 16-bit | Lossy or lossless (HEVC) | ~2.2 MB |
| PNG | Yes (RGBA channel) | 8-bit or 16-bit | Lossless (DEFLATE) | ~18-25 MB |
| WebP | Yes (RGBA channel) | 8-bit | Lossy or lossless | ~3-4 MB |
| AVIF | Yes (auxiliary item) | Up to 12-bit | Lossy or lossless (AV1) | ~1.8 MB |
| JPG | No | None | Lossy (DCT) | ~1.8 MB |
| GIF | 1-bit only (on/off) | 1-bit | Lossless (LZW) | ~8-12 MB |
| BMP | Optional (32-bit RGBA) | 8-bit | None | ~48 MB |
| TIFF | Yes (RGBA channel) | Up to 16-bit | Optional | ~48 MB |
JPG is the only common format that cannot store any transparency. GIF supports transparency but only as a binary on/off per pixel -- no partial transparency or smooth edges. PNG, WebP, AVIF, and HEIC all support full alpha gradients.
When HEIC Files Actually Contain Transparency
Standard iPhone photos do not have transparency. Every photo captured by the iPhone Camera app is a fully opaque image. The alpha channel is absent entirely. No HEIC photo from your Camera Roll contains transparent pixels unless it was generated by a third-party application.
HEIC files with alpha channels come from specific sources:
iOS Stickers
iOS stickers created from the Photos app contain alpha channels. Starting with iOS 16, users can long-press a subject in a photo to lift it from the background. The resulting sticker is saved as a HEIC file with a transparent background. The subject pixels are opaque. The background pixels are fully transparent.
Portrait Mode Cutouts
Portrait mode cutouts use alpha channels for subject isolation. When iOS separates a foreground subject from the background, it generates a segmentation mask. This mask becomes the alpha channel in the exported HEIC. Edge pixels use partial transparency values (between 0 and 255) to create smooth transitions between subject and background.
App-Generated HEIC Files
Design and editing apps can export HEIC files with transparency. Applications like Procreate, Pixelmator Pro, and Affinity Photo write transparent HEIC files when the canvas has no background layer. These files use the same auxiliary image item structure described above.
macOS Screenshots with Transparency
macOS screenshots of windows with rounded corners or shadows contain alpha channels when saved in formats that support transparency. If an application outputs HEIC with window chrome, the areas outside the window shape are transparent.
What Happens to Alpha Channels During Conversion
The target format determines whether transparency survives conversion. There are exactly 2 outcomes: preservation or destruction.
HEIC to PNG: Alpha Preserved
Converting HEIC to PNG preserves transparency completely. The decoder reads the auxiliary alpha image from the HEIF container. The encoder writes it as the fourth channel in the PNG's RGBA data. Every pixel retains its exact transparency value.
The conversion process:
- HEVC decoder extracts the primary RGB image
- HEVC decoder extracts the auxiliary alpha image
- RGB and alpha are combined into a 4-channel RGBA bitmap
- PNG encoder compresses the RGBA bitmap with DEFLATE
No transparency data is lost. A pixel that is 50% transparent (alpha value 128) in the HEIC remains 50% transparent in the PNG. Edge feathering, smooth gradients, and partial transparency all transfer perfectly.
The trade-off is file size. The resulting PNG is 5-12 times larger than the original HEIC because PNG uses lossless compression. A 2 MB transparent HEIC sticker becomes a 10-20 MB PNG.
HEIC to JPG: Alpha Destroyed
Converting HEIC to JPG destroys all transparency permanently. JPG has no alpha channel. The conversion must replace transparent pixels with a solid color.
The conversion process:
- HEVC decoder extracts the primary RGB image
- HEVC decoder extracts the auxiliary alpha image
- Transparent pixels are composited against a background color (default: white)
- JPG encoder compresses the flattened RGB image
A sticker with a transparent background becomes a sticker on a white rectangle. Partially transparent edge pixels blend with the background color, creating a visible halo effect if the sticker is later placed on a non-white surface.
This loss is irreversible. Converting the JPG back to HEIC or PNG does not restore the alpha channel. The transparency data was discarded during the JPG conversion step.
HEIC to WebP: Alpha Preserved
WebP supports 8-bit alpha channels. Converting transparent HEIC to WebP preserves transparency. WebP files are significantly smaller than PNG while maintaining the alpha data. For web use, WebP is a strong alternative to PNG when transparency is required.
Practical Use Cases for Transparent HEIC
Transparent HEIC files serve specific workflows where both small file size and alpha channel data matter.
Messaging Stickers
iOS sticker packs use transparent HEIC internally. The sticker's subject is isolated against a transparent background. When sent in iMessage, the sticker composites onto the conversation background. Converting these stickers to PNG preserves the effect for use on non-Apple platforms.
Graphic Design Overlays
Logos, watermarks, and design elements exported as HEIC save storage. A design team working within the Apple ecosystem can use transparent HEIC files at a fraction of the size of equivalent PNGs. A transparent logo that occupies 400 KB as PNG requires only 80-120 KB as HEIC.
Web Asset Preparation
Transparent HEIC files must be converted for web deployment. No major web browser except Safari supports HEIC. Designers working on macOS who receive transparent HEIC assets need to convert them to PNG or WebP before publishing to the web.
Photo Compositing
Subject cutouts from iOS integrate into compositing workflows. Portrait mode cutouts exported as transparent HEIC can be converted to PNG and imported into Photoshop, GIMP, or Figma. The alpha channel ensures clean compositing against new backgrounds.
How to Convert Transparent HEIC to PNG
HEICify's HEIC to PNG converter preserves alpha channels during conversion. The conversion runs entirely in your browser using Web Workers -- no files are uploaded to external servers. Drag a transparent HEIC file into the converter, and the output PNG retains full transparency.
The process takes 3 steps:
- Open HEICify's HEIC to PNG converter
- Drag your transparent HEIC file onto the drop zone
- Download the converted PNG with transparency intact
For batch workflows, HEICify processes multiple files simultaneously. Each file is decoded and encoded independently in a Web Worker thread, so the browser interface remains responsive.
If transparency is not needed and you prefer smaller output files, converting to JPG produces compact images at the cost of losing the alpha channel.
Choosing the Right Format for Transparent Images
The decision depends on where the image will be used and whether file size or compatibility takes priority.
Choose HEIC when storing transparent images within the Apple ecosystem. File sizes are 40-60% smaller than PNG. Every Apple device and application reads the format natively.
Choose PNG when sharing transparent images across platforms. Every browser, operating system, and design tool supports PNG transparency. Universal compatibility makes PNG the default for web graphics, app icons, and cross-platform design assets.
Choose WebP when publishing transparent images on the web and file size matters. WebP support covers 97% of browsers. File sizes fall between HEIC and PNG. Both lossy and lossless transparency modes are available.
Never choose JPG for images that require transparency. JPG cannot store alpha channels. All transparency data is permanently discarded.
For a broader comparison of HEIC and PNG beyond transparency, see HEIC vs PNG. For foundational knowledge about the HEIC format, read What Is HEIC?. For step-by-step conversion instructions, visit How to Convert HEIC to PNG.
Frequently Asked Questions
Does HEIC support transparency?
What happens to transparency when converting HEIC to JPG?
Should I convert transparent HEIC to PNG or JPG?
Do iPhone photos have transparency?
Related Guides
HEIC 10-Bit vs 8-Bit Color: What It Means for Photos
Learn the difference between 10-bit and 8-bit color depth in HEIC files, how it affects photo quality, and what happens when converting to 8-bit formats like JPEG.
How HEIC Compression Works: A Technical Guide
Understand HEIC compression technology including HEVC intra-frame coding, transform blocks, quantization, and why it achieves 50% smaller files than JPEG.
HEIC vs PNG: Comparing Modern Image Formats
An in-depth comparison of HEIC and PNG formats covering transparency, compression, file size, quality, and compatibility to help you pick the right one.
How to Convert HEIC to PNG: Complete Guide
Step-by-step instructions for converting HEIC files to PNG format using free online tools, Mac Preview, Windows, and command-line methods while preserving transparency.
What is HEIC Format? Everything You Need to Know
Learn what HEIC is, why Apple uses it, how it compares to JPG, and the easiest ways to open or convert HEIC files on any device.
Ready to Convert Your Images?
Try our free, browser-based converter tools. No uploads required -- your files never leave your device.