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
20 You can specify the border color with the -white, -black, and -color
21 options. If no color is specified, the program makes a guess.
22
23 To remove a border of a specified size from an image, use pamcut. pnm‐
24 crop also removes borders, but determines by itself what is border and
25 what is subject.
26
27 For lower level control, including to add different size borders to
28 different sides of the image, look at pnmcat.
29
30 If all you're trying to do is get the image up to a certain required
31 size, pamcut may be what you want.
32
33 pnmpad does essentially the same thing, but gives you more control over
34 the individual margins and does only black and white margins.
35
36
38 pamcut(1) pnmcrop(1) pnmcat(1) pnmpad(1) pnm(1)
39
40
42 Copyright (C) 1991 by Jef Poskanzer.
43
44
45
46netpbm documentation 20 March 2009 Pnmmargin User Manual(0)