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:
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
12.4
Statistic
FMM
Blog
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
- GMImage.Crop
- GMImage.Erase
- GMImage.Flip
- GMImage.Flop
- GMImage.Frame
- GMImage.FreeAll
- GMImage.ImageCount
- GMImage.SetBackgroundColor
- GMImage.Stegano
- GMImage.Wave
Release notes
- Version 8.4
- Added GMImage.Free and GMImage.FreeAll.
Example Databases
- GraphicsMagick/Colors
- GraphicsMagick/Create GIF
- GraphicsMagick/Create Multi Tiff
- GraphicsMagick/Export Images
- GraphicsMagick/Find Pixels
- GraphicsMagick/GraphicsMagick Exif
- GraphicsMagick/Image Scaling
- GraphicsMagick/Reduce Image
- GraphicsMagick/SVG to PNG
- GraphicsMagick/Trim Picture Border
Blog Entries
Created 20th September 2018, last changed 21st September 2018
GMImage.Frame - GMImage.FreeAll
Feedback: Report problem or ask question.
