Image MIME Reference
ICO
Windows Icon (Legacy MIME)
image/x-icon
VS
North American Presentation Level Protocol Syntax
image/naplps
NAPLPS
A complete technical comparison of Windows Icon (Legacy MIME) and North American Presentation Level Protocol Syntax — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
ICO wins on browser support
Feature Support
| Feature | ICO | NAPLPS |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | Yes |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Windows Icon (Legacy MIME)
image/x-icon
Extension
.ico
Container
ICO Directory Structure
Compression
Uncompressed (DIB/BMP) / Deflate (Embedded PNG)
Algorithm
NoneDeflate (via PNG)
Color Depth
1-bit, 4-bit, 8-bit, 24-bit (True Color), 32-bit (RGBA)
Developed by
Microsoft Corporation
Released
1985
Magic Bytes
00 00 01 00
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)
Browser Support Comparison
| Browser | ICO | NAPLPS |
|---|---|---|
|
|
✓ 1
|
✕ |
|
|
✓ 1
|
✕ |
|
|
✓ 1
|
✕ |
|
|
✓ 12
|
✕ |
|
|
✓
|
✕ |
ICO
ICO Strengths
- Universally supported by every web browser in existence for website favicons
- Packs multiple resolutions into a single file, eliminating the need to serve different files for the taskbar vs. the desktop
- Modern support for embedded PNGs (since Windows Vista) allows for excellent 32-bit transparency (alpha channels) and drastically reduced file sizes
Limitations
- Internal file structure is convoluted due to decades of legacy cruft, such as the requirement for BMP data to lack a standard file header but double the height property for an archaic XOR/AND mask
- Larger file size compared to a single optimized PNG or SVG, as it literally stores the same image multiple times at different scales
- The MIME type landscape is highly fragmented (x-icon vs. vnd.microsoft.icon), causing occasional caching or strict-MIME validation errors on restrictive servers
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
When to choose which format
ICO
Use ICO when…
- Website Favicons (favicon.ico)
- Windows Application Executable Icons (.exe)
- Desktop Shortcut Icons
NAPLPS
Use NAPLPS when…
- 1980s Videotex Services
- Prodigy Online Service Graphics
- Historical BBS Terminal Graphics
- Legacy Teletext Broadcasts