im_smudge(3)

im_smudge3

Filter and smudge in place

Usage

#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;

Overview

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.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–6.0

Author

J. Cupitt

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.