Function
Vipscheck_bands_1or3
Declaration [src]
int
vips_check_bands_1or3 (
const char* domain,
VipsImage* im
)
Description [src]
Check that the image has either one or three bands. Otherwise set an error message and return non-zero.
::: seealso
vips_error().
Parameters
domain |
const char* |
The originating domain for the error message. |
|
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. | |
im |
VipsImage |
Image to check. |
|
| The data is owned by the caller of the function. |