.PGM File Extension
Portable Gray Map Image
3.5 | 40 Votes
|Category||Raster Image Files|
|Format||Text and Binary|
What is a PGM file?
A PGM file is a grayscale image file saved in the portable gray map (PGM) format and encoded with one or two bytes (8 or 16 bits) per pixel. It contains header information and a grid of numbers that represent different shades of gray from black (0) to white (up to 65,536). PGM files are typically stored in ASCII text format, but also have a binary representation.
PGM files include a header that defines the PGM format type ("P2" for text or "P5" for binary), image width and height, and the maximum number of shades. While binary PGM files may contain multiple images, ASCII PGM files may only include one image.
The PGM format is one of several image formats defined by the Netpbm project, which is an open source package of graphics programs. Other formats include the portable bitmap (.PBM) format and portable pixmap (.PPM) format.
NOTE: PGM files may also be called "portable greymap" files.
Programs that open PGM files
What is a PGM file?
A PGM file contains a program used by various Music Production Controller (MPC) devices, such as MPC1000, MPC2000, and MPC3000. It stores configuration information about the pads (buttons) on the MPC device and the mono or stereo samples they are assigned to play when touched on the MPC device. PGM files also include parameters for the program, such as sound assignments, SIMULT settings, and tuning parameters.
PGM files may be saved in the standard MPC program format or the revised format that was developed to support more complex MPC devices. MPCs manufactured before the MPC1000 device do not support the newer PGM format. However, MPCs manufactured after the MPC1000 support both versions of the PGM format.
While PGM files were designed to be loaded on to MPC devices, they can also be loaded by MPC software developed to emulate MPC devices on computers. Some examples of programs that can open PGM files are 2KXL, Blue Box, and MPC Editor.