Image MIME Reference
Canon-CRW
Canon Raw Format
image/x-canon-crw
VS
JPEG 2000 Image Sequence (Obsolete)
image/hsj2
HSJ2
A complete technical comparison of Canon Raw Format and JPEG 2000 Image Sequence (Obsolete) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Canon-CRW | HSJ2 |
|---|---|---|
| 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 2000 Image Sequence (Obsolete)
image/hsj2
Extension
.hsj2
Container
HEIF / ISOBMFF (ISO/IEC 15444-16 Obsolete)
Compression
Lossy / Lossless
Algorithm
Motion JPEG 2000 (ISO/IEC 15444-3)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
ISO/IEC JTC 1 / ITU-T
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 68 73 6A 32
Browser Support Comparison
| Browser | Canon-CRW | HSJ2 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
HSJ2
HSJ2 Strengths
- Historically attempted to combine Motion JPEG 2000 sequences with the flexible metadata capabilities of the HEIF container
- Supported mathematically lossless compression and scalable wavelet decoding
Limitations
- Officially deprecated by the standardization body (ISO/IEC JTC 1)
- Completely superseded by image/hej2k, rendering hsj2 files obsolete for any new development or archiving
- Zero web browser compatibility and negligible modern software support
When to choose which format
Canon-CRW
Use Canon-CRW when…
- Historical Digital Photography (2000-2004)
- Non-destructive Image Post-Processing
- Raw Imaging Archival
HSJ2
Use HSJ2 when…
- Legacy Archival
- Deprecated Workflows