Free webp to jpg
Image MIME Reference
HEJ2K

JPEG 2000 Image (HEIF Container)

image/hej2k
VS

JPEG 2000 Image Sequence (Obsolete)

image/hsj2
HSJ2

A complete technical comparison of JPEG 2000 Image (HEIF Container) and JPEG 2000 Image Sequence (Obsolete) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature HEJ2K HSJ2
Transparency (Alpha) Yes Yes
Animation Support ✕ No Yes
Progressive Loading Yes Yes
HDR Support Yes Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
JPEG 2000 Image (HEIF Container)
image/hej2k
Extension
.hej2
Container HEIF / ISOBMFF (ISO/IEC 15444-16)
Compression Lossy / Lossless
Algorithm
JPEG 2000HTJ2K
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 6A 32 6B 69
Full HEJ2K reference →
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 →

Browser Support Comparison

Browser HEJ2K HSJ2
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
HEJ2K

HEJ2K Strengths

  • Brings the extensive capabilities of the HEIF container (like EXIF/XMP, thumbnails, and depth maps) to JPEG 2000
  • Supports mathematically lossless compression via wavelet transformation
  • High scalability and progressive decoding out of the box
Limitations
  • Extremely limited software support outside of niche industries
  • Zero native compatibility with web browsers
  • High computational complexity compared to simpler formats like JPEG or PNG
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

When to choose which format

HEJ2K
Use HEJ2K when…
  • Medical Imaging
  • Geospatial Data
  • Scientific Archiving
HSJ2
Use HSJ2 when…
  • Legacy Archival
  • Deprecated Workflows
Share this comparison