Image MIME Reference
HEJ2K
JPEG 2000 Image (HEIF Container)
image/hej2k
VS
Silicon Graphics Image
image/x-rgb
SGI-RGB
A complete technical comparison of JPEG 2000 Image (HEIF Container) and Silicon Graphics Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | HEJ2K | SGI-RGB |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
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
Silicon Graphics Image
image/x-rgb
Extension
.rgb.sgi.rgba.bw.int.inta
Container
SGI Image Header (512 bytes)
Compression
Uncompressed / Run-Length Encoding (RLE)
Algorithm
NoneScanline RLE
Color Depth
8-bit (Per Channel), 16-bit (Per Channel)
Developed by
Silicon Graphics, Inc. (Paul Haeberli)
Released
1988
Magic Bytes
01 DA
Browser Support Comparison
| Browser | HEJ2K | SGI-RGB |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
SGI-RGB
SGI-RGB Strengths
- Supports 16-bit precision per channel and an embedded alpha channel, making it ideal for the demanding compositing workflows of 1990s cinema VFX
- The scanline-based RLE compression was exceptionally fast to decode on classic MIPS-based SGI workstations
- Features a straightforward 512-byte header, making it relatively easy to parse and write custom decoders in C or Python
Limitations
- Completely obsolete and unsupported in modern web environments
- Replaced entirely by TIFF, OpenEXR, and PNG in modern visual effects and 3D rendering pipelines
- Lacks support for modern color management via ICC profiles or advanced EXIF metadata
When to choose which format
HEJ2K
Use HEJ2K when…
- Medical Imaging
- Geospatial Data
- Scientific Archiving
SGI-RGB
Use SGI-RGB when…
- Legacy 3D Animation and VFX Textures
- Silicon Graphics IRIX Workstation Archival
- 1990s Medical Imaging