DOKK / manpages / debian 10 / netpbm / pnmmargin.1.en
pnmmargin(1) General Commands Manual pnmmargin(1)

pnmmargin - add a border to a portable anymap

pnmmargin [-white|-black|-color colorspec] size [pnmfile]

Reads a portable anymap as input. Adds a border of the specified number of pixels, and produces a portable anymap as output.

You can specify the border color with the -white, -black, and -color flags. If no color is specified, the program makes a guess.

pnm(5)

It's a script. Scripts are not portable to non-Unix environments.

Copyright (C) 1991 by Jef Poskanzer.

9 January 1991