1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-26 08:04:00 +02:00
tldr/pages/common/pbmreduce.md
Antti Savolainen e7e3c0b668 batch4
2025-03-28 18:48:45 +02:00

557 B

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 {{[-t|-threshold]}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}

  • Use the specified threshold for all quantizations:

pbmreduce {{[-v|-value]}} {{0.6}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}