Free webp to jpg
Image MIME Reference
Corel-CMX

Corel Metafile Exchange

image/x-cmx
VS

X Pixmap

image/x-xpixmap
XPM

A complete technical comparison of Corel Metafile Exchange and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Corel-CMX XPM
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
Full Corel-CMX reference →
X Pixmap
image/x-xpixmap
Extension
.xpm
Container C Source Code Header (.c / .h)
Compression Uncompressed (Source Code)
Algorithm
None
Color Depth Indexed Color (Custom Palette with RGB and Alpha 'None')
Developed by Daniel Dardailler and Colas Nahaboo (Bull / X Consortium)
Released 1989
Magic Bytes
2F 2A 20 58 50 4D 20 2A 2F (ASCII '/* XPM */')
Full XPM reference →

Browser Support Comparison

Browser Corel-CMX XPM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
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
XPM

XPM Strengths

  • Can be compiled directly into C or C++ source code without requiring an external asset loading mechanism
  • Human-readable palette mapping allows developers to inspect, modify, or hand-craft icons directly within a text editor
  • Native support for color palettes and transparency via the 'None' keyword
Limitations
  • Extremely inefficient storage structure for large images, resulting in massive file bloat compared to binary formats like PNG
  • Completely obsolete and unsupported in modern web browsers
  • Parsing overhead requires compiling or interpreting text-based color tables at runtime

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
XPM
Use XPM when…
  • X Window System (X11) Application Icons and Cursors
  • Embedded C/C++ Firmware Color UI Assets
  • Early Linux Desktop Environment Themes
Share this comparison