# pnmmargin

Updated: 01 June 2002
Index

## NAME

pnmmargin - add a border to a portable anymap

## SYNOPSIS

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

## DESCRIPTION

Adds a border around a PNM image.

## OPTIONS

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

To remove a border of a specified size from an image, use pamcut. pnmcrop also removes borders, but determines by itself what is border and what is subject.

For lower level control, including to add different size borders to different sides of the image, look at pnmcat.

If all you're trying to do is get the image up to a certain required size, pamcut may be what you want.

## SEE ALSO

pamcut pnmcrop pnmcat pnm

## AUTHOR

Copyright (C) 1991 by Jef Poskanzer.

## Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR