Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.SetRenderingIntent

Set function sets the rendering intent of an image.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetRenderingIntent"; PDF; ImgHandle; RenderingIntent )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $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 or DynaPDF.InsertImageFile. Imported images returned in DynaPDF.ParseContent, 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 function in DynaPDF manual.

See also

Release notes

Blog Entries

This function checks for a license.

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


DynaPDF.SetPrintSettings - DynaPDF.SetReplaceICCProfile