Image MIME Reference
Sony-SR2
Sony SR2 Raw Image
image/x-sony-sr2
VS
T.38 Fax over IP (FoIP)
image/t38
T.38
A complete technical comparison of Sony SR2 Raw Image and T.38 Fax over IP (FoIP) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Sony-SR2 | T.38 |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Sony SR2 Raw Image
image/x-sony-sr2
Extension
.sr2
Container
TIFF-based (Proprietary)
Compression
Uncompressed / Sony Proprietary Lossless
Algorithm
NoneSony Proprietary Lossless
Color Depth
12-bit (Per Channel)
Developed by
Sony Corporation
Released
2005
Magic Bytes
49 49 2A 00
T.38 Fax over IP (FoIP)
image/t38
Extension
.t38
Container
UDPTL or TCP (Network Transport)
Compression
Lossless (MH, MR, MMR / T.4, T.6)
Algorithm
MH (Modified Huffman)MR (Modified Read)MMR (Modified Modified Read)
Color Depth
1-bit (Monochrome B&W)
Developed by
ITU-T (International Telecommunication Union)
Released
1998
Magic Bytes
None (Network Stream)
Browser Support Comparison
| Browser | Sony-SR2 | T.38 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Sony-SR2
Sony-SR2 Strengths
- Retains raw, unprocessed sensor data from legacy cameras, allowing modern raw processors to extract vastly superior image quality than what was possible in 2005
- Utilizes a standard TIFF container structure, ensuring that community-maintained open-source decoding libraries (like LibRaw) can easily parse and maintain support for it indefinitely
Limitations
- Completely obsolete format that has not been utilized in a new camera release in over a decade
- MIME detection via magic bytes is unreliable due to TIFF header spoofing, requiring deeper EXIF inspection
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders
T.38
T.38 Strengths
- Designed specifically to overcome the timing and packet-loss issues that plague traditional fax over standard VoIP audio codecs (like G.711)
- Reduces bandwidth requirements by transmitting fax protocol data rather than uncompressed audio tones
- Universally supported by enterprise SIP trunks and Session Border Controllers (SBCs) for FoIP
Limitations
- Not an actual image file format, causing confusion due to its 'image/' MIME classification
- Extremely complex to implement correctly over lossy UDP networks (relies on UDPTL redundancy mechanisms)
- Zero support in web browsers or standard image viewing software
When to choose which format
Sony-SR2
Use Sony-SR2 when…
- Legacy Sony Cyber-shot/Alpha Photography
- Non-destructive Image Post-Processing
- Raw Imaging Archival
T.38
Use T.38 when…
- Fax over IP (FoIP) Transmissions
- SIP/SDP Media Negotiation
- VoIP Gateways and PBX Systems
- Enterprise Fax Servers