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   4.4   5.0   5.1   5.2  

GMImage.Blur

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

MBS( "GMImage.Blur"; ImageRef; {radius}; {sigma} )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1
radius Optional
Optional, The radius of the Gaussian, in pixels, not counting the center pixel.
0
sigma Optional
Optional, The standard deviation of the Laplacian, in pixels.
1

Result

Returns "OK" on success.

Description

Blur image with specified blur factor.

Examples

Blurs image

Let (
[
$Image = MBS("GMImage.NewFromContainer"; GraphicsMagick::image);
$RotateResult = MBS("GMImage.Blur"; $Image; 10; 5);
$Result = MBS("GMImage.WriteToPNGContainer"; $Image);
$DestroyResult = MBS("GMImage.Destroy";$Image)
];
$Result)

See also


GMImage.BaseRows   -   GMImage.BlurChannel

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Pfarrgemeinde Messdiener Nickenich