Image MIME Reference
Apple-ICNS
Apple Icon Image
image/x-icns
VS
JPEG XR Image (HEIF Container)
image/jxra
JPEG-XR-(HEIF)
A complete technical comparison of Apple Icon Image and JPEG XR Image (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Apple-ICNS | JPEG-XR-(HEIF) |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | Yes | Yes |
Apple Icon Image
image/x-icns
Extension
.icns
Container
Chunk-based (OSType Header)
Compression
Uncompressed (Legacy) / PNG (Modern) / JPEG 2000 (Modern)
Algorithm
NoneDeflate (via embedded PNG)Wavelet (via embedded JP2)
Color Depth
1-bit (Monochrome), 4-bit, 8-bit, 24-bit (RGB), 32-bit (RGBA)
Developed by
Apple Inc.
Released
2001
Magic Bytes
69 63 6E 73
JPEG XR Image (HEIF Container)
image/jxra
Extension
.jxra
Container
HEIF / ISOBMFF (ISO/IEC 23008-12 / Annex F of ITU-T T.832)
Compression
Lossy / Lossless
Algorithm
JPEG XR (Lapped Biorthogonal Transform)
Color Depth
8-bit, 16-bit, 32-bit (Float)
Developed by
ISO/IEC JTC 1 / ITU-T
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 78 72 41
Browser Support Comparison
| Browser | Apple-ICNS | JPEG-XR-(HEIF) |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Apple-ICNS
Apple-ICNS Strengths
- Seamlessly handles multi-resolution scaling on macOS, perfectly serving both standard and high-DPI (Retina) displays from a single asset
- Modern versions efficiently embed standard PNG files, making it much easier to parse the high-resolution layers than the legacy raw pixel formats
Limitations
- Strictly bound to the Apple ecosystem; completely useless natively on Windows, Linux, or the Web
- The internal chunking structure is notoriously messy, utilizing dozens of different undocumented, legacy OSType tags spanning 20+ years of Apple history
JPEG-XR-(HEIF)
JPEG-XR-(HEIF) Strengths
- Combines the deep color (32-bit float) and mathematically lossless compression of JPEG XR with the robust metadata architecture of HEIF
- Allows grouping multiple images, exposure brackets, or focal stacks into a single file collection
Limitations
- Practically non-existent software and operating system support compared to standard HEIC or legacy JPEG XR (.jxr)
- Zero web browser support, rendering it entirely unsuitable for public web deployment
- Eclipsed by modern standards like AVIF and JPEG XL which offer superior compression with much broader industry backing
When to choose which format
Apple-ICNS
Use Apple-ICNS when…
- macOS Application Bundles (.app)
- macOS Folder Customization
- Apple Disk Image (.dmg) Styling
JPEG-XR-(HEIF)
Use JPEG-XR-(HEIF) when…
- Specialized Archival
- Experimental Imaging Workflows
- High Dynamic Range (HDR) Imaging