Image MIME Reference
Pentax-PEF
Pentax Electronic File
image/x-pentax-pef
VS
Silicon Graphics Image
image/sgi
SGI
A complete technical comparison of Pentax Electronic File and Silicon Graphics Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Pentax-PEF | SGI |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| 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)
Silicon Graphics Image
image/sgi
Extension
.sgi.rgb.rgba.bw.int.inta
Container
SGI Image Format
Compression
Uncompressed / Lossless (Run-Length Encoding)
Algorithm
RLENone
Color Depth
8-bit, 16-bit (Per Channel)
Developed by
Paul Haeberli (Silicon Graphics)
Released
1990
Magic Bytes
01 DA
Browser Support Comparison
| Browser | Pentax-PEF | SGI |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
SGI
SGI Strengths
- Pioneered multi-channel and 16-bit per channel imaging capabilities required for high-end 1990s visual effects
- Extremely robust and simple header structure
- Reliable Run-Length Encoding provided solid lossless compression for flat-shaded 3D renders
Limitations
- Completely obsolete for modern web and application development
- Zero native web browser compatibility
- Largely replaced by TIFF and OpenEXR in modern professional VFX and 3D pipelines
When to choose which format
Pentax-PEF
Use Pentax-PEF when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- Pentax Camera Archival
SGI
Use SGI when…
- Legacy 3D Animation & VFX
- Silicon Graphics IRIX Workflows
- Historical CGI Archiving