IM_FLOOR

Section: C Library Functions (3)
Updated: 20 June 2002
Index Return to Main Contents
 

NAME

im_floor - for each pixel, find the largest integral value not greater than  

SYNOPSIS

#include <vips/vips.h>

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

DESCRIPTION

im_floor(3) finds the largest integral value not greater than. Copy for integer types, call floor(3) for float and complex types. Output type == input type.  

RETURN VALUE

The function returns 0 on success and -1 on error.  

SEE ALSO

im_abs(3), im_clip2fmt(3), im_ceil(3)