Image MIME Reference
Minolta-MRW
Minolta Raw Image
image/x-minolta-mrw
VS
Portable Graymap
image/x-portable-graymap
PGM
A complete technical comparison of Minolta Raw Image and Portable Graymap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Minolta-MRW | PGM |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
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
Portable Graymap
image/x-portable-graymap
Extension
.pgm
Container
Netpbm
Compression
Uncompressed
Algorithm
None
Color Depth
8-bit (Grayscale), 16-bit (Grayscale)
Developed by
Jef Poskanzer (Netpbm Project)
Released
1988
Magic Bytes
50 32 (ASCII) or 50 35 (Binary)
Browser Support Comparison
| Browser | Minolta-MRW | PGM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
PGM
PGM Strengths
- Extremely simple format allows custom parsers to be written from scratch in minimal time
- Supports 16-bit precision, making it highly valuable for scientific, medical, and height-map data where 8-bit precision is insufficient
- ASCII encoding ('P2') allows manual editing and visual inspection of pixel values directly within a text editor
Limitations
- Strictly limited to grayscale; cannot display color
- Lack of compression results in massive file sizes, making it entirely impractical for web delivery or consumer storage
- Does not support alpha transparency or modern metadata structures
When to choose which format
Minolta-MRW
Use Minolta-MRW when…
- Vintage Digital Photography (Konica Minolta DiMAGE / Maxxum)
- Raw Imaging Archival
- Historical Camera Sensor Research
PGM
Use PGM when…
- Computer Vision and Machine Learning Pre-processing
- Scientific and Medical Image Processing
- Unix/Linux Command-Line Image Pipelines