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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

GMImage.Raise

Raise image (lighten or darken the edges of an image to give a 3-D raised or lowered effect)

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

MBS( "GMImage.Raise"; ImageRef { ; geometry; raisedFlag } )

Parameters

Parameter Description Example value
ImageRef The image reference number. 1
geometry Optional
The rectangle. Geometry is specified as a width and height "100x200". With an optional offset "100x200+10+20". For percent values, add a percent on the end, for % values add a %: "100x200%!"
"100x200"
raisedFlag Optional
A boolean flag.
0

Result

Returns "OK" on success.

Description

Raise image (lighten or darken the edges of an image to give a 3-D raised or lowered effect)

Examples

Raises the border of an image:

Let ( [
$Image = MBS("GMImage.NewFromContainer"; GraphicsMagick::image);
$ScaleResult = MBS("GMImage.Raise";$Image);
$Result = MBS("GMImage.WriteToPNGContainer"; $Image);
$Error = MBS("GMImage.Destroy";$Image)
];
$Result)

See also

Example Databases


GMImage.Quantize   -   GMImage.RandomThreshold

Feedback: Report problem or ask question.




Links
MBS Xojo blog