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

NAME

6       im_subsample - subsample image by integer factor
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_subsample(in, out, xsub, ysub)
12       IMAGE *in, *out;
13       int xsub, ysub;
14
15

DESCRIPTION

17       im_subsample() sub-samples image in by an x and y integer factor. It is
18       much faster than im_shrink(), especially for large partial images.
19
20       It works for any image type.
21

RETURN VALUE

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

SEE ALSO

26       im_shrink(3), im_similarity(3), im_zoom(3)
27
29       1989-1996 The National Gallery and Birkbeck College
30
31
32
33                                  19 Aug 1996                  IM_SUBSAMPLE(3)
Impressum