1IM_IMAGE_SANITY(3)         Library Functions Manual         IM_IMAGE_SANITY(3)
2
3
4

NAME

6       im_image_sanity - check image descriptors for sanity
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_image_sanity( IMAGE *im )
12
13

DESCRIPTION

15       im_image_sanity(3)  performs  a  few simple checks on the IMAGE for bad
16       fields. If it finds a problem, it returns -1, serts im_errorstring, and
17       prints a warning message.
18
19       It  is  called  from  various places within VIPS to try to catch errors
20       early.
21
22

RETURN VALUE

24       All functions returns 0 on success and -1 on error.
25

SEE ALSO

27       im_incheck(3), `VIPS Library Programmers' Guide,' in accompanying docu‐
28       mentation.
29
30
31
32                                   Feb 2001                 IM_IMAGE_SANITY(3)
Impressum