Image MIME Reference
MacPaint
MacPaint Image
image/x-macpaint
VS
Sony SRF Raw Image
image/x-sony-srf
Sony-SRF
A complete technical comparison of MacPaint Image 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 | MacPaint | 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 |
MacPaint Image
image/x-macpaint
Extension
.mac.pntg.pnt.macp
Container
Raw pixel payload with a 512-byte pattern header
Compression
PackBits (Run-Length Encoding)
Algorithm
PackBits (Apple RLE)
Color Depth
1-bit (Monochrome)
Developed by
Apple Computer, Inc. (Bill Atkinson)
Released
1984
Magic Bytes
None (Relies on classic Mac OS 'PNTG' OSType)
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 | MacPaint | Sony-SRF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
MacPaint
MacPaint Strengths
- Profoundly historically significant as the format that introduced millions to the concept of bitmap digital painting
- Extremely simple PackBits compression makes it easy for emulator developers or archivists to write parsers from scratch in under an hour
Limitations
- Severely limited: strictly black and white, and hard-locked to exactly 576 x 720 pixels
- Lack of standard magic bytes makes programmatic file sniffing unreliable on modern filesystems without relying on the file extension
- Completely obsolete and unsupported by modern web browsers or consumer image viewers
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
MacPaint
Use MacPaint when…
- Historical Apple Macintosh Archival
- Early 1980s Digital Art Preservation
- Retro UI/UX Academic Research
Sony-SRF
Use Sony-SRF when…
- Legacy Sony Cyber-shot Photography
- Non-destructive Image Post-Processing
- Early 2000s Raw Imaging Archival