Image MIME Reference
PJPEG
Progressive JPEG (Legacy IE Alias)
image/pjpeg
VS
TIFF for Facsimile eXtended
image/tiff-fx
TIFF-FX
A complete technical comparison of Progressive JPEG (Legacy IE Alias) and TIFF for Facsimile eXtended — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
PJPEG wins on browser support
Feature Support
| Feature | PJPEG | TIFF-FX |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | Yes |
Progressive JPEG (Legacy IE Alias)
image/pjpeg
Extension
.jpeg.jpg.pjpeg.pjp.jfif
Container
JPEG (ISO/IEC 10918-1)
Compression
Lossy (DCT)
Algorithm
Discrete Cosine Transform (DCT)
Color Depth
8-bit, 12-bit
Developed by
Joint Photographic Experts Group / Microsoft (Alias)
Released
1992
Magic Bytes
FF D8 FF E0 (JFIF) / FF D8 FF E1 (Exif)
TIFF for Facsimile eXtended
image/tiff-fx
Extension
.tiff.tif
Container
TIFF 6.0 Tag Directory Structure
Compression
MH / MR / MMR (CCITT Group 3 & 4) / JBIG / JPEG
Algorithm
CCITT Group 3/4JBIGJPEG
Color Depth
1-bit (Monochrome B&W), 8-bit (Grayscale/Color Indexed), 24-bit (RGB Color)
Developed by
IETF (Internet Engineering Task Force)
Released
1998
Magic Bytes
49 49 2A 00 (Little-Endian) / 4D 4D 00 2A (Big-Endian)
Browser Support Comparison
| Browser | PJPEG | TIFF-FX |
|---|---|---|
|
|
✓ All
|
✕ |
|
|
✓ All
|
✕ |
|
|
✓ All
|
✕ |
|
|
✓ All
|
✕ |
|
|
✓
|
✕ |
PJPEG
PJPEG Strengths
- Progressive JPEGs (which this MIME type attempted to describe) provide excellent perceived loading speeds on slow connections by rendering a low-resolution preview first
- Files sent with this MIME type are fully backwards compatible with any standard JPEG decoder
Limitations
- It is a non-standard MIME type that violates IANA specifications
- Causes strict file upload validation scripts to fail if not explicitly whitelisted or mapped
- Creates unnecessary confusion, as the official image/jpeg MIME type already fully encompasses progressive encoding
TIFF-FX
TIFF-FX Strengths
- Provides a universal, standardized format for transmitting multi-page documents over IP networks and email (Internet Fax)
- Supports highly efficient telecom-centric compression algorithms (MMR, JBIG) that produce very small files for text documents
- Maintains backwards compatibility with standard TIFF parsers
Limitations
- Not supported natively by web browsers
- Requires complex parsing of TIFF IFD tags to differentiate a true TIFF-FX file from a standard TIFF file
- Usage is slowly declining as traditional faxing is replaced by secure PDF transmission and e-signature platforms
When to choose which format
PJPEG
Use PJPEG when…
- Legacy Internet Explorer File Uploads
- Progressive Image Rendering (Historical context)
TIFF-FX
Use TIFF-FX when…
- Internet Fax (T.37)
- Enterprise Fax Servers
- Document Archiving
- Telecommunications