Image MIME Reference
Canon-CRW
Canon Raw Format
image/x-canon-crw
VS
X Window Dump (Legacy MIME Alias)
image/x-xwindowdump
XWD
A complete technical comparison of Canon Raw Format and X Window Dump (Legacy MIME Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Canon-CRW | XWD |
|---|---|---|
| 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)
X Window Dump (Legacy MIME Alias)
image/x-xwindowdump
Extension
.xwd.wd
Container
XWDHeader / XWDFileHeader Structure
Compression
Uncompressed
Algorithm
None
Color Depth
8-bit (Indexed), 16-bit (High Color), 24-bit (True Color), 32-bit (True Color with Alpha/Padding)
Developed by
MIT / X Consortium (X Window System)
Released
1987
Magic Bytes
00 00 00 64 (Typically indicates a 100-byte header size followed by version)
Browser Support Comparison
| Browser | Canon-CRW | XWD |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
XWD
XWD Strengths
- Provides an exact, raw pixel dump directly from the X11 display server memory without compression overhead
- Extremely fast for Unix environments to generate during low-level graphical debugging
Limitations
- Completely uncompressed, resulting in large, bloated file sizes
- Zero support in web browsers or modern desktop environments without specialized graphics translation tools
- Verbose legacy MIME strings like 'image/x-xwindowdump' require backend normalization in modern applications
When to choose which format
Canon-CRW
Use Canon-CRW when…
- Historical Digital Photography (2000-2004)
- Non-destructive Image Post-Processing
- Raw Imaging Archival
XWD
Use XWD when…
- X Window System (X11) Display Debugging and Screenshots
- Legacy Unix/Linux System Administration