CmdID / Commands
pnmmargin
Add a border to a PNM image. tldr-pages
On several platforms
Add a border of the specified size to a PNM image
pnmmargin size path/to/image.pnm >path/to/output.pnmIdentify
Specify the color of the border
pnmmargin -color color size path/to/image.pnm >path/to/output.pnmIdentify