Image MIME Reference
JPEG-XS-(HEIF)
JPEG XS Image (HEIF Container)
image/jxsi
VS
Valve Texture Format
image/vnd.valve.source.texture
VTF
A complete technical comparison of JPEG XS Image (HEIF Container) and Valve Texture Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-XS-(HEIF) | VTF |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
JPEG XS Image (HEIF Container)
image/jxsi
Extension
.jxsi.jxs.hif
Container
HEIF / ISOBMFF (ISO/IEC 23008-12)
Compression
Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (ISO/IEC 21122-1)
Color Depth
8-bit, 10-bit, 12-bit, 14-bit, 16-bit
Developed by
Joint Photographic Experts Group (JPEG)
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 78 73 69
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 | JPEG-XS-(HEIF) | VTF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
JPEG-XS-(HEIF)
JPEG-XS-(HEIF) Strengths
- Provides sub-millisecond encoding and decoding latency while retaining visually lossless quality
- Brings the extensive metadata, EXIF, XMP, and color-profiling capabilities of the HEIF container to JPEG XS
- Allows grouping of multiple high-quality JPEG XS frames into a single collection file
Limitations
- Zero web browser compatibility, limiting it entirely to professional and industrial hardware workflows
- Extremely niche adoption compared to standard HEVC-based HEIC or raw JPEG XS codestreams
- Requires custom parsing logic to extract the JPEG XS codestream from the HEIF boxes
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
JPEG-XS-(HEIF)
Use JPEG-XS-(HEIF) when…
- Live Broadcast Infrastructure
- Medical Imaging & Archival
- Video over IP Networks
- Automotive & Drone 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)