Free webp to jpg
Image MIME Reference
APNG

Animated Portable Network Graphics

image/vnd.mozilla.apng
VS

AVC Image Sequence (HEIF Container)

image/avcs
AVCS

A complete technical comparison of Animated Portable Network Graphics and AVC 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 AVCS
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 →
AVC Image Sequence (HEIF Container)
image/avcs
Extension
.avcs.heifs
Container HEIF / ISOBMFF (ISO/IEC 14496-12)
Compression Lossy / Lossless
Algorithm
AVC (Advanced Video Coding / H.264)
Color Depth 8-bit, 10-bit, 12-bit
Developed by Moving Picture Experts Group (MPEG) / ISO/IEC JTC 1
Released 2015
Magic Bytes
XX XX XX XX 66 74 79 70 61 76 63 73
Full AVCS reference →

Browser Support Comparison

Browser APNG AVCS
Chrome Chrome
✓ 59
Firefox Firefox
✓ 3
Safari Safari
✓ 8
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)
AVCS

AVCS Strengths

  • Efficiently stores bursts of images or animations utilizing inter-frame compression
  • Leverages the highly compatible and widely hardware-accelerated AVC (H.264) codec
  • Robust HEIF container supports extensive metadata, alpha channels, and depth maps
Limitations
  • Zero native support in web browsers
  • Largely superseded in efficiency by newer sequence formats like HEICS (HEVC) or Animated AVIF (AV1)
  • Complicated container structure requires specialized parsing 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
AVCS
Use AVCS when…
  • Burst Photography
  • Short Animations
  • Camera Capture
  • Archival Storage
Share this comparison