1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/common/pamdepth.md
Juri Dispan 0638b8d95d
pamdepth, ppmdither, pamditherbw, pnmdepth: add pages (#11379)
* pamdepth, pamdither, pamditherbw: add pages

* pnmdepth: add alias page
2023-11-06 14:02:33 +05:30

8 lines
267 B
Markdown

# pamdepth
> Reduce the depth (i.e. color resolution) in an image.
> More information: <https://netpbm.sourceforge.net/doc/pamdepth.html>.
- Read a PBM image, set its maxval and save it to a file:
`pamdepth {{maxval}} {{path/to/image.pbm}} > {{path/to/file.pbm}}`