Image MIME Reference
G3-Fax
Group 3 Fax Image
image/g3fax
VS
JPEG 2000 Image (HEIF Container)
image/hej2k
HEJ2K
A complete technical comparison of Group 3 Fax Image and JPEG 2000 Image (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | G3-Fax | HEJ2K |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
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)
JPEG 2000 Image (HEIF Container)
image/hej2k
Extension
.hej2
Container
HEIF / ISOBMFF (ISO/IEC 15444-16)
Compression
Lossy / Lossless
Algorithm
JPEG 2000HTJ2K
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
ISO/IEC JTC 1 / ITU-T
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 32 6B 69
Browser Support Comparison
| Browser | G3-Fax | HEJ2K |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
HEJ2K
HEJ2K Strengths
- Brings the extensive capabilities of the HEIF container (like EXIF/XMP, thumbnails, and depth maps) to JPEG 2000
- Supports mathematically lossless compression via wavelet transformation
- High scalability and progressive decoding out of the box
Limitations
- Extremely limited software support outside of niche industries
- Zero native compatibility with web browsers
- High computational complexity compared to simpler formats like JPEG or PNG
When to choose which format
G3-Fax
Use G3-Fax when…
- Telefacsimile (Fax) Transmission
- Internet Fax (T.37)
- Document Archiving
- Telephony Systems
HEJ2K
Use HEJ2K when…
- Medical Imaging
- Geospatial Data
- Scientific Archiving