LinuxCommandLibrary

ppmtopgm

Convert color PPM images to grayscale

TLDR

Convert color to grayscale

$ ppmtopgm [input.ppm] > [output.pgm]
copy

SYNOPSIS

ppmtopgm [file]

DESCRIPTION

ppmtopgm converts PPM color images to PGM grayscale. Uses standard luminance formula to compute gray values. Part of Netpbm toolkit.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community