Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

Digital Picture Exchange

image/dpx
DPX

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

Equal browser support

Feature Support

Feature CGM DPX
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No Yes
EXIF Metadata ✕ No ✕ No
ICC Color Profile Yes ✕ No
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 →
Digital Picture Exchange
image/dpx
Extension
.dpx
Container DPX (SMPTE ST 268)
Compression Uncompressed / RLE (Rarely used)
Algorithm
Uncompressed
Color Depth 8-bit, 10-bit, 12-bit, 16-bit, 32-bit (Float)
Developed by SMPTE (Society of Motion Picture and Television Engineers)
Released 1994
Magic Bytes
53 44 50 58 (Big-endian) / 58 50 44 53 (Little-endian)
Full DPX reference →

Browser Support Comparison

Browser CGM DPX
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
DPX

DPX Strengths

  • Industry standard for transferring uncompressed, high-fidelity film and VFX data
  • Rich industry-specific metadata including timecode, keykode, and film stock information
  • Supports logarithmic color spaces (LogC, Cineon) to preserve the massive dynamic range of film negatives
Limitations
  • Massive file sizes (e.g., a single 4K 10-bit frame is ~50MB, resulting in ~1.2GB per second at 24fps)
  • Zero native support in web browsers or consumer OS image viewers
  • Requires heavy-duty, fast storage infrastructure (RAID/NVMe) to playback in real-time

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
DPX
Use DPX when…
  • Film Scanning
  • Visual Effects (VFX)
  • Digital Intermediate (DI)
  • Color Grading
  • Archival
Share this comparison