Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

GMImage.Sharpen

Sharpen pixels in image.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
GraphicsMagick 2.0 Yes Yes Yes Yes Yes

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

Parameters

Parameter Description Example value
ImageRef The image reference number. 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

Sharpen pixels in image.

Examples

Applies the sharpen effect to the image:

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

See also

Example Databases


GMImage.Shade   -   GMImage.SharpenChannel

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins