im_zoom

Langue: en

Version: 170390 (fedora - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

im_zoom - zoom an image

SYNOPSIS

#include <vips/vips.h>

int im_zoom(in, out, xfac, yfac)
IMAGE *in, *out; int xfac, yfac;

DESCRIPTION

im_zoom() zooms (ie. nearest neighbour upsampling) the image held by the image descriptor in by factors xfac and yfac and writes the result to the image descriptor out. Works for any type of image, even LABPACK.

RETURN VALUE

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

SEE ALSO

im_copy(3), im_affine(3). National Gallery, 1994.