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.Frame

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

MBS( "GMImage.Frame"; ImageRef; width; height; innerBevel; outerBevel )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1
width The width of the frame 300
height The height of the frame 200
innerBevel The inner bevel size 6
outerBevel The outer bevel size 6

Result

Returns "OK" on success.

Description

Frame image.

Examples

Adds a frame to the image:

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

Feedback: Report problem or ask question.