Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

Corel Metafile Exchange

image/x-cmx
Corel-CMX

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

Equal browser support

Feature Support

Feature CGM Corel-CMX
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile Yes Yes
Computer Graphics Metafile
image/cgm
Extension
.cgm
Container CGM
Compression Uncompressed / Binary / Character / Clear Text
Algorithm
Deflate (in some WebCGM profiles)
Color Depth 8-bit, 16-bit, 24-bit, 32-bit
Developed by ISO / IEC
Released 1987
Magic Bytes
00 20 (Binary) / 42 45 47 49 4E 20 4D 45 54 41 46 49 4C 45 (Clear Text)
Full CGM reference →
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 →

Browser Support Comparison

Browser CGM Corel-CMX
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
CGM

CGM Strengths

  • Strictly standardized by ISO, ensuring long-term archiving and cross-platform compatibility in engineering
  • Excellent support for rich metadata, hyperlinks, and technical hotspots via the WebCGM profile
  • Can store complex 2D geometry, rasters, and text in a single lightweight file
Limitations
  • Multiple encoding schemes (Binary, Character, Clear Text) make parser development difficult
  • Zero native support in modern web browsers without third-party plugins
  • Largely replaced by SVG for general-purpose 2D vector graphics on the web
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

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
Corel-CMX
Use Corel-CMX when…
  • Legacy CorelDRAW Clip Art Collections
  • Vector Graphic Exchange within Corel Suite
  • Historical Desktop Publishing Assets
Share this comparison