Image MIME Reference
CGM
Computer Graphics Metafile
image/cgm
VS
Multi-resolution Seamless Image Database
image/x-mrsid-image
MrSID
A complete technical comparison of Computer Graphics Metafile and Multi-resolution Seamless Image Database — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | CGM | MrSID |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | Yes | Yes |
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)
Multi-resolution Seamless Image Database
image/x-mrsid-image
Extension
.sid
Container
Proprietary MrSID Container
Compression
Proprietary Wavelet (Lossy) / Proprietary Wavelet (Lossless)
Algorithm
Discrete Wavelet Transform (DWT)
Color Depth
8-bit (Grayscale), 24-bit (RGB), Multi-spectral (Multiple bands)
Developed by
Los Alamos National Laboratory / LizardTech (Extensis)
Released
1992
Magic Bytes
6D 73 69 64
Browser Support Comparison
| Browser | CGM | MrSID |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
MrSID
MrSID Strengths
- Incredible compression ratios enable multi-gigabyte geographical datasets to be stored on standard hard drives or transmitted easily
- Multi-resolution architecture means panning and zooming across a massive map is completely fluid, as the system decodes only the visible quadrant at the required zoom level
- Supports multi-spectral bands critical for remote sensing and agricultural GIS analysis
Limitations
- Deeply proprietary; creating or decoding MrSID files typically requires expensive commercial software or the proprietary Extensis DSDK
- Open-source geospatial libraries like GDAL require compiling against the proprietary SDK to legally enable MrSID support, causing licensing headaches for Linux server deployments
- Not natively viewable on the web without specialized geospatial map servers (like GeoServer or MapServer) tiling the image into PNGs or JPEGs on the fly
When to choose which format
CGM
Use CGM when…
- Technical Illustrations
- Aerospace & Defense (S1000D)
- CAD/CAM
- Geophysics
MrSID
Use MrSID when…
- Geographic Information Systems (GIS)
- Satellite Imagery Archival
- Aerial Orthophotography Mosaics