Function
Vipscheck_draw
Declaration [src]
int
vips_check_draw (
const char* domain,
VipsImage* image
)
Description [src]
Check that the image can be drawn on, that is, that image is fully in memory and can be written to. If not, set an error message and return non-zero.
Use vips_image_copy_draw() to make an image that can be drawn on.
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. image-
Type:
VipsImageImage to check.
The data is owned by the caller of the function.