All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

GMImage.Emboss

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

MBS( "GMImage.Emboss"; ImageRef; radius; sigma )

Parameters

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

Result

Returns "OK" on success.

Description

Emboss image (hilight edges with 3D effect).

Examples

Apply an emboss effect to an image

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

Feedback: Report problem or ask question.