Free webp to jpg
Image MIME Reference
Canon-CRW

Canon Raw Format

image/x-canon-crw
VS

Computer Graphics Metafile

image/cgm
CGM

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

Equal browser support

Feature Support

Feature Canon-CRW CGM
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes ✕ No
EXIF Metadata Yes ✕ No
ICC Color Profile ✕ No Yes
Canon Raw Format
image/x-canon-crw
Extension
.crw
Container CIFF (Camera Image File Format)
Compression Lossless JPEG (ITU-T81)
Algorithm
Lossless JPEG
Color Depth 10-bit (Per Channel), 12-bit (Per Channel)
Developed by Canon Inc.
Released 1998
Magic Bytes
49 49 1A 00 00 00 (Header) / 48 45 41 50 43 43 44 52 (HEAPCCDR signature near end)
Full Canon-CRW reference →
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 →

Browser Support Comparison

Browser Canon-CRW CGM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
Canon-CRW

Canon-CRW Strengths

  • Preserves original raw sensor data from foundational early digital SLR cameras, allowing for modern noise reduction and demosaicing algorithms to extract better images than software could in 2003
  • Files are remarkably small (often 6-8 MB) compared to modern 40MB+ raw files due to the lower megapixel count of early sensors
Limitations
  • Completely obsolete and utilizes the idiosyncratic CIFF structure rather than the modern, standardized TIFF/EP structure
  • Cannot be natively viewed in web browsers or standard operating system image viewers without specialized codecs
  • Less robust metadata support compared to modern CR2 or CR3 formats
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

When to choose which format

Canon-CRW
Use Canon-CRW when…
  • Historical Digital Photography (2000-2004)
  • Non-destructive Image Post-Processing
  • Raw Imaging Archival
CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
Share this comparison