Image MIME Reference
CGM
Computer Graphics Metafile
image/cgm
VS
Pixologic ZBrush PCX
image/vnd.zbrush.pcx
ZBrush-PCX
A complete technical comparison of Computer Graphics Metafile and Pixologic ZBrush PCX — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | CGM | ZBrush-PCX |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Computer Graphics Metafile
image/cgm
Extension
.cgm
Container
CGM
Compression
Uncompressed / Binary / Character / Clear Text
Algorithm
Deflate (in some WebCGM profiles)
Color Depth
8-bit, 16-bit, 24-bit, 32-bit
Developed by
ISO / IEC
Released
1987
Magic Bytes
00 20 (Binary) / 42 45 47 49 4E 20 4D 45 54 41 46 49 4C 45 (Clear Text)
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 | CGM | ZBrush-PCX |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
CGM
CGM Strengths
- Strictly standardized by ISO, ensuring long-term archiving and cross-platform compatibility in engineering
- Excellent support for rich metadata, hyperlinks, and technical hotspots via the WebCGM profile
- Can store complex 2D geometry, rasters, and text in a single lightweight file
Limitations
- Multiple encoding schemes (Binary, Character, Clear Text) make parser development difficult
- Zero native support in modern web browsers without third-party plugins
- Largely replaced by SVG for general-purpose 2D vector graphics on the web
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
CGM
Use CGM when…
- Technical Illustrations
- Aerospace & Defense (S1000D)
- CAD/CAM
- Geophysics
ZBrush-PCX
Use ZBrush-PCX when…
- Legacy ZBrush Alpha Brushes
- 8-bit Grayscale Displacement Maps
- ZBrush Texture Exports