Image MIME Reference
SGI-RGB
Silicon Graphics Image
image/x-rgb
VS
Sony SR2 Raw Image
image/x-sony-sr2
Sony-SR2
A complete technical comparison of Silicon Graphics Image and Sony SR2 Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | SGI-RGB | Sony-SR2 |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
Silicon Graphics Image
image/x-rgb
Extension
.rgb.sgi.rgba.bw.int.inta
Container
SGI Image Header (512 bytes)
Compression
Uncompressed / Run-Length Encoding (RLE)
Algorithm
NoneScanline RLE
Color Depth
8-bit (Per Channel), 16-bit (Per Channel)
Developed by
Silicon Graphics, Inc. (Paul Haeberli)
Released
1988
Magic Bytes
01 DA
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
Browser Support Comparison
| Browser | SGI-RGB | Sony-SR2 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
SGI-RGB
SGI-RGB Strengths
- Supports 16-bit precision per channel and an embedded alpha channel, making it ideal for the demanding compositing workflows of 1990s cinema VFX
- The scanline-based RLE compression was exceptionally fast to decode on classic MIPS-based SGI workstations
- Features a straightforward 512-byte header, making it relatively easy to parse and write custom decoders in C or Python
Limitations
- Completely obsolete and unsupported in modern web environments
- Replaced entirely by TIFF, OpenEXR, and PNG in modern visual effects and 3D rendering pipelines
- Lacks support for modern color management via ICC profiles or advanced EXIF metadata
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
When to choose which format
SGI-RGB
Use SGI-RGB when…
- Legacy 3D Animation and VFX Textures
- Silicon Graphics IRIX Workstation Archival
- 1990s Medical Imaging
Sony-SR2
Use Sony-SR2 when…
- Legacy Sony Cyber-shot/Alpha Photography
- Non-destructive Image Post-Processing
- Raw Imaging Archival