Image MIME Reference
G3-Fax
Group 3 Fax Image
image/g3fax
VS
Khronos Texture
image/ktx
KTX
A complete technical comparison of Group 3 Fax Image and Khronos Texture — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | G3-Fax | KTX |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| 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)
Khronos Texture
image/ktx
Extension
.ktx
Container
KTX (Khronos Texture 1.1)
Compression
Uncompressed / GPU Compressed (ASTC, ETC, BCn, PVRTC)
Algorithm
ASTCETC1 / ETC2BCn (DXT)PVRTCBasis Universal (in KTX2)
Color Depth
8-bit, 16-bit, 32-bit (Integer/Float)
Developed by
Khronos Group
Released
2010
Magic Bytes
AB 4B 54 58 20 31 31 BB 0D 0A 1A 0A
Browser Support Comparison
| Browser | G3-Fax | KTX |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
KTX
KTX Strengths
- Enables direct-to-GPU texture uploading, drastically reducing load times and CPU overhead in 3D applications
- Supports complex texture types natively (mipmaps, cubemaps, 3D volumes, texture arrays)
- Standardized across major Khronos APIs (OpenGL, Vulkan, WebGL) unlike vendor-specific formats like DDS
Limitations
- Requires custom JavaScript loaders to parse and display on the web
- Zero native support in consumer image viewers or 2D photo editing software
- Format fragmentation: a KTX file containing an ASTC payload will fail to render on hardware that only supports BCn compression (KTX2 and Basis Universal solve this)
When to choose which format
G3-Fax
Use G3-Fax when…
- Telefacsimile (Fax) Transmission
- Internet Fax (T.37)
- Document Archiving
- Telephony Systems
KTX
Use KTX when…
- Real-time 3D Graphics
- WebGL / WebGPU Applications
- Mobile Games
- Virtual/Augmented Reality (VR/AR)