Function
Vipscheck_bands_1orn
Declaration [src]
int
vips_check_bands_1orn (
const char* domain,
VipsImage* im1,
VipsImage* im2
)
Description [src]
Check that the images have the same number of bands, or that one of the images has just 1 band. If not, 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. im1-
Type:
VipsImageFirst image to check.
The data is owned by the caller of the function. im2-
Type:
VipsImageSecond image to check.
The data is owned by the caller of the function.