Portable Gray Map, better known as PGM, is an image file format initially created to facilitate graphic data transfers between multiple platforms. Although PGM files are regularly stored in ASCII text format, they also include a binary representation.
In addition, PGM image files are basically grayscale images encoded with either one or two bytes (8 or 16 bits) per pixel.
When and if users need to edit their PGM pictures, they will have to find and use a specialized image editor with built-in support for this particular graphic format.