---
name: "im_smudge"
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_smudge"
---

# im\_smudge(3)

filter and smudge in place

## NAME

im\_smudge, im\_smear - filter and smudge in place

## SYNOPSIS

**#include \<vips/vips.h\>**

int\
 im\_smudge( im, ix, iy, r )\
 IMAGE \*im;\
 int ix, iy;\
 Rect \*r;

int\
 im\_smear( im, ix, iy, r )\
 IMAGE \*im;\
 int ix, iy;\
 Rect \*r;

## DESCRIPTION

im\_smudge() performs a low-pass filter of the pels inside rect r. Rect r is clipped against the edges of the image. im\_smear() is not very useful.

Both these functions are \`in place,' that is, they write directly to the output image! Be very careful, you can destroy data.

## RETURN VALUE

All functions return 0 on success and -1 on error.

## SEE ALSO

[im\_insertplace(3)](/im_insertplace/3.md), [im\_readpoint(3)](/im_readpoint/3.md).

## COPYRIGHT

National Gallery, 1992

## AUTHOR

J. Cupitt
