Image MIME Reference
HEJ2K
JPEG 2000 Image (HEIF Container)
image/hej2k
VS
QuickTime Image Format
image/x-quicktime
QTIF
A complete technical comparison of JPEG 2000 Image (HEIF Container) and QuickTime Image Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | HEJ2K | QTIF |
|---|---|---|
| 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
QuickTime Image Format
image/x-quicktime
Extension
.qtif.qti.qif
Container
QuickTime Atom Container
Compression
Varies (JPEG, SMC, Apple Video, Cinepak, Uncompressed)
Algorithm
QuickTime Image Compression Manager (ICM) Codecs
Color Depth
1-bit to 32-bit (Varies depending on the enclosed codec)
Developed by
Apple Computer, Inc.
Released
1991
Magic Bytes
Varies (Typically begins with a 32-bit size integer followed by 69 64 73 63 ('idsc'))
Browser Support Comparison
| Browser | HEJ2K | QTIF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
QTIF
QTIF Strengths
- Extremely flexible architecture allowing it to encapsulate virtually any image compression algorithm available on the host machine
- Supported 32-bit images with alpha channels (transparency) long before PNG became an established standard
Limitations
- Fundamentally tied to Apple's deprecated QuickTime architecture, rendering the files almost entirely unreadable on modern systems without specialized legacy software or FFmpeg
- The 'wrapper' nature of the format means that even if a parser can read the QTIF container, it may fail to render the image if it lacks the specific proprietary codec (like Apple SMC) used to compress the pixel data
- Zero native support in modern web browsers
When to choose which format
HEJ2K
Use HEJ2K when…
- Medical Imaging
- Geospatial Data
- Scientific Archiving
QTIF
Use QTIF when…
- Classic Mac OS Applications and Backgrounds
- QuickTime VR Panorama Textures
- 1990s CD-ROM Multimedia Assets