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

JPEG XS Codestream

image/jxsc
VS

Sony Alpha Raw Image

image/x-sony-arw
Sony-ARW

A complete technical comparison of JPEG XS Codestream and Sony Alpha 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-ARW
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 Alpha Raw Image
image/x-sony-arw
Extension
.arw
Container TIFF-based (Proprietary)
Compression Uncompressed / Lossless Compressed / Lossy Compressed
Algorithm
NoneSony Proprietary LosslessSony Proprietary Lossy
Color Depth 12-bit (Per Channel), 14-bit (Per Channel)
Developed by Sony Corporation
Released 2006
Magic Bytes
49 49 2A 00
Full Sony-ARW reference →

Browser Support Comparison

Browser JPEG-XS-Codestream Sony-ARW
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-ARW

Sony-ARW Strengths

  • Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
  • Embeds high-quality JPEG previews and robust metadata, allowing photographers to match in-camera color science (like Creative Looks) perfectly during raw processing
  • Utilizes the standard TIFF container structure, ensuring broad compatibility with open-source decoding libraries (like LibRaw)
Limitations
  • Proprietary format means it requires constant updates to raw processing engines every time Sony releases a new camera model
  • Sony's historically controversial lossy compression algorithm (often called 'star eater' due to spatial filtering artifacts) was a drawback for astrophotography in older ARW versions, though largely resolved in newer models with uncompressed/lossless options
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts

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-ARW
Use Sony-ARW when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • High Dynamic Range (HDR) Imaging Archival
Share this comparison