Image MIME Reference
SGI-RGB
Silicon Graphics Image
image/x-rgb
VS
Valve Texture Format
image/vnd.valve.source.texture
VTF
A complete technical comparison of Silicon Graphics Image and Valve Texture Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | SGI-RGB | VTF |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Silicon Graphics Image
image/x-rgb
Extension
.rgb.sgi.rgba.bw.int.inta
Container
SGI Image Header (512 bytes)
Compression
Uncompressed / Run-Length Encoding (RLE)
Algorithm
NoneScanline RLE
Color Depth
8-bit (Per Channel), 16-bit (Per Channel)
Developed by
Silicon Graphics, Inc. (Paul Haeberli)
Released
1988
Magic Bytes
01 DA
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
Browser Support Comparison
| Browser | SGI-RGB | VTF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
SGI-RGB
SGI-RGB Strengths
- Supports 16-bit precision per channel and an embedded alpha channel, making it ideal for the demanding compositing workflows of 1990s cinema VFX
- The scanline-based RLE compression was exceptionally fast to decode on classic MIPS-based SGI workstations
- Features a straightforward 512-byte header, making it relatively easy to parse and write custom decoders in C or Python
Limitations
- Completely obsolete and unsupported in modern web environments
- Replaced entirely by TIFF, OpenEXR, and PNG in modern visual effects and 3D rendering pipelines
- Lacks support for modern color management via ICC profiles or advanced EXIF metadata
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
SGI-RGB
Use SGI-RGB when…
- Legacy 3D Animation and VFX Textures
- Silicon Graphics IRIX Workstation Archival
- 1990s Medical Imaging
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)