1Pnmmargin User Manual(0)                              Pnmmargin User Manual(0)
2
3
4

NAME

6       pnmmargin - add borders to a PNM image
7
8

SYNOPSIS

10       pnmmargin [-white|-black|-color colorspec] size [pnmfile]
11
12

DESCRIPTION

14       This program is part of Netpbm(1).
15
16       pnmmargin adds a border around a PNM image.
17
18
19

ARGUMENTS

21       pnmfile is the name of the input file.  If you don't specify this argu‐
22       ment, pnmmargin reads the input image from its Standard Input.
23
24
25

OPTIONS

27       In addition to the options common to all programs  based  on  libnetpbm
28       (most notably -plain, see
29        Common  Options ⟨index.html#commonoptions⟩ ), pnmmargin recognizes the
30       following command line options:
31
32       You can specify the border color with the -white,  -black,  and  -color
33       options.  If you don't specify a color, the program makes a guess.
34
35       The  value  of  -color  is  like  the  argument of the pnm_parsecolor()
36       library routine ⟨libnetpbm_image.html#colorname⟩ .
37
38       The -plain common option was implemented beginning with Netpbm  version
39       10.40 (September 2007).
40
41       The -quiet common option is not implemented.
42
43

NOTES

45       To remove a border of a specified size from an image, use pamcut.  pnm‐
46       crop also removes borders, but determines by itself what is border  and
47       what is subject.
48
49       For  lower  level  control,  including to add different size borders to
50       different sides of the image, look at pnmcat.
51
52       If all you're trying to do is get the image up to  a  certain  required
53       size, pamcut may be what you want.
54
55       pnmpad does essentially the same thing, but gives you more control over
56       the individual margins and does only black and white margins.
57
58
59

SEE ALSO

61       ·
62
63              pamcut(1)
64
65       ·
66
67              pnmcrop(1)
68
69       ·
70
71              pnmcat(1)
72
73       ·
74
75              pnmpad(1)
76
77       ·
78
79              pnm(1)
80
81
82

AUTHOR

84       Copyright (C) 1991 by Jef Poskanzer.
85

DOCUMENT SOURCE

87       This manual page was generated by the Netpbm tool 'makeman'  from  HTML
88       source.  The master documentation is at
89
90              http://netpbm.sourceforge.net/doc/pnmmargin.html
91
92netpbm documentation           12 November 2014       Pnmmargin User Manual(0)
Impressum