DynaPDF.SetRenderingIntent
--------------------------

Set function sets the rendering intent of an image.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [12.4](newinversion124.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.SetRenderingIntent"; PDF; ImgHandle; RenderingIntent ) 

**MBS**( **"DynaPDF.SetRenderingIntent";** /\* Set function sets the rendering intent of an image. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$ImgHandle**; /\* Image handle, usually a number. \*/   
**$RenderingIntent**) /\* The new rendering intent as number or text.  
AbsoluteColorimetric 0  
Perceptual 1  
RelativeColorimetric 2  
Saturation 3 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| ImgHandle | Image handle, usually a number. |  |
| RenderingIntent | The new rendering intent as number or text.   AbsoluteColorimetric 0   Perceptual 1   RelativeColorimetric 2   Saturation 3 |  |

### Result

Returns OK or error.

### Description

Set function sets the rendering intent of an image.   
The rendering intent describes how colors should be interpreted.   
The parameter ImgHandle must be a valid image handle that was returned by [DynaPDF.InsertImage](DynaPDFInsertImage.md) or [DynaPDF.InsertImageFile](DynaPDFInsertImageFile.md). Imported images returned in [DynaPDF.ParseContent](DynaPDFParseContent.md), for example, can be changed too.   
If the function succeeds the return value is OK. If the function fails, it returns an error.   
See also [SetRenderingIntent](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetRenderingIntent.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.InsertImage](DynaPDFInsertImage.md)
- [DynaPDF.InsertImageFile](DynaPDFInsertImageFile.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.ParseContent](DynaPDFParseContent.md)
- [GMImage.SetRenderingIntent](GMImageSetRenderingIntent.md)

### Release notes

- **Version 14.4**
    - Fixed incorrect returning of result for [DynaPDF.SetRenderingIntent](https://www.mbsplugins.eu/DynaPDFSetRenderingIntent.shtml), [DynaPDF.SetUserUnit](https://www.mbsplugins.eu/DynaPDFSetUserUnit.shtml) and [DynaPDF.SetLineWidth](https://www.mbsplugins.eu/DynaPDFSetLineWidth.shtml) functions.
- **Version 12.4**
    - Added [DynaPDF.SetRenderingIntent](https://www.mbsplugins.eu/DynaPDFSetRenderingIntent.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 14.4pr2](https://www.mbsplugins.de/archive/2024-08-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [Top 10 from the MBS Plugin in 2022](https://www.mbsplugins.de/archive/2022-12-29/Top_10_from_the_MBS_Plugin_in_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 12.4](https://www.mbsplugins.de/archive/2022-09-27/MBS_FileMaker_Plugin_124/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 12.4 für Claris FileMaker](https://www.mbsplugins.de/archive/2022-09-06/Neues_MBS_Plugin_124_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 12.4 for Claris FileMaker](https://www.mbsplugins.de/archive/2022-09-06/MBS_Plugin_124_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.4pr5](https://www.mbsplugins.de/archive/2022-09-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 2nd September 2022 , last changed 2nd September 2022

  
[DynaPDF.SetPrintSettings](DynaPDFSetPrintSettings.md) - [DynaPDF.SetReplaceICCProfile](DynaPDFSetReplaceICCProfile.md)

[HTML Version](DynaPDFSetRenderingIntent.shtml)