mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 18:00:52 +00:00
Update cheatsheets
This commit is contained in:
21
pbmclean
Normal file
21
pbmclean
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pbmclean
|
||||
|
||||
> Clean up a PBM image by erasing isolated black and white pixels.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmclean.html>.
|
||||
|
||||
- Clean up a PBM image by erasing isolated black and white pixels:
|
||||
|
||||
`pbmclean {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Clean up only black/white pixels:
|
||||
|
||||
`pbmclean -{{black|white}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Specify the minimum number of neighbouring pixels of the same color in order for a pixel not to be considered isolated:
|
||||
|
||||
`pbmclean -minneighbours {{3}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
|
||||
Reference in New Issue
Block a user