GMImage.GetLabel
----------------

Queries the image label.

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

MBS( "GMImage.GetLabel"; ImageRef ) 

**MBS**( **"GMImage.GetLabel";** /\* Queries the image label. \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

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

### Result

Returns a string.

### Description

Queries the image label.  
### See also

- [GMImage.GetDebug](GMImageGetDebug.md)
- [GMImage.GetGamma](GMImageGetGamma.md)
- [GMImage.GetMatte](GMImageGetMatte.md)
- [GMImage.GetPage](GMImageGetPage.md)
- [GMImage.GetQuiet](GMImageGetQuiet.md)
- [GMImage.GetSize](GMImageGetSize.md)
- [GMImage.GetType](GMImageGetType.md)
- [GMImage.GetView](GMImageGetView.md)
- [GMImage.SetLabel](GMImageSetLabel.md)
- [GMImage.SetPage](GMImageSetPage.md)

This function checks for a license.

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

  
[GMImage.GetJPEGAsHex](GMImageGetJPEGAsHex.md) - [GMImage.GetLineWidth](GMImageGetLineWidth.md)

[HTML Version](GMImageGetLabel.shtml)