Free webp to jpg
Image MIME Reference
Canon-CRW

Canon Raw Format

image/x-canon-crw
VS

JPEG 2000 Image (HEIF Container)

image/hej2k
HEJ2K

A complete technical comparison of Canon Raw Format and JPEG 2000 Image (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Canon-CRW HEJ2K
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No ✕ No
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)
Full Canon-CRW reference →
JPEG 2000 Image (HEIF Container)
image/hej2k
Extension
.hej2
Container HEIF / ISOBMFF (ISO/IEC 15444-16)
Compression Lossy / Lossless
Algorithm
JPEG 2000HTJ2K
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 6A 32 6B 69
Full HEJ2K reference →

Browser Support Comparison

Browser Canon-CRW HEJ2K
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
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
HEJ2K

HEJ2K Strengths

  • Brings the extensive capabilities of the HEIF container (like EXIF/XMP, thumbnails, and depth maps) to JPEG 2000
  • Supports mathematically lossless compression via wavelet transformation
  • High scalability and progressive decoding out of the box
Limitations
  • Extremely limited software support outside of niche industries
  • Zero native compatibility with web browsers
  • High computational complexity compared to simpler formats like JPEG or PNG

When to choose which format

Canon-CRW
Use Canon-CRW when…
  • Historical Digital Photography (2000-2004)
  • Non-destructive Image Post-Processing
  • Raw Imaging Archival
HEJ2K
Use HEJ2K when…
  • Medical Imaging
  • Geospatial Data
  • Scientific Archiving
Share this comparison