---
name: "im_black"
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_black"
---

# im\_black(3)

make a black image

## NAME

im\_black - make a black image

## SYNOPSIS

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

**int im\_black(out, x, y, bands)**\
 **IMAGE \*out;**\
 **int x, y, bands;**

## DESCRIPTION

im\_black() makes a black uchar image of the specified size and number of bands.

## RETURN VALUE

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

## SEE ALSO

im\_openin(3), [im\_openout(3)](/im_openout/3.md), [im\_setbuf(3)](/im_setbuf/3.md).

## COPYRIGHT

National Gallery 1990 - 1993

## AUTHOR

J. Cupitt - 11/04/1990
