GMImage.GetClipMask
-------------------

Queries clip mask image.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [7.3](newinversion73.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.GetClipMask"; ImageRef ) 

**MBS**( **"GMImage.GetClipMask";** /\* Queries clip mask image. \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |

### Result

Returns image reference or error.

### Description

Queries clip mask image.  
Please call [GMImage.Release](GMImageRelease.md) later to free memory for this image.  
### See also

- [GMImage.ClipMask](GMImageClipMask.md)
- [GMImage.GetColorMap](GMImageGetColorMap.md)
- [GMImage.GetCompose](GMImageGetCompose.md)
- [GMImage.Release](GMImageRelease.md)

This function checks for a license.

Created 16th July 2017 , last changed 31st July 2019

  
[GMImage.GetClassType](GMImageGetClassType.md) - [GMImage.GetColorFuzz](GMImageGetColorFuzz.md)

[HTML Version](GMImageGetClipMask.shtml)