IM_BLACK

Section: C Library Functions (3)
Updated: 11 April 1990
Index Return to Main Contents
 

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_setbuf(3).  

COPYRIGHT


National Gallery 1990 - 1993  

AUTHOR

J. Cupitt - 11/04/1990