Free webp to jpg
Image MIME Reference
Corel-CMX

Corel Metafile Exchange

image/x-cmx
VS

Pentax Electronic File

image/x-pentax-pef
Pentax-PEF

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

Equal browser support

Feature Support

Feature Corel-CMX Pentax-PEF
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
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 →
Pentax Electronic File
image/x-pentax-pef
Extension
.pef
Container TIFF-based (Proprietary)
Compression Uncompressed / Proprietary Lossless
Algorithm
NonePentax Proprietary Lossless
Color Depth 12-bit (Per Channel), 14-bit (Per Channel)
Developed by Pentax (now Ricoh Imaging Company, Ltd.)
Released 2003
Magic Bytes
49 49 2A 00 (Little-endian) or 4D 4D 00 2A (Big-endian)
Full Pentax-PEF reference →

Browser Support Comparison

Browser Corel-CMX Pentax-PEF
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
Pentax-PEF

Pentax-PEF Strengths

  • Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
  • White balance and sharpening are saved as metadata instructions rather than 'baked in', meaning they can be perfectly adjusted in post-production
  • Utilizes the standard TIFF container structure, making it relatively straightforward for open-source software like LibRaw to parse
Limitations
  • Proprietary format requires continuous updates to third-party processing software whenever Pentax releases a new camera model (unlike the open DNG format)
  • Produces very large file sizes compared to standard web formats
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts

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
Pentax-PEF
Use Pentax-PEF when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • Pentax Camera Archival
Share this comparison