1IM_RINT(3) Library Functions Manual IM_RINT(3)
23
4
NAME
6im_rint - for each pixel, find the nearest integral value
7
SYNOPSIS
9#include <vips/vips.h>
1011
int im_rint( in, out )
12IMAGE *in, *out;
13
DESCRIPTION
15im_rint(3) finds the nearest integral value. Copy for integer types,
16call rint(3) for float and complex types. Output type == input type.
17
RETURN VALUE
19The function returns 0 on success and -1 on error.
20
SEE ALSO
22im_abs(3), im_clip2fmt(3), im_floor(3)
2324
25
26
27
IM_RINT(3)