Image MIME Reference
HEIC
High Efficiency Image Container
image/heic
VS
JPEG Network Graphics
image/x-jng
JNG
A complete technical comparison of High Efficiency Image Container and JPEG Network Graphics — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
HEIC wins on browser support
Feature Support
| Feature | HEIC | JNG |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
High Efficiency Image Container
image/heic
Extension
.heic
Container
HEIF / ISOBMFF
Compression
Lossy / Lossless
Algorithm
HEVC (H.265)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
MPEG (Standard) / Apple (Adoption)
Released
2017
Magic Bytes
XX XX XX XX 66 74 79 70 68 65 69 63
JPEG Network Graphics
image/x-jng
Extension
.jng
Container
PNG-style Chunk Structure (JHDR, JDAT, IDAT, IEND)
Compression
Lossy (JPEG/DCT for color) / Lossless (Deflate for alpha mask)
Algorithm
JPEG (Discrete Cosine Transform)Deflate (LZ77)
Color Depth
8-bit, 12-bit, 24-bit (RGB), 32-bit (RGBA)
Developed by
MNG Development Group (Glenn Randers-Pehrson et al.)
Released
2001
Magic Bytes
8B 4A 4E 47 0D 0A 1A 0A
Browser Support Comparison
| Browser | HEIC | JNG |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✓ 11+
|
✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
HEIC
HEIC Strengths
- Exceptional compression efficiency — stores images at roughly half the file size of JPEG with equal or better visual quality
- Natively supports modern photography features like depth maps, 16-bit color, HDR, and alpha channel transparency
- Can store image bursts, focal stacks, and animations (Live Photos) within a single file
Limitations
- Heavily encumbered by software patents, leading to very poor adoption outside the Apple ecosystem
- Not supported by standard web browsers (except Safari), requiring server-side or client-side conversion for web delivery
- Windows requires downloading a separate (often paid) extension from the Microsoft Store to view natively
JNG
JNG Strengths
- Solved a massive technical hurdle in the early 2000s by combining high-compression lossy photographic data with crisp, 8-bit alpha transparency
- Utilized the highly robust, extensible chunk-based architecture of the PNG format
- Provided an excellent, bandwidth-saving alternative to massive 32-bit transparent PNGs for web design
Limitations
- Failed to achieve critical mass; browser vendors largely abandoned the MNG/JNG standard due to implementation complexity
- Completely obsolete today, having been superseded by natively supported, superior formats like WebP, AVIF, and HEIC
- Decoding requires a hybrid engine that can parse PNG chunks while simultaneously decoding a JPEG stream and a Deflate stream, complicating software support
When to choose which format
HEIC
Use HEIC when…
- iOS / iPhone Photography
- macOS Ecosystem
- High-Quality Image Archiving
JNG
Use JNG when…
- Embedded frames in MNG animations
- Historical web graphics requiring lossy compression with transparency