print a histogram of a portable pixmap
see also :
pgmhist - ppmtomap - pnmhistmap - ppmchange
[-hexcolor] [-noheader] [-map]
add an example, a script, a trick and tips
no example yet ...
... Feel free to add your own example above to help other Linux-lovers !
Reads a PPM
image as input. Generates a histogram of the colors in the
image, i.e. a list of all the colors and how many pixels of
each color are in the image.
The -sort option
determines the order in which the colors are listed in the
output. frequency means to list them in order of how
pixels in the input image have the color, with the most
represented colors first. rgb means to sort them
first by the intensity of the red component of the color,
the of the green, then of the blue, with the least intense
The default is
Print the color components in
hexadecimal. Default is decimal.
Do not print the column
Generates a PPM file of the colormap for the image, with
the color histogram as comments.
Generates the histogram for human reading. This is the
pgmhist , ppmtomap , pnmhistmap ,
1989 by Jef Poskanzer.