Free webp to jpg
Image MIME Reference
Corel-CMX

Corel Metafile Exchange

image/x-cmx
VS

Portable Anymap

image/x-portable-anymap
PNM

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

Equal browser support

Feature Support

Feature Corel-CMX PNM
Transparency (Alpha) Yes ✕ No
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 →
Portable Anymap
image/x-portable-anymap
Extension
.pnm
Container Netpbm
Compression Uncompressed
Algorithm
None
Color Depth 1-bit (PBM), 8-bit to 16-bit (PGM), 24-bit to 48-bit (PPM)
Developed by Jef Poskanzer (Netpbm Project)
Released 1988
Magic Bytes
50 31, 50 32, 50 33, 50 34, 50 35, or 50 36
Full PNM reference →

Browser Support Comparison

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

PNM Strengths

  • Unparalleled simplicity: parsers and writers for PNM files can be written from scratch in C or Python in just a few minutes without relying on external libraries
  • Serves as an excellent foundational teaching tool for computer science students learning about image arrays and raster graphics
  • Flawlessly pipes through Unix command-line utilities for robust automated image processing (via the Netpbm suite)
Limitations
  • Zero compression natively results in astronomical file sizes, making it entirely impractical for web delivery or consumer storage
  • No support for standard metadata formats like EXIF, XMP, or ICC color profiles
  • No native alpha channel support in the classic PNM specification (though the newer PAM format 'P7' addresses this)

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
PNM
Use PNM when…
  • Unix/Linux Command-Line Image Processing (Netpbm suite)
  • Academic Computer Vision Research
  • Intermediary Format for Image Format Conversion
Share this comparison