FreeImage.RotateEx Method

FreeImage.NET

FreeImageRotateEx Method
This function performs a rotation and / or translation of an 8-bit greyscale, 24- or 32-bit image, using a 3rd order (cubic) B-Spline.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP RotateEx(
	FIBITMAP dib,
	double angle,
	double x_shift,
	double y_shift,
	double x_origin,
	double y_origin,
	bool use_mask
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
angle
Type: SystemDouble
The angle of rotation.
x_shift
Type: SystemDouble
Horizontal image translation.
y_shift
Type: SystemDouble
Vertical image translation.
x_origin
Type: SystemDouble
Rotation center x-coordinate.
y_origin
Type: SystemDouble
Rotation center y-coordinate.
use_mask
Type: SystemBoolean
When true the irrelevant part of the image is set to a black color, otherwise, a mirroring technique is used to fill irrelevant pixels.

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
See Also