1SHIFT(3) Library Functions Manual SHIFT(3)
2
3
4
6 im_shiftleft, im_shiftright - bit shift operations
7
9 #include <vips/vips.h>
10
11 int im_shiftleft( in, out, n )
12 IMAGE *in, *out;
13 int n;
14
15 int im_shiftright( in, out, n )
16 IMAGE *in, *out;
17 int n;
18
19
21 Shift integer images n bits left or right. Shifts on signed images are
22 sign-preserving.
23
24
26 All functions return 0 on success and -1 on error.
27
29 im_ifthenelse(3), im_equal(3), im_andimage(3).
30
32 National Gallery, 1992
33
35 J. Cupitt
36
37
38
39 30 October 1992 SHIFT(3)