Image MIME Reference
Pentax-PEF
Pentax Electronic File
image/x-pentax-pef
VS
Pixologic ZBrush PCX
image/vnd.zbrush.pcx
ZBrush-PCX
A complete technical comparison of Pentax Electronic File and Pixologic ZBrush PCX — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Pentax-PEF | ZBrush-PCX |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Pentax Electronic File
image/x-pentax-pef
Extension
.pef
Container
TIFF-based (Proprietary)
Compression
Uncompressed / Proprietary Lossless
Algorithm
NonePentax Proprietary Lossless
Color Depth
12-bit (Per Channel), 14-bit (Per Channel)
Developed by
Pentax (now Ricoh Imaging Company, Ltd.)
Released
2003
Magic Bytes
49 49 2A 00 (Little-endian) or 4D 4D 00 2A (Big-endian)
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 | Pentax-PEF | ZBrush-PCX |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Pentax-PEF
Pentax-PEF Strengths
- Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
- White balance and sharpening are saved as metadata instructions rather than 'baked in', meaning they can be perfectly adjusted in post-production
- Utilizes the standard TIFF container structure, making it relatively straightforward for open-source software like LibRaw to parse
Limitations
- Proprietary format requires continuous updates to third-party processing software whenever Pentax releases a new camera model (unlike the open DNG format)
- Produces very large file sizes compared to standard web formats
- Cannot be directly embedded into web pages or used in standard HTML/CSS contexts
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
Pentax-PEF
Use Pentax-PEF when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- Pentax Camera Archival
ZBrush-PCX
Use ZBrush-PCX when…
- Legacy ZBrush Alpha Brushes
- 8-bit Grayscale Displacement Maps
- ZBrush Texture Exports