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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.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

This function checks for a license.

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


GMImage.SetBoxColor - GMImage.SetClassType

💬 Ask a question or report a problem