Image MIME Reference
PBM
Portable Bitmap
image/x-portable-bitmap
VS
TIFF for Facsimile eXtended
image/tiff-fx
TIFF-FX
A complete technical comparison of Portable Bitmap and TIFF for Facsimile eXtended — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | PBM | TIFF-FX |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | Yes |
Portable Bitmap
image/x-portable-bitmap
Extension
.pbm
Container
Netpbm
Compression
Uncompressed
Algorithm
None
Color Depth
1-bit (Monochrome)
Developed by
Jef Poskanzer (Netpbm Project)
Released
1988
Magic Bytes
50 31 (ASCII) or 50 34 (Binary)
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 | PBM | TIFF-FX |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
PBM
PBM Strengths
- Absolute structural simplicity allows parsers to be written from scratch with just a few lines of code
- ASCII encoding allows manual editing and debugging directly within a standard text editor
- Serves as a flawless, lossless intermediary for 1-bit raster data like scanned documents or barcodes
Limitations
- Strictly limited to 1-bit monochrome images; cannot natively display shades of gray or color
- Lack of compression results in extremely large file sizes, particularly when using the ASCII 'P1' encoding
- No support for alpha transparency or modern metadata standards like EXIF
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
PBM
Use PBM when…
- Optical Character Recognition (OCR) Pre-processing
- Unix/Linux Command-Line Image Pipelines
- Academic Image Processing Teaching
TIFF-FX
Use TIFF-FX when…
- Internet Fax (T.37)
- Enterprise Fax Servers
- Document Archiving
- Telecommunications