1IM_REPLICATE(3) Library Functions Manual IM_REPLICATE(3)
2
3
4
6 im_replicate - replicate an image horizontally and vertically
7
9 #include <vips/vips.h>
10
11 int
12 im_replicate( IMAGE *in, IMAGE *out,
13 int across, int down )
14
16 im_replicate(3) repeats image in across and down a fixed number of
17 times to make a new larger image.
18
19 The current implementation is optimised for the case where image in is
20 small and across and down are large.
21
22
24 The function returns 0 on success and -1 on error.
25
27 im_extract_area(3), im_zoom(3)
28
30 National Gallery 2003
31
32
33
34 6 October 2003 IM_REPLICATE(3)