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       You can specify the border color with the -white,  -black,  and  -color
28       options.  If you don't specify a color, the program makes a guess.
29
30       The  value  of  -color  is  like  the  argument of the pnm_parsecolor()
31       library routine ⟨libnetpbm_image.html#colorname⟩ .
32
33       To remove a border of a specified size from an image, use pamcut.  pnm‐
34       crop  also removes borders, but determines by itself what is border and
35       what is subject.
36
37       For lower level control, including to add  different  size  borders  to
38       different sides of the image, look at pnmcat.
39
40       If  all  you're  trying to do is get the image up to a certain required
41       size, pamcut may be what you want.
42
43       pnmpad does essentially the same thing, but gives you more control over
44       the individual margins and does only black and white margins.
45
46
47

SEE ALSO

49       ·
50
51              pamcut(1)
52
53       ·
54
55              pnmcrop(1)
56
57       ·
58
59              pnmcat(1)
60
61       ·
62
63              pnmpad(1)
64
65       ·
66
67              pnm(1)
68
69
70

AUTHOR

72       Copyright (C) 1991 by Jef Poskanzer.
73

DOCUMENT SOURCE

75       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
76       source.  The master documentation is at
77
78              http://netpbm.sourceforge.net/doc/pnmmargin.html
79
80netpbm documentation           12 November 2014       Pnmmargin User Manual(0)
Impressum