1pfspad(1) General Commands Manual pfspad(1)
2
3
4
6 pfspad - Add borders to a frame in PFS stream
7
9 pfspad [--left <columns>] [--right <columns>] [--top <rows>] [--bottom
10 <rows>] [--width <new_width>] [--height <new_height>] [--R <val>] [--G
11 <val>] [--B <val>] [--Y <val>] [--help]
12
14 Add borders to each frame in PFS stream. User specifies size of left,
15 right, top and bottom border or size of an output image. Color of bor‐
16 ders can be specified as well.
17
19 --left <columns>, -l <columns>
20 Width in pixels of the left border.
21
22 --right <columns>, -r <columns>
23 Width in pixels of the right border.
24
25 --top <rows>, -t <rows>
26 Height in pixels of the top border.
27
28 --bottom <rows>, -b <rows>
29 Height in pixels of the bottom border.
30
31 --width <new_width>, -W <new_width>
32 Width of an output image. Note that --width can be mixed with
33 either --left or --right option.
34
35 --height <new_height>, -H <new_height>
36 Height of an output image. Note that --height can be mixed with
37 either --top or --bottom option.
38
39 --R <val>, -R <val>, --G <val>, -G <val>, --B <val>, -B <val>
40 Color of borders in RGB mode. Default color is black, and if
41 some of the components is not specified, its value is set to
42 0.0.
43
44 --Y <val>, -Y <val>
45 Color of borders in luminance mode.
46
47 --help, -h
48 Print a list of commandline options.
49
51 pfsin image.hdr | pfspad --left 50 --bottom 20 | pfsout out.hdr
52 Add 50 columns to the left and 20 rows to the bottom side of
53 image.hdr. Color of borders is default black.
54
55 pfsin image.hdr | pfspad --top 20 --height 500 --width 400 --R 1.0 |
56 pfsout out.hdr
57 Add 20 rows to the top side of image.hdr and create output image
58 out.hdr 500 pixels in height and 400 pixels in width. Color of
59 borders is set to red.
60
62 pfsin(1) pfsout(1)
63
65 Please report bugs and comments to Dorota Zdrojewska <dzdrojew‐
66 ska@wi.ps.pl>.
67
68
69
70 pfspad(1)