LinuxCommandLibrary

ppm

Portable Pixmap color image format

TLDR

PPM format overview

$ ppm
copy
Convert to PPM
$ anytopnm [image] | ppmtopgm
copy
View PPM info
$ pamfile [image.ppm]
copy

SYNOPSIS

ppm [file]

DESCRIPTION

PPM (Portable Pixmap) is the color image format in the Netpbm family. Each pixel is stored as an RGB triplet, with values ranging from 0 to a specified maximum. The format exists in two variants: plain (ASCII text, human-readable) and raw (binary, compact).
PPM serves as the common interchange format for color images in Netpbm pipelines. Numerous tools convert to and from PPM, allowing image processing by chaining simple single-purpose utilities. PGM handles grayscale and PBM handles bitmaps in the same family.

PARAMETERS

FILE

PPM image file.

CAVEATS

Netpbm format family. PPM for color, PGM for grayscale, PBM for bitmap.

HISTORY

PPM was created as part of Netpbm portable image format family.

SEE ALSO

pnm(5), pgm(5), pbm(5), pamfile(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community