1Pnmmargin User Manual(0) Pnmmargin User Manual(0)
2
3
4
6 pnmmargin - add borders to a PNM image
7
8
10 pnmmargin [-white|-black|-color colorspec] size [pnmfile]
11
12
14 This program is part of Netpbm(1).
15
16 pnmmargin adds a border around a PNM image.
17
18
19
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
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 ppm_parsecolor()
31 library routine ⟨libppm.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
49 pamcut(1) pnmcrop(1) pnmcat(1) pnmpad(1) pnm(1)
50
51
53 Copyright (C) 1991 by Jef Poskanzer.
54
56 This manual page was generated by the Netpbm tool 'makeman' from HTML
57 source. The master documentation is at
58
59 http://netpbm.sourceforge.net/doc/pnmmargin.html
60
61netpbm documentation 12 November 2014 Pnmmargin User Manual(0)