im_image_sanity(3)

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.

  1. 3.1–4.0
  2. 5.0
  3. 6.0

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.