ApngImage.BinarizeFixed

ApngImage.BinarizeFixed method

Effortlessly binarize the image using a predefined threshold with this intuitive method. Ideal for developers seeking to convert images into binary form, simplifying them for further processing or analysis.

public override void BinarizeFixed(byte threshold)
ParameterTypeDescription
thresholdByteThreshold value. If corresponding gray value of a pixel is greater than threshold, a value of 255 will be assigned to it, 0 otherwise.

See Also