Image MIME Reference
NAPLPS
North American Presentation Level Protocol Syntax
image/naplps
VS
Windows Metafile
image/x-wmf
WMF
A complete technical comparison of North American Presentation Level Protocol Syntax and Windows Metafile — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | NAPLPS | WMF |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
North American Presentation Level Protocol Syntax
image/naplps
Extension
.nap.naplps
Container
NAPLPS Byte Stream
Compression
Uncompressed (Tokenized ASCII Commands)
Algorithm
None (Coordinate encoding)
Color Depth
16-color palette (Indexed from larger color spaces)
Developed by
ANSI / CSA (Based on Canadian CRC's Telidon)
Released
1983
Magic Bytes
1B (Variable / ESC sequences)
Windows Metafile
image/x-wmf
Extension
.wmf.emf
Container
Windows GDI Metafile Command Stream
Compression
Uncompressed (Command Stream)
Algorithm
None
Color Depth
Varies based on GDI rendering engine
Developed by
Microsoft Corporation
Released
1990
Magic Bytes
D7 CD C6 9A (Aldus Placeable Metafile Header) or 01 00 09 00 (Standard WMF Header)
Browser Support Comparison
| Browser | NAPLPS | WMF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
NAPLPS
NAPLPS Strengths
- Extremely bandwidth-efficient, enabling colorful graphical interfaces over early 300 baud dial-up connections
- Resolution-independent vector scaling allowed the exact same file to be displayed accurately on varied early PC monitors and television sets
Limitations
- Completely obsolete and unsupported by modern web technologies
- Relies heavily on stateful parsing and terminal emulators rather than straightforward file decoding
- Easily misidentified by MIME sniffers as plain text or generic binary streams due to the lack of a standardized file header
WMF
WMF Strengths
- Infinitely scalable vector format that remains remarkably compact for simple geometric illustrations and charts
- Historically served as a seamless conduit for copying and pasting vector graphics between disparate Windows applications via the system clipboard
Limitations
- Notoriously plagued by historic security vulnerabilities, making raw WMF parsing a vector for exploits in legacy software
- Completely obsolete and unsupported in modern web environments (browsers cannot render them)
- Strictly tied to the Windows GDI architecture, making cross-platform rendering inconsistent across Linux and macOS
When to choose which format
NAPLPS
Use NAPLPS when…
- 1980s Videotex Services
- Prodigy Online Service Graphics
- Historical BBS Terminal Graphics
- Legacy Teletext Broadcasts
WMF
Use WMF when…
- Legacy Microsoft Office Clip Art and Icons
- Windows GDI Graphics Export
- Early Windows Desktop Publishing