mirror of https://github.com/CrimsonTome/tldr.git
18 lines
539 B
Markdown
18 lines
539 B
Markdown
# pbmreduce
|
|
|
|
> Proportionally reduce a PBM image.
|
|
> See also: `pamenlarge`, `pamditherbw`.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pbmreduce.html>.
|
|
|
|
- Reduce the specified image by the specified factor:
|
|
|
|
`pbmreduce {{N}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|
|
|
|
- Use simple thresholding when reducing:
|
|
|
|
`pbmreduce -threshold {{N}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|
|
|
|
- Use the specified threshold for all quantizations:
|
|
|
|
`pbmreduce -value {{0.6}} {{N}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|