Image MIME Reference
PNM
Portable Anymap
image/x-portable-anymap
VS
Pixologic ZBrush PCX
image/vnd.zbrush.pcx
ZBrush-PCX
A complete technical comparison of Portable Anymap and Pixologic ZBrush PCX — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | PNM | ZBrush-PCX |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Portable Anymap
image/x-portable-anymap
Extension
.pnm
Container
Netpbm
Compression
Uncompressed
Algorithm
None
Color Depth
1-bit (PBM), 8-bit to 16-bit (PGM), 24-bit to 48-bit (PPM)
Developed by
Jef Poskanzer (Netpbm Project)
Released
1988
Magic Bytes
50 31, 50 32, 50 33, 50 34, 50 35, or 50 36
Pixologic ZBrush PCX
image/vnd.zbrush.pcx
Extension
.pcx
Container
ZSoft PCX
Compression
Run-Length Encoding (RLE)
Algorithm
ZSoft Run-Length Encoding (RLE)
Color Depth
8-bit (Grayscale), 24-bit (RGB)
Developed by
ZSoft (Format) / Pixologic (MIME Registration)
Released
1985
Magic Bytes
0A 05 01 08
Browser Support Comparison
| Browser | PNM | ZBrush-PCX |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
PNM
PNM Strengths
- Unparalleled simplicity: parsers and writers for PNM files can be written from scratch in C or Python in just a few minutes without relying on external libraries
- Serves as an excellent foundational teaching tool for computer science students learning about image arrays and raster graphics
- Flawlessly pipes through Unix command-line utilities for robust automated image processing (via the Netpbm suite)
Limitations
- Zero compression natively results in astronomical file sizes, making it entirely impractical for web delivery or consumer storage
- No support for standard metadata formats like EXIF, XMP, or ICC color profiles
- No native alpha channel support in the classic PNM specification (though the newer PAM format 'P7' addresses this)
ZBrush-PCX
ZBrush-PCX Strengths
- Extremely simple, lossless RLE compression makes it trivial to parse and encode programmatically
- Universally supported by almost every 2D image editor created since the 1990s
Limitations
- Completely obsolete for modern 3D workflows, which require 16-bit or 32-bit floating-point precision (like OpenEXR or TIFF) to avoid stepping artifacts in displacement maps
- No support for modern metadata (EXIF/XMP) or native alpha channels
- Zero native support in modern web browsers
When to choose which format
PNM
Use PNM when…
- Unix/Linux Command-Line Image Processing (Netpbm suite)
- Academic Computer Vision Research
- Intermediary Format for Image Format Conversion
ZBrush-PCX
Use ZBrush-PCX when…
- Legacy ZBrush Alpha Brushes
- 8-bit Grayscale Displacement Maps
- ZBrush Texture Exports