int im_image_sanity( IMAGE *im )
DESCRIPTIONim_image_sanity(3) performs a few simple checks on the IMAGE for bad fields. If it finds a problem it prints a warning message and returns -1.
It is called from various places within VIPS to try to catch errors early.
RETURN VALUEAll functions returns 0 on success and -1 on error.