GMImage.XResolution
-------------------

Returns the x resolution of the image.

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

MBS( "GMImage.XResolution"; ImageRef ) 

**MBS**( **"GMImage.XResolution";** /\* Returns the x resolution of the image. \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

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

### Result

Returns the x resolution of the image.

### Description

Returns the x resolution of the image.  
See also density functions.  
### See also

- [GMImage.YResolution](GMImageYResolution.md)

### FileMaker Magazin

- [Ausgabe 5/2011, Seite 32](https://filemaker-magazin.de/neuigkeit/3506-Appetithappen-FMM_201105-06)

This function checks for a license.

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

  
[GMImage.WriteToWebPContainer](GMImageWriteToWebPContainer.md) - [GMImage.YResolution](GMImageYResolution.md)

[HTML Version](GMImageXResolution.shtml)