Free webp to jpg
Image MIME Reference
HSJ2

JPEG 2000 Image Sequence (Obsolete)

image/hsj2
VS

Sony Alpha Raw Image

image/x-sony-arw
Sony-ARW

A complete technical comparison of JPEG 2000 Image Sequence (Obsolete) 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 HSJ2 Sony-ARW
Transparency (Alpha) Yes ✕ No
Animation Support Yes ✕ No
Progressive Loading Yes ✕ No
HDR Support Yes Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
JPEG 2000 Image Sequence (Obsolete)
image/hsj2
Extension
.hsj2
Container HEIF / ISOBMFF (ISO/IEC 15444-16 Obsolete)
Compression Lossy / Lossless
Algorithm
Motion JPEG 2000 (ISO/IEC 15444-3)
Color Depth 8-bit, 10-bit, 12-bit, 16-bit
Developed by ISO/IEC JTC 1 / ITU-T
Released 2019
Magic Bytes
XX XX XX XX 66 74 79 70 68 73 6A 32
Full HSJ2 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 HSJ2 Sony-ARW
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
HSJ2

HSJ2 Strengths

  • Historically attempted to combine Motion JPEG 2000 sequences with the flexible metadata capabilities of the HEIF container
  • Supported mathematically lossless compression and scalable wavelet decoding
Limitations
  • Officially deprecated by the standardization body (ISO/IEC JTC 1)
  • Completely superseded by image/hej2k, rendering hsj2 files obsolete for any new development or archiving
  • Zero web browser compatibility and negligible modern software support
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

HSJ2
Use HSJ2 when…
  • Legacy Archival
  • Deprecated Workflows
Sony-ARW
Use Sony-ARW when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • High Dynamic Range (HDR) Imaging Archival
Share this comparison