Click or drag to resize

PDFRasterizerSetColorPostProcessColors Method

Set the color post processing transformation. This transform is applied to the rasterized bitmap as the final step in the rasterization process, and is applied directly to the resulting bitmap(disregarding any color space information). Color post processing only supported for RGBA output. This mode will map the brightness of the original rasterized bitmap to a gradient between whiteColor and blackColor

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetColorPostProcessColors(
	Color whiteColor,
	Color blackColor
)

Parameters

whiteColor
Type: Color
The desired color to map white to
blackColor
Type: Color
The desired color to map black to
See Also