Free webp to jpg
Image MIME Reference
JPEG-XS

JPEG XS Image

image/jxs
VS

Sony SR2 Raw Image

image/x-sony-sr2
Sony-SR2

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

Equal browser support

Feature Support

Feature JPEG-XS Sony-SR2
Transparency (Alpha) Yes ✕ No
Animation Support Yes ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
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 →
Sony SR2 Raw Image
image/x-sony-sr2
Extension
.sr2
Container TIFF-based (Proprietary)
Compression Uncompressed / Sony Proprietary Lossless
Algorithm
NoneSony Proprietary Lossless
Color Depth 12-bit (Per Channel)
Developed by Sony Corporation
Released 2005
Magic Bytes
49 49 2A 00
Full Sony-SR2 reference →

Browser Support Comparison

Browser JPEG-XS Sony-SR2
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
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
Sony-SR2

Sony-SR2 Strengths

  • Retains raw, unprocessed sensor data from legacy cameras, allowing modern raw processors to extract vastly superior image quality than what was possible in 2005
  • Utilizes a standard TIFF container structure, ensuring that community-maintained open-source decoding libraries (like LibRaw) can easily parse and maintain support for it indefinitely
Limitations
  • Completely obsolete format that has not been utilized in a new camera release in over a decade
  • MIME detection via magic bytes is unreliable due to TIFF header spoofing, requiring deeper EXIF inspection
  • Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders

When to choose which format

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
Sony-SR2
Use Sony-SR2 when…
  • Legacy Sony Cyber-shot/Alpha Photography
  • Non-destructive Image Post-Processing
  • Raw Imaging Archival
Share this comparison