Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2    Statistic    FMM    Blog  

GMImage.Swirl

Swirl image (image pixels are rotated by degrees).

Component Version macOS Windows Linux Server iOS SDK License
GraphicsMagick 2.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes Paid
MBS( "GMImage.Swirl"; ImageRef; degrees )   More

Parameters

Parameter Description Example
ImageRef The image reference number. 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.Release";$Image)
];
$Result)

See also

Example Databases

Created 18th August 2014, last changed 21st December 2018


GMImage.StrokePattern - GMImage.Texture

Feedback: Report problem or ask question.


Start Chat