Export to PGM
Convert images to grayscale PGM (Portable Graymap) format.
Learn more in the docs →Features
Grayscale Output
8-bit grayscale (256 shades) for scientific and technical applications.
Simple Format
Plain text or binary format that's easy to parse and process.
Scientific Use
Widely used in image processing research and scientific visualization.
Frequently Asked Questions
What is PGM format?
PGM (Portable Graymap) is a grayscale image format from the Netpbm family. It stores 8-bit grayscale values (0-255) and is commonly used in scientific and academic contexts.
How is color converted to grayscale?
This tool uses the standard luminance formula: 0.299×R + 0.587×G + 0.114×B, which matches human perception of brightness.
ASCII vs Binary?
ASCII format (P2) stores values as readable numbers, useful for debugging. Binary format (P5) is much more compact and faster to process.