Image MIME Reference
PGM
Portable Graymap
image/x-portable-graymap
VS
SealedMedia Portable Network Graphics
image/vnd.sealed.png
Sealed-PNG
A complete technical comparison of Portable Graymap and SealedMedia Portable Network Graphics — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | PGM | Sealed-PNG |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
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)
SealedMedia Portable Network Graphics
image/vnd.sealed.png
Extension
.spng.sealed-png
Container
SealedMedia / Oracle IRM Wrapper
Compression
Encrypted Payload (Deflate)
Algorithm
AES EncryptionDeflate (Internal PNG payload)
Color Depth
Encrypted Payload
Developed by
SealedMedia (Acquired by Oracle Corporation)
Released
Late 1990s / Early 2000s
Magic Bytes
Unknown (Proprietary SealedMedia Container)
Browser Support Comparison
| Browser | PGM | Sealed-PNG |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Sealed-PNG
Sealed-PNG Strengths
- Provided absolute control over intellectual property, allowing enterprise administrators to instantly revoke viewing rights of a local file globally
- Detailed audit trails tracked exactly who opened the image, when, and from what IP address
Limitations
- Completely proprietary and relies on a central authentication server; if the server goes offline, the image is permanently inaccessible
- No support in modern operating systems, web browsers, or standard image editing software without installing heavy enterprise DRM clients
- Oracle effectively deprecated the IRM product line, leaving legacy sealed documents difficult to recover
When to choose which format
PGM
Use PGM when…
- Computer Vision and Machine Learning Pre-processing
- Scientific and Medical Image Processing
- Unix/Linux Command-Line Image Pipelines
Sealed-PNG
Use Sealed-PNG when…
- Enterprise Information Rights Management (IRM)
- Secure Corporate Intellectual Property Distribution
- Revocable Medical or Legal Imaging