Free webp to jpg
Image MIME Reference
APNG

Animated Portable Network Graphics

image/vnd.mozilla.apng
VS

Fujifilm RAW Image

image/x-fuji-raf
Fuji-RAF

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

APNG wins on browser support

Feature Support

Feature APNG Fuji-RAF
Transparency (Alpha) Yes ✕ No
Animation Support Yes ✕ No
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 →
Fujifilm RAW Image
image/x-fuji-raf
Extension
.raf
Container Proprietary RAF Container
Compression Uncompressed / Lossless Compressed / Lossy Compressed (Modern firmware)
Algorithm
NoneProprietary LosslessProprietary Lossy
Color Depth 14-bit (Per Channel - X-Series), 16-bit (Per Channel - GFX Series)
Developed by Fujifilm Corporation
Released 2000
Magic Bytes
46 55 4A 49 46 49 4C 4D 43 43 44 2D 52 41 57 20
Full Fuji-RAF reference →

Browser Support Comparison

Browser APNG Fuji-RAF
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)
Fuji-RAF

Fuji-RAF Strengths

  • Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
  • Stores proprietary Fujifilm Film Simulation metadata (like Classic Chrome or Acros), allowing editors to perfectly replicate in-camera aesthetics
  • Very distinct and reliable magic header makes programmatic file detection foolproof
Limitations
  • Proprietary format requires continuous updates to third-party software (like Lightroom) whenever Fujifilm releases a new camera
  • The X-Trans sensor matrix requires highly specialized demosaicing algorithms that are extremely computationally expensive, leading to slower import and rendering times
  • Completely unsupported in standard web browsers and basic operating system image viewers

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
Fuji-RAF
Use Fuji-RAF when…
  • Professional Digital Photography
  • Fujifilm X-Trans Sensor Image Archival
  • High Dynamic Range (HDR) Post-Processing
Share this comparison