---
name: "im_simcontr"
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_simcontr"
---

# im\_simcontr(3)

shows the effect of simultaneous contrast

## NAME

im\_simcontr - shows the effect of simultaneous contrast

## SYNOPSIS

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

**int im\_simcontr( image, xsize, ysize )**\
 **IMAGE \*image;**\
 **int xsize, ysize;**

## DESCRIPTION

**im\_simcontr()** creates an unsigned char one band grey scale image of sizes xsize by ysize. The created pattern consists of two neighbouring squares one dark (left square) and one light (right square).  The left  one containes a smaller light square and the right one containes a darker square.

## RETURN VALUE

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

## SEE ALSO

[im\_grey(3)](/im_grey/3.md)

## COPYRIGHT

N. Dessipris

## AUTHOR

N. Dessipris - 10/05/1991
