Image MIME Reference
Net-FPX
Network FlashPix
image/vnd.net-fpx
VS
Portable Graymap
image/x-portable-graymap
PGM
A complete technical comparison of Network FlashPix and Portable Graymap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Net-FPX | PGM |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Network FlashPix
image/vnd.net-fpx
Extension
.fpx
Container
Microsoft OLE Structured Storage (COM)
Compression
JPEG (Lossy) / Uncompressed / Single-color (Solid)
Algorithm
JPEGNone
Color Depth
8-bit (Grayscale/Indexed), 24-bit (RGB), 32-bit (CMYK/RGBA)
Developed by
Digital Imaging Group (Kodak, HP, Live Picture, Microsoft)
Released
1996
Magic Bytes
D0 CF 11 E0 A1 B1 1A E1
Portable Graymap
image/x-portable-graymap
Extension
.pgm
Container
Netpbm
Compression
Uncompressed
Algorithm
None
Color Depth
8-bit (Grayscale), 16-bit (Grayscale)
Developed by
Jef Poskanzer (Netpbm Project)
Released
1988
Magic Bytes
50 32 (ASCII) or 50 35 (Binary)
Browser Support Comparison
| Browser | Net-FPX | PGM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Net-FPX
Net-FPX Strengths
- Revolutionized web imaging in the late 1990s by proving that massive gigapixel images could be navigated seamlessly over 56k dial-up modems
- Pioneered the tile-based, multi-resolution pyramid concepts that eventually evolved into modern standards like IIIF (International Image Interoperability Framework)
Limitations
- Completely obsolete, having been replaced by standard JPEG servers and modern tiling formats like Deep Zoom or JPEG 2000/XR
- Relied on proprietary Java applets or ActiveX controls to render the tiles dynamically in a web browser
- Extremely complex to parse server-side due to the heavy OLE filesystem container
PGM
PGM Strengths
- Extremely simple format allows custom parsers to be written from scratch in minimal time
- Supports 16-bit precision, making it highly valuable for scientific, medical, and height-map data where 8-bit precision is insufficient
- ASCII encoding ('P2') allows manual editing and visual inspection of pixel values directly within a text editor
Limitations
- Strictly limited to grayscale; cannot display color
- Lack of compression results in massive file sizes, making it entirely impractical for web delivery or consumer storage
- Does not support alpha transparency or modern metadata structures
When to choose which format
Net-FPX
Use Net-FPX when…
- Historical Internet Imaging Protocol (IIP) Streaming
- Early E-Commerce Deep Zoom Implementations
- Legacy High-Resolution Image Servers
PGM
Use PGM when…
- Computer Vision and Machine Learning Pre-processing
- Scientific and Medical Image Processing
- Unix/Linux Command-Line Image Pipelines