commands.sh

pbmreduce

all

Proportionally reduce a PBM image. See also: `pamenlarge`, `pamditherbw`.

More info →

Options (2)

-tboolean

Use simple thresholding when reducing

Example: pbmreduce {{[-t|-threshold]}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}
boolean

Use the specified threshold for all quantizations

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

Examples (3)

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 [-va|-value] 0.6 n path/to/image.pbm > path/to/output.pbm
made by @shridhargupta | data from tldr-pages