home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega A/V
/
mega_av.zip
/
mega_av
/
GRAPHUTL
/
PBMPLUS.ZIP
/
PBMPASTE.MAN
< prev
next >
Wrap
Text File
|
1991-08-11
|
2KB
|
67 lines
pbmpaste(1) Unix Programmer's Manual pbmpaste(1)
NNNAAAMMMEEE
pbmpaste - paste a rectangle into a portable bitmap
SSSYYYNNNOOOPPPSSSIIISSS
pppbbbmmmpppaaasssttteee [-rrreeeppplllaaaccceee|-ooorrr|-aaannnddd|-xxxooorrr] _f_r_o_m_p_b_m_f_i_l_e _x _y [_i_n_t_o_p_b_m_f_i_l_e]
DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
Reads two portable bitmaps as input. Inserts the first bitmap into the
second at the specified location, and produces a portable bitmap the same
size as the second as output. If the second bitmap is not specified, it
is read from stdin. The _x and _y can be negative, in which case they are
interpreted relative to the right and bottom of the bitmap, respectively.
This tool is useful in combination with _p_n_m_c_u_t. For instance, if you
want to edit a small segment of a large bitmap, and your bitmap editor is
TOO STUPID to edit the large bitmap, you can cut out the segment you are
interested in, edit it, and then paste it back in.
Another useful companion tool is _p_b_m_m_a_s_k.
The _p_n_m_p_a_s_t_e tool is like this one, except that it doesn't implement the
logical operation flags, since they don't have any useful meaning for
grayscale and color images.
The flags specify the operation to use when doing the paste. The default
is ---rrreeeppplllaaaccceee. The other operations act as if white is 1 and black is 0.
WARNING: this is the opposite of how the PBM file format stores bits.
Ignore the file format.
All flags can be abbreviated to their shortest unique prefix.
SSSEEEEEE AAALLLSSSOOO
pnmcut(1), pbmmask(1), pnminvert(1), pnmarith(1), pnmpaste(1), pbm(5)
AAAUUUTTTHHHOOORRR
Copyright (C) 1989 by Jef Poskanzer.
08 August 1989 1