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

NAME

6       im_shiftleft, im_shiftright - bit shift operations
7

SYNOPSIS

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

DESCRIPTION

21       Shift  integer images n bits left or right. Shifts on signed images are
22       sign-preserving.
23
24

RETURN VALUE

26       All functions return 0 on success and -1 on error.
27

SEE ALSO

29       im_ifthenelse(3), im_equal(3), im_andimage(3).
30
32       National Gallery, 1992
33

AUTHOR

35       J. Cupitt
36
37
38
39                                30 October 1992                       SHIFT(3)
Impressum