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>
2024-02-12 10:40:11 +01:00
|
|
|
# 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:
|
|
|
|
|
2025-03-27 15:53:12 +00:00
|
|
|
`pbmreduce {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|
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>
2024-02-12 10:40:11 +01:00
|
|
|
|
|
|
|
- Use simple thresholding when reducing:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pbmreduce {{[-t|-threshold]}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|
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>
2024-02-12 10:40:11 +01:00
|
|
|
|
|
|
|
- Use the specified threshold for all quantizations:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pbmreduce {{[-va|-value]}} {{0.6}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|