Image MIME Reference
Canon-CRW
Canon Raw Format
image/x-canon-crw
VS
JPEG XL
image/jxl
JXL
A complete technical comparison of Canon Raw Format and JPEG XL — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
JXL wins on browser support
Feature Support
| Feature | Canon-CRW | JXL |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| 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)
JPEG XL
image/jxl
Extension
.jxl
Container
ISOBMFF / JPEG XL Codestream
Compression
Lossy (VarDCT) / Lossless (Modular)
Algorithm
VarDCT (Variable block-size DCT)Modular (Predictive coding for lossless)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit, 32-bit (Float)
Developed by
Joint Photographic Experts Group (JPEG)
Released
2021
Magic Bytes
FF 0A (Codestream) / 00 00 00 0C 4A 58 4C 20 0D 0A 87 0A (Container)
Browser Support Comparison
| Browser | Canon-CRW | JXL |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓ 17+
|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
JXL
JXL Strengths
- Capable of losslessly recompressing legacy JPEG files, saving ~20% space while retaining perfect byte-for-byte restorability
- Highly superior progressive decoding (Saliency-driven), allowing recognizable images to load extremely fast on slow connections
- Outperforms WebP and competes favorably with AVIF, especially at high-fidelity settings and for complex textures/photography
- Royalty-free with an open-source reference implementation (libjxl)
Limitations
- Google's removal of JXL support from Chrome severely hindered its adoption as a universal web standard
- Lack of hardware decoding chips compared to video-derived codecs like AVIF (AV1)
- File parsing logic is complex due to the split between raw codestreams and ISOBMFF containers
When to choose which format
Canon-CRW
Use Canon-CRW when…
- Historical Digital Photography (2000-2004)
- Non-destructive Image Post-Processing
- Raw Imaging Archival
JXL
Use JXL when…
- High-End Web Delivery (via Safari/Polyfills)
- HDR Photography
- Legacy JPEG Archiving
- Digital Art & Image Storage