pgmhist - print a histogram of the values in a PGM image
pgmhist
[pgmfile]
This program is part of netpbm(1).
pgmhist reads a PGM image as input and prints a histogram of the gray values.
Copyright (C) 1989 by Jef Poskanzer.