Free webp to jpg
Image MIME Reference
HTJ2K-Codestream

High-Throughput JPEG 2000 Codestream

image/jphc
VS

Radiance HDR

image/vnd.radiance
Radiance

A complete technical comparison of High-Throughput JPEG 2000 Codestream and Radiance HDR — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature HTJ2K-Codestream Radiance
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading Yes ✕ No
HDR Support Yes Yes
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
High-Throughput JPEG 2000 Codestream
image/jphc
Extension
.jhc
Container None (Raw Codestream)
Compression Lossy / Lossless
Algorithm
High-Throughput JPEG 2000 (HTJ2K)
Color Depth 8-bit, 16-bit, 32-bit, 38-bit
Developed by Joint Photographic Experts Group (JPEG)
Released 2019
Magic Bytes
FF 4F FF 51
Full HTJ2K-Codestream 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 HTJ2K-Codestream Radiance
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
HTJ2K-Codestream

HTJ2K-Codestream Strengths

  • Extremely fast encoding and decoding capabilities due to the parallelizable block coder
  • Minimal file overhead since it lacks container headers and metadata
  • Ideal for streaming applications or embedded systems where parsing a full container is unnecessary
Limitations
  • Lacks standard metadata support (like EXIF, XMP, or ICC color profiles) since there is no container structure
  • Zero native web browser compatibility
  • Difficult to distinguish from standard JPEG 2000 codestreams without deeply parsing the internal marker segments
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

HTJ2K-Codestream
Use HTJ2K-Codestream when…
  • Medical Imaging Pipelines
  • Geospatial Data Streaming
  • Digital Cinema
  • Embedded Systems
Radiance
Use Radiance when…
  • Image-Based Lighting (IBL)
  • 3D Environment Maps (HDRI Skydomes)
  • Lighting Simulation
  • VFX and CGI Rendering
Share this comparison