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


Sets the Pixel cache threshold in bytes.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 2.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes


This function was deprecated.

MBS( "GMImage.SetCacheThreshold"; threshold )   More


Parameter Description Example
threshold The Pixel cache threshold in bytes. 100 * 1024 * 1024


Returns "OK" on success.


Sets the Pixel cache threshold in bytes.
Once this memory threshold is exceeded, all subsequent pixels cache operations are to/from disk. This setting is shared by all Image objects.
You should not need to change this.

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 31st March 2021

GMImage.SetBoxColor - GMImage.SetChannelDepth