pamditherbw: edit page; atktopbm, pamenlarge, pbmreduce, pbmtext, pbmtextps, pbmtoatk, pbmtobbnbg; add pages (#12236)

* pamditherbw: edit page; atktopbm, pamenlarge, pbmreduce, pbmtext, pbmtextps, pbmtoatk, pbmtobbnbg; add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
Juri Dispan
2024-02-12 10:40:11 +01:00
committed by GitHub
parent c55047ad89
commit 6a6fc8ff86
8 changed files with 103 additions and 0 deletions

17
pages/common/pbmreduce.md Normal file
View File

@@ -0,0 +1,17 @@
# 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}}`