GMImage.GetMagick
-----------------

Queries the File type magick identifier.

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

MBS( "GMImage.GetMagick"; ImageRef ) 

**MBS**( **"GMImage.GetMagick";** /\* Queries the File type magick identifier. \*/  
**$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 File type magick identifier.  
e.g. JPEG, GIF, PNG, BMP, GIF or TIFF.  
### See also

- [GMImage.GetEndian](GMImageGetEndian.md)
- [GMImage.GetHeight](GMImageGetHeight.md)
- [GMImage.GetMatte](GMImageGetMatte.md)
- [GMImage.GetPage](GMImageGetPage.md)
- [GMImage.GetQuality](GMImageGetQuality.md)
- [GMImage.SetMagick](GMImageSetMagick.md)

### Blog Entries

- [GraphicsMagick in FileMaker, part 2](https://www.mbsplugins.de/archive/2022-12-02/GraphicsMagick_in_FileMaker_pa/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 22nd February 2023

  
[GMImage.GetLineWidth](GMImageGetLineWidth.md) - [GMImage.GetMatte](GMImageGetMatte.md)

[HTML Version](GMImageGetMagick.shtml)