---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pambackground

> Create a mask of the background in a PAM image.
> See also: `pbmmask`.
> More information: <https://netpbm.sourceforge.net/doc/pambackground.html>.

- Create a mask of the background in a PAM image:

`pambackground {{path/to/image.pam}} > {{path/to/output.pam}}`
