Image MIME Reference
PBM
Portable Bitmap
image/x-portable-bitmap
VS
Sigma X3F RAW Image
image/x-sigma-x3f
Sigma-X3F
A complete technical comparison of Portable Bitmap and Sigma X3F RAW Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | PBM | Sigma-X3F |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| 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)
Sigma X3F RAW Image
image/x-sigma-x3f
Extension
.x3f
Container
Foveon Proprietary Header
Compression
Uncompressed / Proprietary Lossless
Algorithm
NoneFoveon Proprietary Huffman-based
Color Depth
12-bit (Per Channel), 14-bit (Per Channel)
Developed by
Foveon, Inc. / Sigma Corporation
Released
2002
Magic Bytes
46 4F 56 62
Browser Support Comparison
| Browser | PBM | Sigma-X3F |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Sigma-X3F
Sigma-X3F Strengths
- Provides absolute per-pixel color accuracy without the interpolation artifacts or moiré patterns typical of Bayer-sensor RAW files
- Unique 'FOVb' magic byte signature prevents accidental misidentification by standard file sniffers, unlike many TIFF-based raw formats
- Incredible sharpness and detail resolution at the raw sensor level
Limitations
- Decoding is extremely computationally expensive and completely proprietary, meaning third-party software often struggles to match the color science of Sigma's own (famously slow) Photo Pro application
- Massive file sizes because it records three complete RGB channels for every single spatial pixel coordinate
- Zero support in web browsers or standard OS image viewers
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
Sigma-X3F
Use Sigma-X3F when…
- Professional Digital Photography
- Sigma / Foveon High-Acuity Imaging
- Non-destructive RAW Post-Processing