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

NAME

6       im_zoom - zoom an image
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_zoom(in, out, xfac, yfac)
12       IMAGE *in, *out; int xfac, yfac;
13
14

DESCRIPTION

16       im_zoom()  zooms  (ie.  nearest neighbour upsampling) the image held by
17       the image descriptor in by factors xfac and yfac and writes the  result
18       to  the  image  descriptor out.  Works for any type of image, even LAB‐
19       PACK.
20
21

RETURN VALUE

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

SEE ALSO

26       im_copy(3), im_affine(3).
27
29       National Gallery, 1994.
30
31
32
33                                 11 April 1990                      IM_ZOOM(3)
Impressum