Free webp to jpg
Image MIME Reference
APNG

Animated Portable Network Graphics

image/vnd.mozilla.apng
VS

Flexible Image Transport System

image/fits
FITS

A complete technical comparison of Animated Portable Network Graphics and Flexible Image Transport System — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

APNG wins on browser support

Feature Support

Feature APNG FITS
Transparency (Alpha) Yes ✕ No
Animation Support Yes ✕ No
Progressive Loading Yes ✕ No
HDR Support ✕ No Yes
EXIF Metadata Yes ✕ No
ICC Color Profile Yes ✕ No
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 →
Flexible Image Transport System
image/fits
Extension
.fits.fit.fts
Container FITS
Compression Uncompressed / Tile Compressed (Rice, GZIP)
Algorithm
UncompressedRiceGZIPHcompress
Color Depth 8-bit, 16-bit, 32-bit, 64-bit (Float/Double)
Developed by IAU FITS Working Group / NASA
Released 1981
Magic Bytes
53 49 4D 50 4C 45 20 20 3D 20
Full FITS reference →

Browser Support Comparison

Browser APNG FITS
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)
FITS

FITS Strengths

  • The undisputed global standard for archiving and sharing astronomical data
  • Self-documenting: Headers are written in plain ASCII, ensuring data is readable decades later regardless of software
  • Supports incredibly high dynamic range, N-dimensional arrays, and complex binary tables
Limitations
  • No support in standard consumer software or web browsers
  • Uncompressed raw FITS files from modern telescopes can be excessively large
  • Does not use standard metadata models like EXIF or XMP, requiring specialized parsers

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
FITS
Use FITS when…
  • Astronomy & Astrophysics
  • Space Telescope Data (Hubble, JWST)
  • Scientific Data Archiving
  • Spectroscopy
Share this comparison