Free webp to jpg
Image MIME Reference
DICOM-RLE

DICOM Run-Length Encoding

image/dicom-rle
VS

High-Throughput JPEG 2000 Image

image/jph
HTJ2K-(JPH)

A complete technical comparison of DICOM Run-Length Encoding and High-Throughput JPEG 2000 Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature DICOM-RLE HTJ2K-(JPH)
Transparency (Alpha) ✕ No Yes
Animation Support Yes ✕ No
Progressive Loading ✕ No Yes
HDR Support Yes Yes
EXIF Metadata ✕ No Yes
ICC Color Profile Yes Yes
DICOM Run-Length Encoding
image/dicom-rle
Extension
.dcm.dicom
Container DICOM (PS3.10)
Compression Lossless (RLE)
Algorithm
Run-Length Encoding (RLE)
Color Depth 8-bit, 16-bit, 24-bit
Developed by National Electrical Manufacturers Association (NEMA) / ACR
Released 1993
Magic Bytes
44 49 43 4D (at byte offset 128)
Full DICOM-RLE reference →
High-Throughput JPEG 2000 Image
image/jph
Extension
.jph
Container JPH (ISO/IEC 15444-15)
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
00 00 00 0C 6A 50 20 20 0D 0A 87 0A ... 66 74 79 70 6A 70 68 20
Full HTJ2K-(JPH) reference →

Browser Support Comparison

Browser DICOM-RLE HTJ2K-(JPH)
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
DICOM-RLE

DICOM-RLE Strengths

  • Guarantees lossless preservation of critical medical data necessary for diagnostics
  • Extremely robust metadata structure containing patient information, modality, and spatial geometry
  • Faster to encode and decode than complex compression schemes like JPEG 2000
Limitations
  • RLE compression offers very low compression ratios compared to modern codecs like JPEG-LS or JPEG 2000
  • Zero support in web browsers or standard consumer image viewers
  • Strict data privacy regulations (HIPAA/GDPR) make handling DICOM files complex due to embedded PHI
HTJ2K-(JPH)

HTJ2K-(JPH) Strengths

  • Delivers orders of magnitude faster encoding and decoding than standard JPEG 2000 by utilizing a new, parallelizable block coder
  • Supports mathematically lossless and lossy compression within the same codestream architecture
  • Allows for resolution scalability, progressive decoding, and region-of-interest extraction without needing to decode the entire image
Limitations
  • Zero native web browser support, requiring specialized libraries, API conversions, or WebAssembly (like OpenJPH.js) for web deployment
  • Lack of broad consumer awareness, keeping it confined to professional, medical, and scientific workflows
  • Requires more advanced software ecosystems to decode than ubiquitous formats like JPEG or WebP

When to choose which format

DICOM-RLE
Use DICOM-RLE when…
  • Medical Imaging
  • Ultrasound
  • X-Rays / CT / MRI
  • PACS Archives
HTJ2K-(JPH)
Use HTJ2K-(JPH) when…
  • Medical Imaging (DICOM)
  • Geospatial Data
  • Digital Cinema
  • Professional Archiving
Share this comparison