Image MIME Reference
CGM
Computer Graphics Metafile
image/cgm
VS
Kodak K25 Raw Image
image/x-kodak-k25
Kodak-K25
A complete technical comparison of Computer Graphics Metafile and Kodak K25 Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | CGM | Kodak-K25 |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| 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)
Kodak K25 Raw Image
image/x-kodak-k25
Extension
.k25
Container
Proprietary Kodak Raw (TIFF-based variant)
Compression
Uncompressed / Proprietary Lossless
Algorithm
Proprietary Kodak Compression
Color Depth
10-bit, 12-bit (Per Channel)
Developed by
Eastman Kodak Company
Released
1996
Magic Bytes
Varies (Often resembles TIFF header 49 49 2A 00 or requires proprietary parsing)
Browser Support Comparison
| Browser | CGM | Kodak-K25 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Kodak-K25
Kodak-K25 Strengths
- Historically significant format tied to the first digital camera to adopt CompactFlash memory
- Preserves original raw sensor data, allowing modern demosaicing algorithms (via LibRaw) to extract much better image quality than 1996-era software could
Limitations
- Completely obsolete and deeply proprietary, lacking modern raw format features found in DNG
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders
- Subject to misidentification by automated MIME detection libraries due to structural similarities with standard TIFFs
When to choose which format
CGM
Use CGM when…
- Technical Illustrations
- Aerospace & Defense (S1000D)
- CAD/CAM
- Geophysics
Kodak-K25
Use Kodak-K25 when…
- Vintage Digital Photography Archival
- Kodak DC25 Camera Restorations
- Historical Imaging Research