1IM_ROTATION(3) Library Functions Manual IM_ROTATION(3)
2
3
4
6 im_rot180, im_rot270, im_rot90, im_fliphor, im_flipver - rotate and
7 flip an image
8
10 #include <vips/vips.h>
11
12 int im_rot180(in, out)
13 IMAGE *in, *out;
14
15 int im_rot270(in, out)
16 IMAGE *in, *out;
17
18 int im_rot90(in, out)
19 IMAGE *in, *out;
20
21 int im_fliphor(in, out)
22 IMAGE *in, *out;
23
24 int im_flipver(in, out)
25 IMAGE *in, *out;
26
28 im_rot180(), im_rot270() and im_rot90(), rotate the input image in by
29 180, 270 and 90 degrees clockwise. im_fliphor() and im_flipver(), flip
30 in horizontally and vertically respectively. All functions work for any
31 size image, any type and any number of bands. All also work for LABPACK
32 coded images.
33
35 All functions return 0 on success and -1 on error.
36
38 rot180(1)
39
41 N. Dessipris - 5/12/1991
42
43
44
45 5 December 1991 IM_ROTATION(3)