CmdID / Commands
Print a histogram of the colors present in a PPM image. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Generate the histogram for human reading
ppmhist -nomap path/to/image.ppm
Generate a PPM file of the colormap for the image, with the color histogram as comments
ppmhist -map path/to/image.ppm
Display version
ppmhist -version
pgmhist