Image MIME Reference
Pentax-PEF
Pentax Electronic File
image/x-pentax-pef
VS
RealNetworks RealPix
image/vnd.rn-realpix
RealPix
A complete technical comparison of Pentax Electronic File and RealNetworks RealPix — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Pentax-PEF | RealPix |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | Yes |
| 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)
RealNetworks RealPix
image/vnd.rn-realpix
Extension
.rp
Container
IMFL (XML Markup)
Compression
Uncompressed (Plain Text Markup)
Algorithm
None (Plain Text)
Color Depth
Dependent on referenced images
Developed by
RealNetworks
Released
1998
Magic Bytes
3C 69 6D 66 6C
Browser Support Comparison
| Browser | Pentax-PEF | RealPix |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
RealPix
RealPix Strengths
- Allowed for 'Ken Burns'-style animated slideshows at a fraction of the bandwidth required for actual video, crucial for 1990s dial-up connections
- Plain text XML architecture made it easy for developers and hobbyists to hand-code complex multimedia presentations
- Perfectly synchronized with RealAudio streams using SMIL-like timing parameters
Limitations
- Completely obsolete and heavily reliant on the proprietary, defunct RealPlayer browser plugin
- Not a true image format, causing confusion when handled by standard image processing libraries which expect binary pixel data
- Lacks modern CSS or HTML5 canvas equivalents without completely rewriting the presentation logic
When to choose which format
Pentax-PEF
Use Pentax-PEF when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- Pentax Camera Archival
RealPix
Use RealPix when…
- Historical Dial-up Streaming Presentations
- RealPlayer Slideshows
- Bandwidth-efficient 'Video' Alternatives (late 1990s)