Sodamhan.com

TL;DR

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

This document was created using the contents of the tldr project.