snippetbashTip
ppmhist — Print a histogram of the colors present in a PPM image. See also: `pgmhist`. More information: <http
Viewed 0 times
thecommandcolorsppmhistcliprinthistogrampresent
Problem
How to use the
ppmhist command: Print a histogram of the colors present in a PPM image. See also: pgmhist. More information: <https://netpbm.sourceforge.net/doc/ppmhist.html>.Solution
ppmhist — Print a histogram of the colors present in a PPM image. See also: pgmhist. More information: <https://netpbm.sourceforge.net/doc/ppmhist.html>.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]}}Code Snippets
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]}}Context
tldr-pages: common/ppmhist
Revisions (0)
No revisions yet.