Image MIME Reference
CGM
Computer Graphics Metafile
image/cgm
VS
Minolta Raw Image
image/x-minolta-mrw
Minolta-MRW
A complete technical comparison of Computer Graphics Metafile and Minolta Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | CGM | Minolta-MRW |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| 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)
Minolta Raw Image
image/x-minolta-mrw
Extension
.mrw
Container
Proprietary MRW Container
Compression
Uncompressed / Proprietary Lossless
Algorithm
NoneProprietary Lossless
Color Depth
12-bit (Per Channel)
Developed by
Minolta (later Konica Minolta)
Released
2001
Magic Bytes
00 4D 52 4D
Browser Support Comparison
| Browser | CGM | Minolta-MRW |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Minolta-MRW
Minolta-MRW Strengths
- Retains full, unadulterated sensor data from early CCD digital cameras, allowing modern demosaicing algorithms to extract far superior image quality than what was possible when the cameras were released
- Possesses a very distinct, unambiguous magic header (\x00MRM), making programmatic identification completely foolproof
Limitations
- Completely obsolete proprietary format that has not seen a new camera release since 2006
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders
- Relies entirely on open-source reverse engineering (like LibRaw) for continued modern software compatibility
When to choose which format
CGM
Use CGM when…
- Technical Illustrations
- Aerospace & Defense (S1000D)
- CAD/CAM
- Geophysics
Minolta-MRW
Use Minolta-MRW when…
- Vintage Digital Photography (Konica Minolta DiMAGE / Maxxum)
- Raw Imaging Archival
- Historical Camera Sensor Research