Image MIME Reference
HEJ2K
JPEG 2000 Image (HEIF Container)
image/hej2k
VS
RealNetworks RealPix
image/vnd.rn-realpix
RealPix
A complete technical comparison of JPEG 2000 Image (HEIF Container) and RealNetworks RealPix — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | HEJ2K | RealPix |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | Yes | Yes |
| 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
RealNetworks RealPix
image/vnd.rn-realpix
Extension
.rp
Container
IMFL (XML Markup)
Compression
Uncompressed (Plain Text Markup)
Algorithm
None (Plain Text)
Color Depth
Dependent on referenced images
Developed by
RealNetworks
Released
1998
Magic Bytes
3C 69 6D 66 6C
Browser Support Comparison
| Browser | HEJ2K | RealPix |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
RealPix
RealPix Strengths
- Allowed for 'Ken Burns'-style animated slideshows at a fraction of the bandwidth required for actual video, crucial for 1990s dial-up connections
- Plain text XML architecture made it easy for developers and hobbyists to hand-code complex multimedia presentations
- Perfectly synchronized with RealAudio streams using SMIL-like timing parameters
Limitations
- Completely obsolete and heavily reliant on the proprietary, defunct RealPlayer browser plugin
- Not a true image format, causing confusion when handled by standard image processing libraries which expect binary pixel data
- Lacks modern CSS or HTML5 canvas equivalents without completely rewriting the presentation logic
When to choose which format
HEJ2K
Use HEJ2K when…
- Medical Imaging
- Geospatial Data
- Scientific Archiving
RealPix
Use RealPix when…
- Historical Dial-up Streaming Presentations
- RealPlayer Slideshows
- Bandwidth-efficient 'Video' Alternatives (late 1990s)