Image MIME Reference
G3-Fax
Group 3 Fax Image
image/g3fax
VS
JPEG-LS
image/jls
JPEG-LS
A complete technical comparison of Group 3 Fax Image and JPEG-LS — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | G3-Fax | JPEG-LS |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| 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)
JPEG-LS
image/jls
Extension
.jls.jl
Container
JPEG Bitstream
Compression
Lossless / Near-Lossless (Predictive Coding)
Algorithm
LOCO-I (Low Complexity Lossless Compression for Images)Golomb-Rice Coding
Color Depth
8-bit, 12-bit, 16-bit (Per Channel)
Developed by
Joint Photographic Experts Group (ISO/ITU-T) & HP Labs
Released
1999
Magic Bytes
FF D8 FF F7
Browser Support Comparison
| Browser | G3-Fax | JPEG-LS |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
JPEG-LS
JPEG-LS Strengths
- Provides state-of-the-art lossless compression ratios for continuous-tone images, often outperforming Lossless JPEG and JPEG 2000
- Extremely fast and computationally inexpensive to encode/decode, requiring no complex floating-point math or DCTs
- Highly resilient in constrained hardware environments, making it ideal for medical equipment and deep-space probes (e.g., Mars rovers)
Limitations
- Zero native support in web browsers or standard consumer operating systems
- Lacks the advanced resolution scalability and progressive decoding features found in JPEG 2000
- Primarily relegated to niche enterprise sectors (healthcare/DICOM and aerospace) rather than consumer adoption
When to choose which format
G3-Fax
Use G3-Fax when…
- Telefacsimile (Fax) Transmission
- Internet Fax (T.37)
- Document Archiving
- Telephony Systems
JPEG-LS
Use JPEG-LS when…
- Medical Imaging (DICOM Encapsulation)
- Space and Planetary Imaging (NASA/ESA)
- Industrial Machine Vision
- Scientific Archival Storage