LinuxCommandLibrary

pbmmask

creates a mask bitmap from the outline of shapes in a PBM image

TLDR

Create mask from bitmap edges

$ pbmmask [input.pbm] > [output.pbm]
copy
Expand mask by pixels
$ pbmmask -expand [2] [input.pbm] > [output.pbm]
copy

SYNOPSIS

pbmmask [options] [file]

DESCRIPTION

pbmmask creates a mask bitmap from the outline of shapes in a PBM image. Useful for creating selection masks or outlines. Part of Netpbm toolkit.

PARAMETERS

-expand n

Expand mask by n pixels.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community