Topics   All functions   Mac OS X   Windows   Crossplatform   Server   Components   Guides   Statistic  
New in version: 3.0   3.1   3.2   3.3   3.4   3.5   4.0   4.1   4.2   4.3  

GMImage.Swirl

Component: GraphicsMagick
Version: 2.0
Mac OS X: Works
Windows: Works
Server: Works

MBS( "GMImage.Swirl"; ImageRef; degrees )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1
degrees The degrees. 90

Result

Returns "OK" on success.

Description

Swirl image (image pixels are rotated by degrees).

Examples

Does a swirl on the image:

Let ( [
$Image = MBS("GMImage.NewFromContainer"; GraphicsMagick::image);
$Result = MBS("GMImage.Swirl";$Image; 90);
$Result = MBS("GMImage.WriteToJPEGContainer"; $Image);
$Error = MBS("GMImage.Destroy";$Image)
];
$Result)

Feedback: Report problem or ask question.




Links
MBS REAL studio tutorial videos - Nachhilfe in Eich