Image MIME Reference
Corel-CMX
Corel Metafile Exchange
image/x-cmx
VS
X Window Dump (Legacy MIME Alias)
image/x-xwindowdump
XWD
A complete technical comparison of Corel Metafile Exchange and X Window Dump (Legacy MIME Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Corel-CMX | XWD |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Corel Metafile Exchange
image/x-cmx
Extension
.cmx
Container
RIFF (Resource Interchange File Format)
Compression
Uncompressed Vector Commands / Embedded Raster Compression (Optional)
Algorithm
None (Vector)
Color Depth
Vector Data, Supports embedded bitmaps
Developed by
Corel Corporation
Released
Mid-1990s
Magic Bytes
52 49 46 46 (skip 4) 43 4D 58 31
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)
Browser Support Comparison
| Browser | Corel-CMX | XWD |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Corel-CMX
Corel-CMX Strengths
- Preserves rich vector attributes and layer groupings native to the Corel drawing engine better than standard WMF files
- Significantly smaller footprint than full CDR project files, making it excellent for early CD-ROM clip art distribution
- Maintains decent support in the open-source community thanks to libraries like libcdr
Limitations
- Proprietary format strictly tied to Corel's ecosystem, often causing compatibility issues with Adobe software
- Zero support in web browsers; must be converted to SVG for modern web usage
- Largely obsolete for modern workflows, superseded by PDF and SVG
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
Corel-CMX
Use Corel-CMX when…
- Legacy CorelDRAW Clip Art Collections
- Vector Graphic Exchange within Corel Suite
- Historical Desktop Publishing Assets
XWD
Use XWD when…
- X Window System (X11) Display Debugging and Screenshots
- Legacy Unix/Linux System Administration