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

GMImage.SetCacheThreshold

Sets the Pixel cache threshold in bytes.

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

Deprecated

This function was deprecated.

MBS( "GMImage.SetCacheThreshold"; threshold )   More

Parameters

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

Result

Returns "OK" on success.

Description

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