im_image_sanity(3) im_image_sanity(3)
NAME
im_image_sanity - check image descriptors for sanity
SYNOPSIS
#include <vips/vips.h> int im_image_sanity( IMAGE *im )
DESCRIPTION
im_image_sanity(3) performs a few simple checks on the IMAGE for bad fields. If it finds a problem, it returns -1, serts im_errorstring, and prints a warning message. It is called from various places within VIPS to try to catch errors early.
RETURN VALUE
All functions returns 0 on success and -1 on error.
SEE ALSO
im_incheck(3). Feb 2001 im_image_sanity(3)
im_image_sanity 7.14.5 - Generated Sun Sep 7 15:06:32 CDT 2008