ImageRotate

Rotates a image at a specified point by a specified angle.

Returns: void

Usage

ImageRotate( name, x [, y [, angle [, interpolation ] ] ] )

Arguments

Argument Description Default
name
(any, required)

The image on which this operation is performed.

x
(string, required)

The x coordinate for the point of rotation. The default value is 2.

2

y
(string, optional)

The y coordinate for the point of rotation. The default value is 2.

2

angle
(string, optional)

The rotation angle in degrees.

0

interpolation
(string, optional)

Type of interpolation: - nearest (default): Applies the nearest neighbor method of interpolation. Image quality is lower than the other interpolation methods, but processing is fastest. - bilinear: Applies the bilinear method of interpolation. The quality of the image is less pixelated than the default, but processing is slower. - bicubic: Applies the bicubic method of interpolation. Generally, the quality of image is highest with this method and processing is slowest.

nearest

Examples

There are currently no examples for this function.

See also