1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/pnmhistmap.md
Juri Dispan ac7152950e
pnmhisteq, pnmhistmap, pnmindex, pnminvert: add pages (#12189)
* pnmhisteq, pnmhistmap, pnmindex, pnminvert: add pages

* Update pages/common/pnmindex.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-06 16:43:21 +01:00

16 lines
482 B
Markdown

# pnmhistmap
> Draw a histogram of a PNM image.
> More information: <https://netpbm.sourceforge.net/doc/pnmhistmap.html>.
- Draw a histogram of a PNM image:
`pnmhistmap {{path/to/input.pnm}} > {{path/to/output.pnm}}`
- Draw the histogram as dots instead of bars:
`pnmhistmap -dots {{path/to/input.pnm}} > {{path/to/output.pnm}}`
- Specify the range of intensity values to include:
`pnmhistmap -lval {{minval}} -rval {{maxval}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`