1IM_IOCHECK(3) Library Functions Manual IM_IOCHECK(3)
2
3
4
6 im_pincheck, im_poutcheck, im_piocheck - checks image descriptors for
7 PIO
8
10 #include <vips/vips.h>
11
12 int im_pincheck( in )
13 IMAGE *in;
14
15 int im_poutcheck( out )
16 IMAGE *out;
17
18 int im_piocheck( in, out)
19 IMAGE *in, *out;
20
22 im_pincheck(3) checks that an image descriptor is suitable for PIO
23 input. If the descriptor is IM_OPENOUT and the descriptor has been
24 written to, it is automatically `rewound,' that is, it is closed and
25 reopened as an IM_MMAPIN descriptor.
26
27 im_poutcheck(3) checks that a descriptor is suitable for PIO output.
28
29 im_piocheck(3) simply calls in_pincheck(3) for image in and
30 im_poutcheck(3) for image out.
31
33 All functions returns 0 on success and -1 on error.
34
36 im_generate(3), im_open(3). `VIPS Library Programmers' Guide,' in
37 accompanying documentation.
38
40 National Gallery
41
43 J. Cupitt - 23/7/93
44
45
46
47 11 April 1990 IM_IOCHECK(3)