pnmmargin Command Examples

Add a border to a PNM image. More information: https://netpbm.sourceforge.net/doc/pnmmargin.html.

pnmmargin {{size}} {{path/to/image.pnm}} > {{path/to/output.pnm}}

pnmmargin -color {{color}} {{size}} {{path/to/image.pnm}} > {{path/to/output.pnm}}