Image MIME Reference
MODI
Microsoft Document Imaging
image/vnd.ms-modi
VS
Sony SRF Raw Image
image/x-sony-srf
Sony-SRF
A complete technical comparison of Microsoft Document Imaging and Sony SRF Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | MODI | Sony-SRF |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
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
Sony SRF Raw Image
image/x-sony-srf
Extension
.srf
Container
TIFF-based (Proprietary)
Compression
Uncompressed
Algorithm
None
Color Depth
12-bit (Per Channel)
Developed by
Sony Corporation
Released
2003
Magic Bytes
49 49 2A 00
Browser Support Comparison
| Browser | MODI | Sony-SRF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Sony-SRF
Sony-SRF Strengths
- Retains perfectly raw, unprocessed sensor data from legacy early-2000s cameras, allowing modern raw processors to extract much better dynamic range and color than the camera's original internal JPEG engine could
- Utilizes a standard TIFF container structure, ensuring broad compatibility with community-maintained open-source decoding libraries like LibRaw
Limitations
- Completely obsolete format that has long been abandoned in favor of ARW
- MIME detection via magic bytes is unreliable due to TIFF header spoofing, requiring deeper EXIF inspection for accurate routing
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders
When to choose which format
MODI
Use MODI when…
- Legacy Scanned Document Archival
- Microsoft Office XP/2003/2007 Workflows
- Embedded OCR Text Storage
Sony-SRF
Use Sony-SRF when…
- Legacy Sony Cyber-shot Photography
- Non-destructive Image Post-Processing
- Early 2000s Raw Imaging Archival