Image MIME Reference
CNS-INF2
Comverse Network Systems INF2 Image
image/vnd.cns.inf2
VS
Pentax Electronic File
image/x-pentax-pef
Pentax-PEF
A complete technical comparison of Comverse Network Systems INF2 Image and Pentax Electronic File — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | CNS-INF2 | Pentax-PEF |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
Comverse Network Systems INF2 Image
image/vnd.cns.inf2
Extension
.inf2
Container
Proprietary Comverse Container
Compression
Proprietary
Algorithm
Unknown (Proprietary Telecom Encoding)
Color Depth
Unknown
Developed by
Comverse Network Systems (Ann McLaughlin)
Released
1999
Magic Bytes
Unknown (Proprietary)
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)
Browser Support Comparison
| Browser | CNS-INF2 | Pentax-PEF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
CNS-INF2
CNS-INF2 Strengths
- Historically allowed Comverse to standardize media transmission internally across their global telecom messaging platforms
Limitations
- Completely obsolete and non-functional outside of decommissioned telecom infrastructure
- Undocumented, closed-source binary structure
- Zero support in modern image processing libraries like ImageMagick, libvips, or FFmpeg
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
When to choose which format
CNS-INF2
Use CNS-INF2 when…
- Legacy Telecom Infrastructure
- Historical Comverse Unified Messaging Systems
- Proprietary Server-to-Server Media Exchange
Pentax-PEF
Use Pentax-PEF when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- Pentax Camera Archival