Chinese Simplified (简体中文)

DitheringMethodEnum

DitheringMethodEnum enumeration constants are used to specify the image dithering algorithm.

typedef enum {
 DM_Bayer,
 DM_FloydSteinberg
} DitheringMethodEnum;
    

Elements

Name Description
DM_Bayer Bayer (ordered) dithering. The algorithm dithers the image by applying a threshold map on the pixels, causing some of the pixels to be rendered at a different color. The resulting image has noticeable crosshatch pattern.
DM_FloydSteinberg Floyd–Steinberg dithering. The algorithm dithers the image by diffusing the quantization error of the pixel to its neighboring pixels.

Used in

IImageDocument::DitherImage

7/3/2024 8:50:25 AM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.