Image MIME Reference
Canon-CR2
Canon Raw Version 2
image/x-canon-cr2
VS
JPEG XR Image Sequence (HEIF Container)
image/jxrs
JPEG-XR-Sequence
A complete technical comparison of Canon Raw Version 2 and JPEG XR Image Sequence (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Canon-CR2 | JPEG-XR-Sequence |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
Canon Raw Version 2
image/x-canon-cr2
Extension
.cr2
Container
TIFF
Compression
Lossless JPEG (ITU-T81)
Algorithm
Lossless JPEG (ITU-T81)
Color Depth
12-bit (Per Channel), 14-bit (Per Channel)
Developed by
Canon Inc.
Released
2004
Magic Bytes
49 49 2A 00 10 00 00 00 43 52 02 00
JPEG XR Image Sequence (HEIF Container)
image/jxrs
Extension
.jxrs
Container
HEIF / ISOBMFF (ISO/IEC 23008-12 / Annex F of ITU-T T.832)
Compression
Lossy / Lossless
Algorithm
JPEG XR (Lapped Biorthogonal Transform)
Color Depth
8-bit, 16-bit, 32-bit (Float)
Developed by
ISO/IEC JTC 1 / ITU-T
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 78 72 53
Browser Support Comparison
| Browser | Canon-CR2 | JPEG-XR-Sequence |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Canon-CR2
Canon-CR2 Strengths
- Retains maximum sensor data, allowing extreme recovery of highlights and shadows that would be permanently lost in a JPEG
- White balance and color profiling are not 'baked in', meaning they can be completely altered in post-production without degrading the image
- Lossless compression ensures perfect pixel accuracy while reducing file size compared to fully uncompressed formats
Limitations
- Proprietary format means it requires constant updates to raw processing engines (like Adobe Camera Raw) every time Canon releases a new camera model
- Produces very large file sizes (often 20MB to 40MB per image depending on sensor resolution)
- Cannot be directly embedded into web pages or used in standard HTML/CSS contexts
JPEG-XR-Sequence
JPEG-XR-Sequence Strengths
- Supports 32-bit floating point HDR color depths natively across an entire animation sequence
- Combines the advanced coding efficiencies of JPEG XR with the sequence timing and metadata framework of HEIF
- Shares frame data structures allowing for optimized storage of burst photography
Limitations
- Extremely rare format with essentially no mainstream software adoption
- Zero web browser support
- Overshadowed heavily by HEVC (HEIC sequences) and AV1 (AVIF sequences) which offer superior compression and broader hardware decoding support
When to choose which format
Canon-CR2
Use Canon-CR2 when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- High Dynamic Range (HDR) Imaging Archival
JPEG-XR-Sequence
Use JPEG-XR-Sequence when…
- Experimental Animation Workflows
- HDR Burst Photography Archiving
- Specialized Medical & Scientific Imaging