ppmhist: add page (#10950)
* ppmhist: add page --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
16
pages/common/ppmhist.md
Normal file
16
pages/common/ppmhist.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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`
|
Reference in New Issue
Block a user