Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

GMImage.Solarize

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

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 2.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.Solarize"; ImageRef { ; factor } )   More

Parameters

Parameter Description Example Flags
ImageRef The image reference number. 1
factor The factor. 50.0 Optional

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.Release";$Image)
];
$Result)

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 21st December 2018


GMImage.SkewY - GMImage.Spread