Image MIME Reference
G3-Fax
Group 3 Fax Image
image/g3fax
VS
Valve Texture Format
image/vnd.valve.source.texture
VTF
A complete technical comparison of Group 3 Fax 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 | G3-Fax | 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 |
Group 3 Fax Image
image/g3fax
Extension
.g3
Container
Raw Bitstream
Compression
Lossless (CCITT Group 3)
Algorithm
CCITT Group 3 (Modified Huffman / READ)
Color Depth
1-bit (Monochrome)
Developed by
CCITT (now ITU-T) / IETF
Released
1980
Magic Bytes
None (Raw Bitstream)
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 | G3-Fax | VTF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
G3-Fax
G3-Fax Strengths
- Extremely efficient compression for 1-bit black-and-white text and line art
- Standardized via RFC 1494 for email and internet fax transmission
- Low bandwidth requirements
Limitations
- Raw format lacks metadata (such as image width and resolution), requiring out-of-band information to decode accurately
- Strictly limited to 1-bit monochrome imagery
- Zero native web browser support
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
G3-Fax
Use G3-Fax when…
- Telefacsimile (Fax) Transmission
- Internet Fax (T.37)
- Document Archiving
- Telephony Systems
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)