Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

Kodak Digital Camera Raw

image/x-kodak-dcr
Kodak-DCR

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

Equal browser support

Feature Support

Feature CGM Kodak-DCR
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
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 →
Kodak Digital Camera Raw
image/x-kodak-dcr
Extension
.dcr
Container TIFF/EP
Compression Uncompressed / Lossless JPEG
Algorithm
NoneLossless JPEG (ITU-T81)
Color Depth 12-bit (Per Channel)
Developed by Eastman Kodak Company
Released 1998
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
Full Kodak-DCR reference →

Browser Support Comparison

Browser CGM Kodak-DCR
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
Kodak-DCR

Kodak-DCR Strengths

  • Preserves the full dynamic range and uncompressed raw sensor data captured by foundational professional digital cameras
  • Utilizes the standard TIFF container structure, ensuring that open-source decoders like LibRaw can easily parse and interpret the files long after official vendor support has ended
Limitations
  • Completely obsolete proprietary format tied to camera hardware that is no longer manufactured
  • Shares the TIFF magic header, leading to widespread misidentification by automated MIME detection libraries
  • Cannot be natively viewed in web browsers or standard operating system image viewers without specialized codecs

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
Kodak-DCR
Use Kodak-DCR when…
  • Vintage Professional Digital Photography (Kodak DCS series)
  • Non-destructive Image Post-Processing
  • Raw Imaging Archival
Share this comparison