Function
Vipscheck_bands_atleast
Declaration [src]
int
vips_check_bands_atleast (
const char* domain,
VipsImage* im,
int bands
)
Description [src]
Check that the image has at least bands bands.
Otherwise set an error message
and return non-zero.
See also
Parameters
domain-
Type:
const char*The originating domain for the error message.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. im-
Type:
VipsImageImage to check.
The data is owned by the caller of the function. bands-
Type:
intAt least this many bands.