Penguin
Annotated edit history of pnmpaste(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 pnmpaste
2 !!!pnmpaste
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 SEE ALSO
7 AUTHOR
8 ----
9 !!NAME
10
11
12 pnmpaste - paste a rectangle into a portable anymap
13 !!SYNOPSIS
14
15
16 __pnmpaste__ [[__-replace__|__-or__|__-and__
17 |__-xor__] ''frompnmfile x y''
18 [[''intopnmfile'']
19 !!DESCRIPTION
20
21
22 Reads two portable anymaps as input. Inserts the first
23 anymap into the second at the specified location, and
24 produces a portable anymap the same size as the second as
25 output. If the second anymap is not specified, it is read
26 from stdin. The ''x'' and ''y'' can be negative, in
27 which case they are interpreted relative to the right and
28 bottom of the anymap, respectively.
29
30
31 This tool is most useful in combination with ''pnmcut''.
32 For instance, if you want to edit a small segment of a large
33 image, and your image editor cannot edit the large image,
34 you can cut out the segment you are interested in, edit it,
35 and then paste it back in.
36
37
38 Another useful companion tool is
39 ''pbmmask''.
40
41
42 __pnmcomp__ is, a more general tool, except that it lacks
43 the
44 __pnmcomp__ allows you to specify an alpha
45 mask in order to have only part of the inserted image get
46 inserted. So the inserted pixels need not be a rectangle.
47 You can also have the inserted image be translucent, so the
48 resulting image is a mixture of the inserted image and the
49 base image.
50
51
52 The optional flag specifies the operation to use when doing
53 the paste. The default is __-replace__. The other,
54 logical operations are only allowed if both input images are
55 bitmaps. These operations act as if white is TRUE and black
56 is FALSE.
57
58
59 All flags can be abbreviated to their shortest unique
60 prefix.
61 !!SEE ALSO
62
63
64 pnmcomp(1), pnmcut(1), pnminvert(1),
65 pnmarith(1), pbmmask(1),
66 pnm(5)
67 !!AUTHOR
68
69
70 Copyright (C) 1989, 1991 by Jef Poskanzer.
71 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.