about summary refs log tree commit diff
path: root/pnmmargin.html
blob: d41c9428de260e7e7b068942b98a7f27496a7c74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!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>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

pnmmargin - add a border to a PNM image

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

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

<A NAME="lbAD">&nbsp;</A>
<H2>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.

<A NAME="lbAE">&nbsp;</A>
<H2>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.

<A NAME="lbAF">&nbsp;</A>
<H2>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>

<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>

Copyright (C) 1991 by Jef Poskanzer.

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">OPTIONS</A>
<LI><A HREF="#lbAF">SEE ALSO</A>
<LI><A HREF="#lbAH">AUTHOR</A>
</UL>
</BODY>
</HTML>