Image MIME Reference
Canon-CRW
Canon Raw Format
image/x-canon-crw
VS
Windows Metafile
image/x-wmf
WMF
A complete technical comparison of Canon Raw Format and Windows Metafile — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Canon-CRW | WMF |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
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)
Windows Metafile
image/x-wmf
Extension
.wmf.emf
Container
Windows GDI Metafile Command Stream
Compression
Uncompressed (Command Stream)
Algorithm
None
Color Depth
Varies based on GDI rendering engine
Developed by
Microsoft Corporation
Released
1990
Magic Bytes
D7 CD C6 9A (Aldus Placeable Metafile Header) or 01 00 09 00 (Standard WMF Header)
Browser Support Comparison
| Browser | Canon-CRW | WMF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
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
WMF
WMF Strengths
- Infinitely scalable vector format that remains remarkably compact for simple geometric illustrations and charts
- Historically served as a seamless conduit for copying and pasting vector graphics between disparate Windows applications via the system clipboard
Limitations
- Notoriously plagued by historic security vulnerabilities, making raw WMF parsing a vector for exploits in legacy software
- Completely obsolete and unsupported in modern web environments (browsers cannot render them)
- Strictly tied to the Windows GDI architecture, making cross-platform rendering inconsistent across Linux and macOS
When to choose which format
Canon-CRW
Use Canon-CRW when…
- Historical Digital Photography (2000-2004)
- Non-destructive Image Post-Processing
- Raw Imaging Archival
WMF
Use WMF when…
- Legacy Microsoft Office Clip Art and Icons
- Windows GDI Graphics Export
- Early Windows Desktop Publishing