CmdID

CmdID / Commands

pbmclean

Clean up a PBM image by erasing isolated black and white pixels. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Clean up a PBM image by erasing isolated black and white pixels

pbmclean path/to/image.pbm >path/to/output.pbmIdentify

Clean up only black/white pixels

pbmclean -black path/to/image.pbm >path/to/output.pbmIdentify

Specify the minimum number of neighboring pixels of the same color in order for a pixel not to be considered isolated

pbmclean -minneighbors 3 path/to/image.pbm >path/to/output.pbmIdentify