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
Component: GraphicsMagick
Mac OS X: Works
Windows: Works
MBS( "GMImage.Emboss"; ImageRef; radius; sigma )
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 |
Returns "OK" on success.
Emboss image (hilight edges with 3D effect).
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.