mirror of https://github.com/CrimsonTome/tldr.git
13 lines
384 B
Markdown
13 lines
384 B
Markdown
|
# ppmdist
|
||
|
|
||
|
> Produce a grayscale version of a PPM image.
|
||
|
> More information: <https://netpbm.sourceforge.net/doc/ppmdist.html>.
|
||
|
|
||
|
- Produce a grayscale version of the specified PPM image:
|
||
|
|
||
|
`ppmdist {{path/to/input.ppm}} > {{path/to/output.pgm}}`
|
||
|
|
||
|
- Specify the method used to map colors to graylevels:
|
||
|
|
||
|
`ppmdist -{{frequency|intensity}} {{path/to/input.ppm}} > {{path/to/output.pgm}}`
|