Free webp to jpg
Image MIME Reference
ICO

Windows Icon (Legacy MIME)

image/x-icon
VS

X Window Dump (Legacy MIME Alias)

image/x-xwindowdump
XWD

A complete technical comparison of Windows Icon (Legacy MIME) and X Window Dump (Legacy MIME Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

ICO wins on browser support

Feature Support

Feature ICO XWD
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
Full ICO reference →
X Window Dump (Legacy MIME Alias)
image/x-xwindowdump
Extension
.xwd.wd
Container XWDHeader / XWDFileHeader Structure
Compression Uncompressed
Algorithm
None
Color Depth 8-bit (Indexed), 16-bit (High Color), 24-bit (True Color), 32-bit (True Color with Alpha/Padding)
Developed by MIT / X Consortium (X Window System)
Released 1987
Magic Bytes
00 00 00 64 (Typically indicates a 100-byte header size followed by version)
Full XWD reference →

Browser Support Comparison

Browser ICO XWD
Chrome Chrome
✓ 1
Firefox Firefox
✓ 1
Safari Safari
✓ 1
Edge Edge
✓ 12
IE IE (Legacy)
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
XWD

XWD Strengths

  • Provides an exact, raw pixel dump directly from the X11 display server memory without compression overhead
  • Extremely fast for Unix environments to generate during low-level graphical debugging
Limitations
  • Completely uncompressed, resulting in large, bloated file sizes
  • Zero support in web browsers or modern desktop environments without specialized graphics translation tools
  • Verbose legacy MIME strings like 'image/x-xwindowdump' require backend normalization in modern applications

When to choose which format

ICO
Use ICO when…
  • Website Favicons (favicon.ico)
  • Windows Application Executable Icons (.exe)
  • Desktop Shortcut Icons
XWD
Use XWD when…
  • X Window System (X11) Display Debugging and Screenshots
  • Legacy Unix/Linux System Administration
Share this comparison