All functions
Mac OS X
Windows
Crossplatform
Server
Components
Guides
Statistic
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3.0
3.1
3.2
GMImage.Rotate
Component: GraphicsMagick
Version: 2.0
Mac OS X: Works
Windows: Works
Server: Works
MBS( "GMImage.Rotate"; ImageRef; degrees )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| ImageRef | The image reference (a number returned from the GMImage.New functions) | 1 |
| degrees | The angle in degrees. | 90 |
Result
Returns "OK" on success.
Description
Rotate image counter-clockwise by specified number of degrees.Examples
Rotates image by 90 degree to right
Let (
[
$Image = MBS("GMImage.NewFromContainer"; GraphicsMagick::image);
$RotateResult = MBS("GMImage.Rotate"; $Image; 90);
$Result = MBS("GMImage.WriteToPNGContainer"; $Image);
$DestroyResult = MBS("GMImage.Destroy";$Image)
];
$Result)
Feedback: Report problem or ask question.
Links
MBS REAL studio tutorial videos - Christians Software aus Nickenich