Image MIME Reference
Generic-RAW
Digital Camera Raw (Generic Linux MIME)
image/x-dcraw
VS
Silicon Graphics Image
image/x-rgb
SGI-RGB
A complete technical comparison of Digital Camera Raw (Generic Linux MIME) and Silicon Graphics Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Generic-RAW | SGI-RGB |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Digital Camera Raw (Generic Linux MIME)
image/x-dcraw
Extension
.raw
Container
Varies (Predominantly TIFF/EP)
Compression
Lossless / Uncompressed
Algorithm
Varies (Often Lossless JPEG ITU-T81 or uncompressed)
Color Depth
12-bit, 14-bit, 16-bit
Developed by
freedesktop.org (MIME mapping) / Dave Coffin (dcraw tool)
Released
1997
Magic Bytes
Varies by vendor format
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
Browser Support Comparison
| Browser | Generic-RAW | SGI-RGB |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Generic-RAW
Generic-RAW Strengths
- Provides a unified, highly useful catch-all MIME type for application developers who just need to know if a file is a raw image, rather than tracking 50+ individual camera extensions
- Deeply integrated into the Linux desktop ecosystem, ensuring file manager thumbnails work seamlessly via tools like ufraw-thumbnailer
Limitations
- Not an official IANA standard
- Can cause conflicts where standard TIFF files are misidentified as raw camera data by over-aggressive MIME sniffers
- The underlying 'dcraw' tool was abandoned by its creator in 2018 (though its successor, LibRaw, continues to maintain the ecosystem)
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
When to choose which format
Generic-RAW
Use Generic-RAW when…
- Linux Desktop File Associations (GNOME/KDE)
- Thumbnail Generation for Raw Images (UFRaw/LibRaw)
- Server-side Image Processing Fallbacks
SGI-RGB
Use SGI-RGB when…
- Legacy 3D Animation and VFX Textures
- Silicon Graphics IRIX Workstation Archival
- 1990s Medical Imaging