im_zoom(3) - Linux man page
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).
Copyright
National Gallery, 1994.
Referenced By
im_grid(3),
im_replicate(3),
im_spatres(3),
im_subsample(3)