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

GMImage.SetModulusDepth

Sets the Image modulus depth.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 2.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.SetModulusDepth"; ImageRef; modulusDepth )   More

Parameters

Parameter Description Example
ImageRef The image reference number. 1
modulusDepth The new value. 8

Result

Returns "OK" on success.

Description

Sets the Image modulus depth.
The minimum number of bits required to support red/green/blue components without loss of accuracy.

See also

This function checks for a license.

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


GMImage.SetMatteColor - GMImage.SetMonochrome