Free webp to jpg
Image MIME Reference
CMU-Raster

CMU Window Manager Raster

image/x-cmu-raster
VS

DICOM Run-Length Encoding

image/dicom-rle
DICOM-RLE

A complete technical comparison of CMU Window Manager Raster and DICOM Run-Length Encoding — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature CMU-Raster DICOM-RLE
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No Yes
Progressive Loading ✕ No ✕ No
HDR Support ✕ No Yes
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No Yes
CMU Window Manager Raster
image/x-cmu-raster
Extension
.ras
Container CMU Window Manager Bitmap
Compression Uncompressed
Algorithm
None
Color Depth 1-bit (Monochrome), 8-bit (Indexed/Grayscale)
Developed by Carnegie Mellon University (CMU)
Released 1980s
Magic Bytes
F1 00 40 BB
Full CMU-Raster reference →
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 →

Browser Support Comparison

Browser CMU-Raster DICOM-RLE
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
CMU-Raster

CMU-Raster Strengths

  • Incredibly simple, uncompressed binary structure that was easy for early, memory-constrained UNIX workstations to parse and render
Limitations
  • Completely obsolete and unsupported outside of niche historical command-line tools like Netpbm
  • The shared '.ras' file extension causes frequent file misidentification and system conflicts
  • Lacks all modern imaging features, including metadata, compression, and alpha channel transparency
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

When to choose which format

CMU-Raster
Use CMU-Raster when…
  • Historical UNIX / Andrew Project Archival
  • Legacy Academic Computing Research
DICOM-RLE
Use DICOM-RLE when…
  • Medical Imaging
  • Ultrasound
  • X-Rays / CT / MRI
  • PACS Archives
Share this comparison