diff --git a/pages/common/ppmhist.md b/pages/common/ppmhist.md new file mode 100644 index 000000000..461b29107 --- /dev/null +++ b/pages/common/ppmhist.md @@ -0,0 +1,16 @@ +# ppmhist + +> Print a histogram of the colors present in a PPM image. +> More information: . + +- Generate the histogram for human reading: + +`ppmhist -nomap {{path/to/image_file.ppm}}` + +- Generate a PPM file of the colormap for the image, with the color histogram as comments: + +`ppmhist -map {{path/to/image_file.ppm}}` + +- Display version: + +`ppmhist -version`