Image MIME Reference
JNG
JPEG Network Graphics
image/x-jng
VS
JPEG XR (HD Photo)
image/vnd.ms-photo
JPEG-XR
A complete technical comparison of JPEG Network Graphics and JPEG XR (HD Photo) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JNG | JPEG-XR |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | Yes |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
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
JPEG XR (HD Photo)
image/vnd.ms-photo
Extension
.jxr.wdp.hdp
Container
TIFF-like Image File Directory (IFD)
Compression
Lossy (Lapped Bi-orthogonal Transform) / Lossless
Algorithm
Lapped Bi-orthogonal Transform (LBT)
Color Depth
8-bit (Grayscale, RGB, CMYK), 16-bit, 32-bit Floating Point (HDR)
Developed by
Microsoft Corporation (later Joint Photographic Experts Group)
Released
2006
Magic Bytes
49 49 BC 01
Browser Support Comparison
| Browser | JNG | JPEG-XR |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
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
JPEG-XR
JPEG-XR Strengths
- Excellent support for 16-bit and 32-bit floating-point HDR images without massive file size bloat
- Native support for alpha transparency, which standard JPEG fundamentally lacks
- Computational complexity for decoding/encoding is relatively low, making it hardware-friendly
Limitations
- Suffered a complete failure of adoption in the web browser market outside of Microsoft's ecosystem
- Fully superseded by modern, open formats like WebP, AVIF, and JPEG XL which offer better compression and universal browser support
- Multiple file extensions (.wdp, .hdp, .jxr) and MIME types cause confusion and parsing fragmentation
When to choose which format
JNG
Use JNG when…
- Embedded frames in MNG animations
- Historical web graphics requiring lossy compression with transparency
JPEG-XR
Use JPEG-XR when…
- Legacy Windows Desktop Backgrounds
- XPS (XML Paper Specification) Documents
- Early High Dynamic Range (HDR) Photography
- DirectX Textures