commands.sh

ppmhist

all

Print a histogram of the colors present in a PPM image. See also: `pgmhist`.

More info →

Options (3)

boolean

Generate the histogram for human reading

Example: ppmhist {{[-nom|-nomap]}} {{path/to/image.ppm}}
-mboolean

Generate a PPM file of the colormap for the image, with the color histogram as comments

Example: ppmhist {{[-m|-map]}} {{path/to/image.ppm}}
-vboolean

Display version

Example: ppmhist {{[-v|-version]}}

Examples (3)

Generate the histogram for human reading

ppmhist [-nom|-nomap] path/to/image.ppm

Generate a PPM file of the colormap for the image, with the color histogram as comments

ppmhist [-m|-map] path/to/image.ppm

Display version

ppmhist [-v|-version]
made by @shridhargupta | data from tldr-pages