Image MIME Reference
Canon-CR2
Canon Raw Version 2
image/x-canon-cr2
VS
JPEG 2000 Core Image File
image/jp2
JPEG-2000
A complete technical comparison of Canon Raw Version 2 and JPEG 2000 Core Image File — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
JPEG-2000 wins on browser support
Feature Support
| Feature | Canon-CR2 | JPEG-2000 |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| 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 2000 Core Image File
image/jp2
Extension
.jp2.j2k.jpf.jpx.jpm
Container
JP2 (ISO/IEC 15444-1)
Compression
Lossy / Lossless
Algorithm
Discrete Wavelet Transform (DWT)
Color Depth
8-bit, 16-bit, 32-bit, 38-bit
Developed by
Joint Photographic Experts Group
Released
2000
Magic Bytes
00 00 00 0C 6A 50 20 20 0D 0A 87 0A
Browser Support Comparison
| Browser | Canon-CR2 | JPEG-2000 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓ 5+
|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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-2000
JPEG-2000 Strengths
- Superior compression efficiency over baseline JPEG without introducing blocking artifacts
- True mathematically lossless compression available in the same format
- Extremely scalable: a single file can be decoded at various resolutions (thumbnails to full size) without loading the entire file
Limitations
- Very poor native web browser support prevents it from being a web standard
- High computational complexity makes encoding and decoding significantly slower than JPEG
- Early patent concerns and complex licensing hindered its initial adoption rate
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-2000
Use JPEG-2000 when…
- Digital Cinema (DCP)
- Medical Imaging (DICOM)
- Geospatial Data
- Archival Preservation