commands.sh

pnmmargin

all

Add a border to a PNM image.

More info →

Options (1)

-cboolean

Specify the color of the border

Example: pnmmargin {{[-c|-color]}} {{color}} {{size}} {{path/to/image.pnm}} > {{path/to/output.pnm}}

Examples (2)

Add a border of the specified size to a PNM image

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

Specify the color of the border

pnmmargin [-c|-color] color size path/to/image.pnm > path/to/output.pnm
made by @shridhargupta | data from tldr-pages