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

GMImage.Free

Releases the image from memory.

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

Parameters

Parameter Description Example
ImageRef The image reference number. 1

Result

Returns OK or error.

Description

Releases the image from memory.
Please call this function when you are done with the image to free memory.
The plugin doesn't know whether you need the image later, so it can't free the memory for you.
You can use GMImage.ImageCount to find out how many images are open in memory.

See also

Release notes

Example Databases

Blog Entries

Created 20th September 2018, last changed 21st September 2018


GMImage.Frame - GMImage.FreeAll