Free webp to jpg
Image MIME Reference
Canon-CR2

Canon Raw Version 2

image/x-canon-cr2
VS

JPEG 2000 Part 2 (Extended)

image/jpx
JPX

A complete technical comparison of Canon Raw Version 2 and JPEG 2000 Part 2 (Extended) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Canon-CR2 JPX
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
Full Canon-CR2 reference →
JPEG 2000 Part 2 (Extended)
image/jpx
Extension
.jpx.jpf
Container ISOBMFF / JPX (ISO/IEC 15444-2)
Compression Lossy / Lossless
Algorithm
Discrete Wavelet Transform (DWT)
Color Depth 8-bit, 16-bit, 32-bit, 38-bit
Developed by Joint Photographic Experts Group (JPEG)
Released 2002
Magic Bytes
00 00 00 0C 6A 50 20 20 0D 0A 87 0A ... 66 74 79 70 6A 70 78 20
Full JPX reference →

Browser Support Comparison

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

JPX Strengths

  • Removes the color space limitations of baseline JP2, adding native support for CMYK, CIE Lab, and custom vendor color spaces
  • Supports multiple codestreams in a single file, allowing for rich compositing and animation
  • Enables fragmented files where image data and metadata can reside in separate physical files via data references
Limitations
  • Extremely complex specification makes full software implementation rare, leading to compatibility issues
  • Zero web browser support, rendering it unsuitable for public internet distribution
  • Often overkill for standard imaging tasks where baseline JP2 or modern alternatives like AVIF suffice

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
JPX
Use JPX when…
  • Prepress & Commercial Printing (CMYK)
  • Geospatial Data
  • Archival Preservation
  • Medical Imaging
Share this comparison