mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 23:00:12 +00:00
Update cheatsheets
This commit is contained in:
22
pbmreduce
Normal file
22
pbmreduce
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user