im_shiftleft(3)

im_shiftleft3

Bit shift operations

Usage

#include <vips/vips.h>

int im_shiftleft( in, out, n )
IMAGE *in, *out;
int n;

int im_shiftright( in, out, n )
IMAGE *in, *out;
int n;

Overview

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

Return value

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

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

Author

J. Cupitt

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