im_image_sanity3
Check image descriptors for sanity
Usage
#include <vips/vips.h>
int im_image_sanity( IMAGE *im )
Overview
im_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 value
All functions returns 0 on success and -1 on error.
Releases
4 releases since Debian 3.1 (Sarge); the text changed 2 times.