The format is designed for Kodak cameras to store uncompressed RAW images in their original form without auto color and white balance correction. The file has a TIFF-structure that allows you to edit the color temperature and exposure of the finished image without losing information and quality, which is something that cannot be done with JPEG format images.
PGM is a storage format for grayscale images. Files in this format can be opened using software: ACDSee Photo Manager 14, ACD Systems Canvas 15, Corel PaintShop Pro X4. This type of file can be edited with a text editor. PGM files can be in two versions: P2 / P5. P2 are readable, P5 - to binary formats.