1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 00:35:24 +02:00

ppmhist: add page (#10950)

* ppmhist: add page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
debghs 2023-10-14 13:46:48 +05:30 committed by GitHub
parent 08d8cd6a40
commit e8e3f2c4fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
pages/common/ppmhist.md Normal file
View 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`