1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/common/pnmhistmap.md
Antti Savolainen e1d44b5166 batch3
2025-03-28 18:12:09 +02:00

16 lines
510 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 {{[-d|-dots]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
- Specify the range of intensity values to include:
`pnmhistmap {{[-l|-lval]}} {{minval}} {{[-rv|-rval]}} {{maxval}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`