im_zoom(3)

im_zoom3

Zoom an image

Usage

#include <vips/vips.h>

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

Overview

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.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.