Image MIME Reference
CGM
Computer Graphics Metafile
image/cgm
VS
Silicon Graphics Image
image/sgi
SGI
A complete technical comparison of Computer Graphics Metafile and Silicon Graphics Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | CGM | SGI |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Computer Graphics Metafile
image/cgm
Extension
.cgm
Container
CGM
Compression
Uncompressed / Binary / Character / Clear Text
Algorithm
Deflate (in some WebCGM profiles)
Color Depth
8-bit, 16-bit, 24-bit, 32-bit
Developed by
ISO / IEC
Released
1987
Magic Bytes
00 20 (Binary) / 42 45 47 49 4E 20 4D 45 54 41 46 49 4C 45 (Clear Text)
Silicon Graphics Image
image/sgi
Extension
.sgi.rgb.rgba.bw.int.inta
Container
SGI Image Format
Compression
Uncompressed / Lossless (Run-Length Encoding)
Algorithm
RLENone
Color Depth
8-bit, 16-bit (Per Channel)
Developed by
Paul Haeberli (Silicon Graphics)
Released
1990
Magic Bytes
01 DA
Browser Support Comparison
| Browser | CGM | SGI |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
CGM
CGM Strengths
- Strictly standardized by ISO, ensuring long-term archiving and cross-platform compatibility in engineering
- Excellent support for rich metadata, hyperlinks, and technical hotspots via the WebCGM profile
- Can store complex 2D geometry, rasters, and text in a single lightweight file
Limitations
- Multiple encoding schemes (Binary, Character, Clear Text) make parser development difficult
- Zero native support in modern web browsers without third-party plugins
- Largely replaced by SVG for general-purpose 2D vector graphics on the web
SGI
SGI Strengths
- Pioneered multi-channel and 16-bit per channel imaging capabilities required for high-end 1990s visual effects
- Extremely robust and simple header structure
- Reliable Run-Length Encoding provided solid lossless compression for flat-shaded 3D renders
Limitations
- Completely obsolete for modern web and application development
- Zero native web browser compatibility
- Largely replaced by TIFF and OpenEXR in modern professional VFX and 3D pipelines
When to choose which format
CGM
Use CGM when…
- Technical Illustrations
- Aerospace & Defense (S1000D)
- CAD/CAM
- Geophysics
SGI
Use SGI when…
- Legacy 3D Animation & VFX
- Silicon Graphics IRIX Workflows
- Historical CGI Archiving