Free webp to jpg
Image MIME Reference
CMU-Raster

CMU Window Manager Raster

image/x-cmu-raster
VS

Valve Texture Format

image/vnd.valve.source.texture
VTF

A complete technical comparison of CMU Window Manager Raster and Valve Texture Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature CMU-Raster VTF
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No Yes
Progressive Loading ✕ No ✕ No
HDR Support ✕ No Yes
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
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 →
Valve Texture Format
image/vnd.valve.source.texture
Extension
.vtf
Container Valve Texture Format Header
Compression DXTC (DXT1, DXT3, DXT5) / Uncompressed (BGRA8888, RGB888, etc.)
Algorithm
DXT1-DXT5None
Color Depth 8-bit, 24-bit (RGB), 32-bit (RGBA), 16-bit Floating Point (HDR)
Developed by Valve Corporation
Released 2004
Magic Bytes
56 54 46 00
Full VTF reference →

Browser Support Comparison

Browser CMU-Raster VTF
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
VTF

VTF Strengths

  • Extremely fast loading within the Source Engine because the block-compressed data goes directly into the GPU's VRAM without CPU decompression overhead
  • Bundles mipmaps, volumetric slices, cubemap faces, and animation frames entirely within a single file
  • Openly documented by the Valve Developer Community, leading to a massive ecosystem of third-party modding tools
Limitations
  • Strictly tied to the Source Engine ecosystem; entirely useless in standard web or print contexts
  • No native support in standard image editors without hunting down and installing specialized plugins
  • Block compression algorithms (DXT) are lossy and can cause visible artifacting, especially on normal maps or smooth gradients

When to choose which format

CMU-Raster
Use CMU-Raster when…
  • Historical UNIX / Andrew Project Archival
  • Legacy Academic Computing Research
VTF
Use VTF when…
  • Source Engine Game Textures
  • Custom Maps and Modding (Garry's Mod, CS:GO)
  • Animated In-Game Decals and Sprays
  • Environment Cubemaps (Skyboxes)
Share this comparison