---
name: "im_floor"
section: "3"
platform: "linux"
package: "libvips-dev"
version: "7.20.7-1+b3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/im_floor"
---

# im\_floor(3)

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

## 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)](/im_floor/3.md)** finds the largest integral value not greater than. Copy for integer types, call [floor(3)](/floor/3.md) 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_abs/3.md), [im\_clip2fmt(3)](/im_clip2fmt/3.md), [im\_ceil(3)](/im_ceil/3.md)
