JPEG XR (HD Photo)
image/vnd.ms-photo
Released 2006
· by Microsoft Corporation (later Joint Photographic Experts Group)
The image/vnd.ms-photo MIME type represents the JPEG XR (eXtended Range) format, originally developed and championed by Microsoft under the names Windows Media Photo and HD Photo. Standardized as ISO/IEC 29199-2 in 2009, JPEG XR was engineered as a technologically superior successor to the classic JPEG. It introduced advanced features such as lossless compression, alpha channel transparency, and deep color support (up to 32-bit floating point per channel for High Dynamic Range). Despite its technical merits, it failed to achieve widespread web adoption outside of the Microsoft software ecosystem.
Technical Specifications
.jxr.wdp.hdp
Lapped Bi-orthogonal Transform (LBT)
image/jxrimage/x-ms-bmpimage/x-ms-photo
Magic Bytes & HTTP Headers
II¼\x01
Browser Support Matrix
| Browser | Status | Min Version |
|---|---|---|
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Supported | Legacy |
Advantages & Limitations
- 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
- 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
Developer Code Snippets
File Detection Steps
How to programmatically detect a image/vnd.ms-photo
file by reading its raw bytes:
- 1 Check the first 4 bytes for the JPEG XR magic number: 49 49 BC 01.
- 2 The format heavily borrows from the TIFF specification. The first two bytes (49 49 or 'II') indicate Intel little-endian byte ordering, while the next two bytes (BC 01) explicitly identify it as a JPEG XR/HD Photo file rather than a standard TIFF (which would use 2A 00).
Software Support
ImageMagick
Conversion Tools
Share & Embed
[](https://freewebptojpg.com/mime/image/jpeg-xr)
<iframe src="https://freewebptojpg.com/mime/image/jpeg-xr/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="JPEG-XR Specs"></iframe>
JSON API
All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.
GET https://freewebptojpg.com/mime/image/jpeg-xr.json
Open JSON
Frequently Asked Questions
What is the difference between JPEG XR, HD Photo, and WDP?
They are functionally the exact same format. Microsoft initially introduced it as Windows Media Photo (.wdp), then rebranded it as HD Photo (.hdp), and finally submitted it for international standardization where it was ratified as JPEG XR (.jxr). The image/vnd.ms-photo MIME type covers all of them.
Is JPEG XR better than standard JPEG?
Technically, yes. JPEG XR supports lossless compression, alpha transparency, and much higher bit-depths (including 32-bit floating point for HDR images), all while offering better compression ratios than a standard JPEG. However, because it lacked support in Chrome, Firefox, and Safari, it was completely superseded by modern formats like WebP and AVIF on the web.
Can I use image/vnd.ms-photo on a modern website?
No. The only browsers that natively supported JPEG XR were Internet Explorer 9+ and the legacy version of Microsoft Edge. Chromium-based Edge, Chrome, Safari, and Firefox never implemented it. You should use WebP or AVIF for modern web delivery.