Image MIME Reference
PBM
Portable Bitmap
image/x-portable-bitmap
VS
Silicon Graphics Image
image/sgi
SGI
A complete technical comparison of Portable Bitmap and Silicon Graphics Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | PBM | SGI |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
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)
Silicon Graphics Image
image/sgi
Extension
.sgi.rgb.rgba.bw.int.inta
Container
SGI Image Format
Compression
Uncompressed / Lossless (Run-Length Encoding)
Algorithm
RLENone
Color Depth
8-bit, 16-bit (Per Channel)
Developed by
Paul Haeberli (Silicon Graphics)
Released
1990
Magic Bytes
01 DA
Browser Support Comparison
| Browser | PBM | SGI |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
SGI
SGI Strengths
- Pioneered multi-channel and 16-bit per channel imaging capabilities required for high-end 1990s visual effects
- Extremely robust and simple header structure
- Reliable Run-Length Encoding provided solid lossless compression for flat-shaded 3D renders
Limitations
- Completely obsolete for modern web and application development
- Zero native web browser compatibility
- Largely replaced by TIFF and OpenEXR in modern professional VFX and 3D pipelines
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
SGI
Use SGI when…
- Legacy 3D Animation & VFX
- Silicon Graphics IRIX Workflows
- Historical CGI Archiving