Free webp to jpg
Image MIME Reference
Canon-CR2

Canon Raw Version 2

image/x-canon-cr2
VS

JPEG XS Image

image/jxs
JPEG-XS

A complete technical comparison of Canon Raw Version 2 and JPEG XS Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Canon-CR2 JPEG-XS
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No Yes
Progressive Loading ✕ No ✕ No
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 XS Image
image/jxs
Extension
.jxs
Container ISOBMFF (ISO/IEC 21122-3) or Raw Codestream
Compression Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (Low-complexity wavelet transform)
Color Depth 8-bit, 10-bit, 12-bit, 14-bit, 16-bit
Developed by Joint Photographic Experts Group (JPEG) / intoPIX
Released 2019
Magic Bytes
FF 10 (Codestream) / XX XX XX XX 66 74 79 70 6A 78 73 20 (ISOBMFF)
Full JPEG-XS reference →

Browser Support Comparison

Browser Canon-CR2 JPEG-XS
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
JPEG-XS

JPEG-XS Strengths

  • Provides sub-millisecond encoding/decoding latency, essential for live production and gaming
  • Extremely lightweight, requiring very little CPU, GPU, or FPGA memory to process
  • Replaces uncompressed video links (like SDI or HDMI) over standard Ethernet networks with visually lossless quality
Limitations
  • Compression ratios are typically much lower (between 2:1 and 10:1) compared to heavy codecs like HEVC or AV1
  • Zero support in web browsers or standard consumer devices
  • Primarily licensed to hardware manufacturers and professional software ecosystems

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-XS
Use JPEG-XS when…
  • Live Video Broadcasting (SMPTE ST 2110)
  • Video over IP Networks
  • Virtual Reality / Augmented Reality (VR/AR)
  • Automotive & Drone Cameras
Share this comparison