Show / Hide Table of Contents

Enum DitherMethod

Specifies the dithering method to be used for Black/White conversion.

Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public enum DitherMethod

Fields

Name Description
FloydSteinberg

It uses Floyd-Steinberg algorithm to keep a track of the error in brightness caused by the threshold, and diffusing it across an area. Use it for photos and other complicated images.

OtsuThreshold

It uses Otsu's method to automatically perform histogram shape-based image thresholding. Use it for logos or simple images.

PatternDiffusion

It uses a 4x4 dithering matrix to create a grouping of pixels that approximates the pixel group brightness. Use it for photos and other complicated images.

Threshold

Any pixel below the threshold becomes black; otherwise it becomes white. Use it for logos or simple images.

Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com