跳轉到主要內容
DitheringMethodEnum 的列舉常數可用來指定影像抖動演算法。
typedef enum {
 DM_Bayer,
 DM_FloydSteinberg
} DitheringMethodEnum;

元素

名稱說明
DM_BayerBayer (有序) 抖動。此演算法會在像素上套用閾值映射,對影像進行抖動處理,使部分像素以不同色彩呈現。產生的影像會帶有明顯的交錯網紋。
DM_FloydSteinbergFloyd–Steinberg 抖動。此演算法會將像素的量化誤差擴散到鄰近像素,藉此對影像進行抖動處理。

用於

IImageDocument::DitherImage