Image MIME Reference
ICO
Windows Icon (Legacy MIME)
image/x-icon
VS
Apple PICT Image
image/x-pict
PICT
A complete technical comparison of Windows Icon (Legacy MIME) and Apple PICT Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
ICO wins on browser support
Feature Support
| Feature | ICO | PICT |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| 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
Apple PICT Image
image/x-pict
Extension
.pict.pct.pic
Container
QuickDraw Metafile
Compression
Uncompressed / Run-Length Encoding (RLE) / QuickTime Compressors (JPEG, SMC)
Algorithm
Apple PackBits (RLE)QuickTime Image Compression Manager (ICM)
Color Depth
1-bit, 2-bit, 4-bit, 8-bit (Indexed), 16-bit (High Color), 24-bit (True Color), 32-bit (RGBA)
Developed by
Apple Computer, Inc.
Released
1984
Magic Bytes
None (Requires offset parsing, e.g., 00 11 02 FF at byte 522)
Browser Support Comparison
| Browser | ICO | PICT |
|---|---|---|
|
|
✓ 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
PICT
PICT Strengths
- Incredibly versatile for its time, allowing a single file to cleanly scale text and vector shapes while simultaneously housing raster photos
- Served as the flawless universal clipboard format for the classic Mac OS, enabling seamless copy/pasting between wildly different applications
Limitations
- Deeply tied to Apple's legacy QuickDraw graphics architecture, making it exceptionally difficult to write accurate third-party parsers on modern operating systems
- Lack of a standard magic header makes file detection unreliable without seeking 522 bytes deep into the file
- Completely unsupported in modern web environments and discontinued by Apple itself
When to choose which format
ICO
Use ICO when…
- Website Favicons (favicon.ico)
- Windows Application Executable Icons (.exe)
- Desktop Shortcut Icons
PICT
Use PICT when…
- Classic Mac OS Clipboard Data
- Legacy Macintosh Desktop Publishing (Aldus PageMaker, QuarkXPress)
- 1980s/1990s Digital Clip Art