GMImage.GetRenderingIntent
--------------------------

Queries the type of rendering intent.

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

MBS( "GMImage.GetRenderingIntent"; ImageRef ) 

**MBS**( **"GMImage.GetRenderingIntent";** /\* Queries the type of rendering intent. \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

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

### Result

Returns a number.

### Description

Queries the type of rendering intent.  
UndefinedIntent = 0, SaturationIntent = 1, PerceptualIntent = 2, AbsoluteIntent = 3, RelativeIntent = 4  
### See also

- [GMImage.SetRenderingIntent](GMImageSetRenderingIntent.md)

This function checks for a license.

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

  
[GMImage.GetQuiet](GMImageGetQuiet.md) - [GMImage.GetResolutionUnits](GMImageGetResolutionUnits.md)

[HTML Version](GMImageGetRenderingIntent.shtml)