Free webp to jpg
Image MIME Reference
Corel-CMX

Corel Metafile Exchange

image/x-cmx
VS

JPEG 2000 Image (HEIF Container)

image/hej2k
HEJ2K

A complete technical comparison of Corel Metafile Exchange and JPEG 2000 Image (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Corel-CMX HEJ2K
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No Yes
HDR Support ✕ No Yes
EXIF Metadata ✕ No Yes
ICC Color Profile Yes Yes
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 →
JPEG 2000 Image (HEIF Container)
image/hej2k
Extension
.hej2
Container HEIF / ISOBMFF (ISO/IEC 15444-16)
Compression Lossy / Lossless
Algorithm
JPEG 2000HTJ2K
Color Depth 8-bit, 10-bit, 12-bit, 16-bit
Developed by ISO/IEC JTC 1 / ITU-T
Released 2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 32 6B 69
Full HEJ2K reference →

Browser Support Comparison

Browser Corel-CMX HEJ2K
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
HEJ2K

HEJ2K Strengths

  • Brings the extensive capabilities of the HEIF container (like EXIF/XMP, thumbnails, and depth maps) to JPEG 2000
  • Supports mathematically lossless compression via wavelet transformation
  • High scalability and progressive decoding out of the box
Limitations
  • Extremely limited software support outside of niche industries
  • Zero native compatibility with web browsers
  • High computational complexity compared to simpler formats like JPEG or PNG

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
HEJ2K
Use HEJ2K when…
  • Medical Imaging
  • Geospatial Data
  • Scientific Archiving
Share this comparison