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

GMImage.Map

Remap image colors with closest color from reference image.

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

Parameters

Parameter Description Example Flags
ImageRef The image reference number. 1
mapImage The image reference number. 2
dither Optional, a boolean whether to dither. 0 Optional

Result

Returns "OK" on success.

Description

Remap image colors with closest color from reference image.

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


GMImage.Magnify - GMImage.MatteFloodfill