Image MIME Reference
JPEG
JPEG Image
image/jpeg
VS
Microsoft Document Imaging
image/vnd.ms-modi
MODI
A complete technical comparison of JPEG Image and Microsoft Document Imaging — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
JPEG wins on browser support
Feature Support
| Feature | JPEG | MODI |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
JPEG Image
image/jpeg
Extension
.jpg.jpeg.jpe.jfif
Container
JFIF / Exif
Compression
Lossy
Algorithm
DCT (Discrete Cosine Transform)
Color Depth
8-bit
Developed by
Joint Photographic Experts Group
Released
1992
Magic Bytes
FF D8 FF
Microsoft Document Imaging
image/vnd.ms-modi
Extension
.mdi
Container
TIFF Variant
Compression
LZW / Proprietary MS Compression
Algorithm
LZW (Modified)
Color Depth
1-bit (Monochrome), 8-bit (Grayscale), 24-bit (RGB)
Developed by
Microsoft Corporation
Released
2001
Magic Bytes
49 49 2A 00
Browser Support Comparison
| Browser | JPEG | MODI |
|---|---|---|
|
|
✓ All
|
✕ |
|
|
✓ All
|
✕ |
|
|
✓ All
|
✕ |
|
|
✓ All
|
✕ |
|
|
✓
|
✕ |
JPEG
JPEG Strengths
- Universal support — every browser, OS, and application handles JPEG
- Excellent compression for complex photographs with natural color gradients
- Rich metadata support: EXIF (GPS, camera settings), ICC color profiles
Limitations
- No transparency — cannot have a transparent background
- Lossy compression introduces visible artifacts on sharp edges and text
- No animation support
MODI
MODI Strengths
- Historically provided an excellent all-in-one scanned document format with built-in OCR and annotations before PDF editing became universally accessible
- Tightly integrated with Microsoft Office and SharePoint workflows in the early 2000s
Limitations
- Completely proprietary and obsolete; Microsoft abandoned it in favor of standard TIFF and PDF
- Causes widespread identification conflicts since its file signature is identical to a standard TIFF
- Extremely difficult to open on modern operating systems without relying on third-party conversion utilities
When to choose which format
JPEG
Use JPEG when…
- Photography
- Websites
- Social Media
MODI
Use MODI when…
- Legacy Scanned Document Archival
- Microsoft Office XP/2003/2007 Workflows
- Embedded OCR Text Storage