im_rint(3)

im_rint3

For each pixel, find the nearest integral value

Usage

#include <vips/vips.h>

int im_rint( in, out )
IMAGE *in, *out;

Overview

im_rint(3) finds the nearest integral value. Copy for integer types, call rint(3) for float and complex types. Output type == input type.

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.