SetRenderTargetICC

Rendering, color management

Description

Selects the destination ICC profile used by page rendering

Syntax

Delphi

Function TPDFlib.SetRenderTargetICC(Const ICCData: AnsiString): Integer;

Parameters

ICCDataThe complete ICC profile bytes, or an empty string to restore the default sRGB target

Return values

1The target was updated
0The profile header was invalid

Remarks

The target applies to subsequent page rendering and supports soft proofing or gamut preview

The raster output remains RGB even when the destination profile describes another device space

See also

RenderPageToFile, RenderPageToStream