libvips/man/im_rint.3

19 lines
444 B
Groff
Raw Normal View History

2007-08-29 18:23:50 +02:00
.TH IM_RINT 3
.SH NAME
im_rint \- for each pixel, find the nearest integral value
.SH SYNOPSIS
#include <vips/vips.h>
int im_rint( in, out )
.br
IMAGE *in, *out;
.SH DESCRIPTION
.B im_rint(3)
finds the nearest integral value. Copy for integer types,
call rint(3) for float and complex types. Output type == input type.
.SH RETURN VALUE
The function returns 0 on success and -1 on error.
.SH SEE ALSO
im_abs(3), im_clip2fmt(3), im_floor(3)