Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


GMImage.SetBoxColor - GMImage.SetClassType

Feedback: Report problem or ask question.