GMImage.GetMatte
----------------

Queries the image supports transparency (matte channel)

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

MBS( "GMImage.GetMatte"; ImageRef ) 

**MBS**( **"GMImage.GetMatte";** /\* Queries the image supports transparency (matte channel) \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

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

### Result

Returns a boolean value.

### Description

Queries the image supports transparency (matte channel)  
### See also

- [GMImage.GetPage](GMImageGetPage.md)
- [GMImage.GetQuiet](GMImageGetQuiet.md)
- [GMImage.GetScene](GMImageGetScene.md)
- [GMImage.GetSize](GMImageGetSize.md)
- [GMImage.GetType](GMImageGetType.md)
- [GMImage.GetWidth](GMImageGetWidth.md)
- [GMImage.Negate](GMImageNegate.md)
- [GMImage.Rotate](GMImageRotate.md)
- [GMImage.SetMatte](GMImageSetMatte.md)
- [GMImage.SetPage](GMImageSetPage.md)

### Example Databases

- [GraphicsMagick/Image Scaling](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/GraphicsMagick/Image%20Scaling.shtml#3ScriptAnchor_)
- [GraphicsMagick/Reduce Image](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/GraphicsMagick/Reduce%20Image.shtml#1ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[GMImage.GetMagick](GMImageGetMagick.md) - [GMImage.GetMatteColor](GMImageGetMatteColor.md)

[HTML Version](GMImageGetMatte.shtml)