mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* ppmhist: add page --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
16 lines
405 B
Markdown
16 lines
405 B
Markdown
# ppmhist
|
|
|
|
> Print a histogram of the colors present in a PPM image.
|
|
> More information: <https://netpbm.sourceforge.net/doc/ppmhist.html>.
|
|
|
|
- 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`
|