Skip to content

PDFThresholdFilter Class

Definition

Namespace: O2S.Components.PDF4NET.Rendering.Imaging

Defines a binarization filter that uses a fixed threshold to convert grayscale data to black and white.

C#
public class PDFThresholdFilter : PDFBinarizationFilter

Inheritance: Object → PDFBinarizationFilter → PDFThresholdFilter

Remarks

Gray values above the threshold are converted to white, gray values below the threshold are converted to black.

Constructor

Name Description
PDFThresholdFilter(Byte) Initializes a new PDFThresholdFilter object.