Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/pnmmargin.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Pnmmargin User Manual
.SH 1
pnmmargin
.LP
Updated: 01 June 2002
.br
Table Of Contents
.SH 2
NAME
.LP
pnmmargin - add a border to a PNM image
.SH 2
SYNOPSIS
.LP
\fBpnmmargin\fR
[\fB-white\fR|\fB-black\fR|\fB-color\fR
\fIcolorspec\fR]
\fIsize\fR
[\fIpnmfile\fR]
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBpnmmargin\fR adds a border around a PNM image.
.SH 2
OPTIONS
.LP
.LP
You can specify the border color with the \fB-white\fR,
\fB-black\fR, and \fB-color\fR options.  If no color is specified,
the program makes a guess.
.LP
To remove a border of a specified size from an image, use
\fBpamcut\fR.  \fBpnmcrop\fR also removes borders, but determines by itself
what is border and what is subject.
.LP
For lower level control, including to add different size borders to
different sides of the image, look at \fBpnmcat\fR.
.LP
If all you're trying to do is get the image up to a certain required
size, \fBpamcut\fR may be what you want.
.SH 2
SEE ALSO
.LP
pamcut
pnmcrop
pnmcat
pnm
.SH 2
AUTHOR
.LP
Copyright (C) 1991 by Jef Poskanzer.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
SEE ALSO
.IP \(bu
AUTHOR
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.