im_rot180(3)

im_rot1803

Rotate and flip an image

Usage

#include <vips/vips.h>

int im_rot180(in, out)
IMAGE *in, *out;

int im_rot270(in, out)
IMAGE *in, *out;

int im_rot90(in, out)
IMAGE *in, *out;

int im_fliphor(in, out)
IMAGE *in, *out;

int im_flipver(in, out)
IMAGE *in, *out;

Overview

im_rot180(), im_rot270() and im_rot90(), rotate the input image in by 180, 270 and 90 degrees clockwise. im_fliphor() and im_flipver(), flip in horizontally and vertically respectively. All functions work for any size image, any type and any number of bands. All also work for LABPACK coded images.

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

N. Dessipris - 5/12/1991

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