Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  

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

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


DynaPDF.SetPrintSettings - DynaPDF.SetReplaceICCProfile

Feedback: Report problem or ask question.


Start Chat