Free webp to jpg
Image MIME Reference
APNG

Animated Portable Network Graphics

image/vnd.mozilla.apng
VS

HEVC Image Sequence (HEIF Container)

image/heic-sequence
HEIC-Sequence

A complete technical comparison of Animated Portable Network Graphics and HEVC Image Sequence (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

APNG wins on browser support

Feature Support

Feature APNG HEIC-Sequence
Transparency (Alpha) Yes Yes
Animation Support Yes Yes
Progressive Loading Yes ✕ No
HDR Support ✕ No Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
Animated Portable Network Graphics
image/vnd.mozilla.apng
Extension
.apng.png
Container PNG Chunk Stream
Compression Deflate (Lossless)
Algorithm
Deflate (zlib)
Color Depth 8-bit (Indexed), 24-bit (TrueColor), 32-bit (RGBA)
Developed by Mozilla Corporation (Stuart Parmenter & Vladimir Vukićević)
Released 2004
Magic Bytes
89 50 4E 47 0D 0A 1A 0A
Full APNG reference →
HEVC Image Sequence (HEIF Container)
image/heic-sequence
Extension
.heics.heic
Container HEIF / ISOBMFF (ISO/IEC 14496-12)
Compression Lossy / Lossless
Algorithm
HEVC (H.265)
Color Depth 8-bit, 10-bit, 12-bit, 16-bit
Developed by Moving Picture Experts Group (MPEG) / Apple
Released 2017
Magic Bytes
XX XX XX XX 66 74 79 70 68 65 76 63
Full HEIC-Sequence reference →

Browser Support Comparison

Browser APNG HEIC-Sequence
Chrome Chrome
✓ 59
Firefox Firefox
✓ 3
Safari Safari
✓ 8
✓ 11+
Edge Edge
✓ 79
IE IE (Legacy)
APNG

APNG Strengths

  • Supports 8-bit alpha transparency, completely solving the ugly 'white halo' problem inherent to GIFs
  • Gracefully degrades; viewers that do not support APNG will render a perfectly valid, static PNG of the first frame
  • Provides lossless compression that retains absolute pixel-perfect quality for UI elements and line art
Limitations
  • Because it relies on lossless Deflate compression, file sizes for complex, video-like animations can be massive compared to lossy formats like WebP or AVIF
  • Was initially rejected by the official PNG group, delaying its adoption for nearly a decade
  • Lacks native hardware decoding acceleration, unlike video-based animated formats (like MP4 or WebM)
HEIC-Sequence

HEIC-Sequence Strengths

  • Incredibly efficient storage for bursts and short animations compared to GIF or motion JPEG
  • Supports 16-bit color, HDR, and alpha channel transparency across all frames
  • Shares frame data blocks, meaning the base image and animation data are heavily optimized for space
Limitations
  • Zero support in web browsers outside the Apple ecosystem (Chrome, Firefox, Edge do not support it)
  • Heavily encumbered by HEVC patent pools, hindering open-source adoption
  • Complex container structure makes parsing and decoding difficult without specialized libraries

When to choose which format

APNG
Use APNG when…
  • High-Quality Web Animations
  • Stickers (Apple iMessage, LINE, Discord)
  • UI Loaders with Alpha Transparency
  • GIF Replacement
HEIC-Sequence
Use HEIC-Sequence when…
  • Apple Live Photos
  • Burst Photography
  • High-Quality Animations
  • Cinemagraphs
Share this comparison