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
9/17/2024 3:14:41 PM