G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.1.5

Reference

Table of Contents  ▸  List of Commands  ▸  Geometry Manipulation  ▸  rotate◀  resize3dz    |    rotate_tileable  ▶

rotate

Built-in command

Arguments:

Description:

Rotate selected images with specified angle (in deg.), and optionally 3D axis (u,v,w).

interpolation can be { 0=none | 1=linear | 2=bicubic }.
boundary_conditions can be { 0=dirichlet | 1=neumann | 2=periodic | 3=mirror }.
When a rotation center (cx,cy,_cz) is specified, the size of the image is preserved.

Default values:

interpolation=1, boundary_conditions=0 and center_x=center_y=(undefined).

Example of use:

$ gmic image.jpg +rotate -25,1,2,50%,50% rotate[0] 25

Command: image.jpg +rotate -25,1,2,50%,50% rotate[0] 25
Command: image.jpg +rotate -25,1,2,50%,50% rotate[0] 25
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.