MOON
Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 PHP/5.4.10
System: Linux vps.presagepowered.net 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: mckernan (512)
PHP: 5.4.10
Disabled: NONE
Upload Files
File: //usr/share/doc/netpbm-10.35.58/userguide/pnmmargin.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pnmmargin User Manual</TITLE></HEAD>
<BODY>
<H1>pnmmargin</H1>
Updated: 01 June 2002
<BR>
<A HREF="#index">Table Of Contents</A>

<H2>NAME</H2>

pnmmargin - add a border to a PNM image

<H2 id="synopsis">SYNOPSIS</H2>

<B>pnmmargin</B>
[<B>-white</B>|<B>-black</B>|<B>-color</B> <I>colorspec</I>] <I>size</I>
[<I>pnmfile</I>]

<H2 id="description">DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>pnmmargin</b> adds a border around a PNM image.

<H2 id="options">OPTIONS</H2>

<P>You can specify the border color with the <B>-white</B>,
<B>-black</B>, and <B>-color</B> options.  If no color is specified,
the program makes a guess.

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

<P>For lower level control, including to add different size borders to
different sides of the image, look at <b>pnmcat</b>.

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

<H2 id="seealso">SEE ALSO</H2>

<A HREF="pamcut.html">pamcut</A>
<A HREF="pnmcrop.html">pnmcrop</A>
<A HREF="pnmcat.html">pnmcat</A>
<A HREF="pnm.html">pnm</A>

<H2 id="author">AUTHOR</H2>

Copyright (C) 1991 by Jef Poskanzer.

<HR>
<H2 id="index">Table Of Contents</H2>
<UL>
<LI><A HREF="#synopsis">SYNOPSIS</A>
<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#options">OPTIONS</A>
<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF="#author">AUTHOR</A>
</UL>
</BODY>
</HTML>