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

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

MBS( "GMImage.Solarize"; ImageRef; factor )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1
factor Optional, the factor. 50.0

Result

Returns "OK" on success.

Description

Solarize image (similar to effect seen when exposing a photographic film to light during the development process).

Examples

Applies the solarize effect to an image:

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

Feedback: Report problem or ask question.