image/x-portable-graymap
PGM image
| Description | PGM image |
|---|---|
| File extensions | .pgm |
| Based on | image/x-portable-anymap |
| Signature (magic bytes) | 50 32 (P2)50 35 (P5) |
Frequently asked questions
What is the MIME type image/x-portable-graymap?
image/x-portable-graymap denotes “PGM image”.
Which file extension does image/x-portable-graymap use?
Files of type image/x-portable-graymap usually end in .pgm.
How does a web server serve image/x-portable-graymap correctly?
With the header Content-Type: image/x-portable-graymap. In nginx: types { image/x-portable-graymap pgm; }; in Apache: AddType image/x-portable-graymap .pgm.