TiffRenderingSettingsWhiteColorTolerance Property

Apitron PDF Rasterizer help
Apitron.PDF.Rasterizer library for .NET
Gets or sets the white color brightness level for CCIT4 compression method, since CCIT4 produces bitonal images we need to convert all colors to black or white. This setting defines which colors will be considered white by comparing their brightness with the value specified. So all colors with brightness greater than defined value will be white and others black.

Namespace:  Apitron.PDF.Rasterizer.Configuration
Assembly:  Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: (

public float WhiteColorTolerance { get; set; }

Property Value

Type: Single
The CCIT4 white color brightness level, valid range is [0.0 to 1.0]. Where zero belongs to black and one belongs to white. Default value is 0.9.

ArgumentOutOfRangeExceptionIf value doesn't fall into valid range.
See Also