1IM_COPY(3) Library Functions Manual IM_COPY(3)
2
3
4
6 im_copy, im_copy_set, im_copy_swap - copy an image
7
9 #include <vips/vips.h>
10
11 int im_copy(in, out)
12 IMAGE *in, *out;
13
14 int im_copy_set( in, out, type, xres, yres )
15 IMAGE *in, *out;
16 int type;
17 float xres, yres;
18
19 int im_copy(in, out)
20 IMAGE *in, *out;
21
22
24 im_copy(3) copies the image held by the image descriptor in and writes
25 the result to the image descriptor out. The input can be of any size
26 and have any type. Does LABPACK coded images too!
27
28 im_copy_set(3) behaves exactly as im_copy(3), but lets you set informa‐
29 tional fields in the header on the way through.
30
31 im_copy_swap(3) copies an uncoded image, swapping between SPARC and
32 Intel byte order on the way.
33
34
36 The function returns 0 on success and -1 on error.
37
39 im_extract(3), im_open(3)
40
41
42
43 11 April 1990 IM_COPY(3)