1IM_INSERT(3)               Library Functions Manual               IM_INSERT(3)
2
3
4

NAME

6       im_insert - insert one image into another
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_insert(in, ins, out, x, y)
12       IMAGE *in, *insub, *out;
13       int x, y;
14

DESCRIPTION

16       im_insert()  inserts one image into another. ins is inserted into image
17       in at position x, y relative to the top left hand corner of in. out  is
18       made  large enough to hold all of both in and ins. Any areas of out not
19       coming from either in or ins are set to black (binary 0). If ins  over‐
20       laps  in,  ins will appear on top of in. Both images must have the same
21       number of bands and the same BandFmt.
22

RETURN VALUE

24       The function returns 0 on success and -1 on error.
25

SEE ALSO

27       im_extract(3), im_lrjoin(3), im_lrmerge(3)
28
30       J. Cupitt,
31

AUTHOR

33       J. Cupitt - 11/04/1990
34
35
36
37                                 11 April 1990                    IM_INSERT(3)
Impressum