Free webp to jpg
Image MIME Reference
JPEG-XS-Codestream

JPEG XS Codestream

image/jxsc
VS

Sony SR2 Raw Image

image/x-sony-sr2
Sony-SR2

A complete technical comparison of JPEG XS Codestream 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-Codestream Sony-SR2
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes Yes
EXIF Metadata ✕ No Yes
ICC Color Profile ✕ No Yes
JPEG XS Codestream
image/jxsc
Extension
.jxsc.jxs
Container None (Raw Codestream)
Compression Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (ISO/IEC 21122-1)
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
Full JPEG-XS-Codestream 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-Codestream Sony-SR2
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
JPEG-XS-Codestream

JPEG-XS-Codestream Strengths

  • Eliminates container overhead, maximizing parsing speed and minimizing latency to fractions of a millisecond
  • Highly optimized for direct hardware implementation in FPGAs and ASICs
  • Perfect for continuous data streaming over IP networks without needing to establish file headers
Limitations
  • Lacks standard container metadata (EXIF, XMP, ICC profiles), meaning color space and orientation data must be handled externally or out-of-band
  • Zero support in web browsers or standard consumer operating systems
  • Often requires specialized broadcast hardware or custom software libraries to decode
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-Codestream
Use JPEG-XS-Codestream when…
  • Hardware Decoding Pipelines (FPGA/ASIC)
  • Live Broadcast Infrastructure
  • Video over IP Transport
  • Embedded Camera Systems
Sony-SR2
Use Sony-SR2 when…
  • Legacy Sony Cyber-shot/Alpha Photography
  • Non-destructive Image Post-Processing
  • Raw Imaging Archival
Share this comparison