Free webp to jpg
Image MIME Reference
PPM

Portable Pixmap

image/x-portable-pixmap
VS

Radiance HDR

image/vnd.radiance
Radiance

A complete technical comparison of Portable Pixmap and Radiance HDR — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature PPM Radiance
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes Yes
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
Portable Pixmap
image/x-portable-pixmap
Extension
.ppm
Container Netpbm
Compression Uncompressed
Algorithm
None
Color Depth 24-bit (RGB), 48-bit (RGB High Color)
Developed by Jef Poskanzer (Netpbm Project)
Released 1988
Magic Bytes
50 33 (ASCII) or 50 36 (Binary)
Full PPM reference →
Radiance HDR
image/vnd.radiance
Extension
.hdr.pic.rgbe.xyze
Container Radiance Information Header
Compression Run-Length Encoding (RLE) / Uncompressed
Algorithm
Adaptive Run-Length Encoding (RLE)
Color Depth 32-bit (8-bit per channel RGB + 8-bit shared Exponent)
Developed by Greg Ward (Lawrence Berkeley National Laboratory)
Released 1989
Magic Bytes
23 3F 52 41 44 49 41 4E 43 45
Full Radiance reference →

Browser Support Comparison

Browser PPM Radiance
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
PPM

PPM Strengths

  • Absolute structural simplicity allows parsers and renderers (such as custom raytracers) to write directly to the format with virtually no overhead or external libraries
  • Supports 16-bit per channel (48-bit total) precision, preserving deep color accuracy before converting to final delivery formats
  • ASCII encoding ('P3') allows manual editing and visual inspection of RGB values directly within a text editor
Limitations
  • Zero compression results in astronomical file sizes, making it entirely impractical for web delivery or consumer storage
  • Does not natively support an alpha channel for transparency (this is handled by the newer PAM extension format within the Netpbm suite)
  • Lacks support for modern metadata standards like EXIF, XMP, or embedded ICC color profiles
Radiance

Radiance Strengths

  • Universally supported by almost every 3D modeling software, renderer, and game engine in existence
  • RGBE encoding offers a brilliant balance between High Dynamic Range capability and small file size (compared to 32-bit float OpenEXR)
  • Simple, easy-to-parse ASCII header followed by straightforward RLE binary data
Limitations
  • Does not support alpha transparency (no way to store an isolated light source with a transparent background)
  • The shared exponent architecture can occasionally introduce banding or color artifacts in extreme edge cases compared to true 16-bit/32-bit floating-point formats like OpenEXR
  • Zero native browser support for 2D viewing

When to choose which format

PPM
Use PPM when…
  • Intermediary Format for Image Format Conversion
  • Academic Computer Graphics and Raytracing Output
  • Unix/Linux Command-Line Image Pipelines
Radiance
Use Radiance when…
  • Image-Based Lighting (IBL)
  • 3D Environment Maps (HDRI Skydomes)
  • Lighting Simulation
  • VFX and CGI Rendering
Share this comparison