Home : File Types : PGM File

.PGM File Extension

File TypePortable Gray Map Image

DeveloperJef Poskanzer
Popularity
3.3 (11 Votes)
CategoryRaster Image Files
FormatText and Binary

Text and Binary

This file is saved in a plain text format or a binary format. If in a plain text format, it can be viewed with a text editor.

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.

More Information

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.

FREE DOWNLOAD
Open and view .PGM files with File Viewer Plus.
Programs that open PGM files
Windows
File Viewer Plus
GIMP
Corel PaintShop Pro X9
ACD Systems Canvas X 16
ACD Systems ACDSee 20
Inkscape
Netpbm
Adobe Photoshop with CartaPGM plug-in
Any text editor
Mac
GIMP
Inkscape
Netpbm
Adobe Photoshop with CartaPGM plug-in
Any text editor
Linux
GIMP
Inkscape
Netpbm
Any text editor
Android
File Viewer for Android
Updated 11/29/2016

About the file extension pgm

Our goal is to help you understand what a file with a *.pgm suffix is and how to open it.

The Portable Gray Map Image file type, file format description, and Mac, Windows, and Linux programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and do not publish any information we have not been able to verify.

If you would like to suggest any additions or updates to this page, please let us know.