WebPImage.Dither
WebPImage.Dither method
对当前图像执行抖动处理,以降低颜色带状效应并提升视觉质量。将此方法纳入图像处理工作流,以实现颜色之间更平滑的过渡,改善图像的整体外观。
public override void Dither(DitheringMethod ditheringMethod, int bitsCount,
IColorPalette customPalette)
| 参数 | 类型 | 描述 |
|---|---|---|
| ditheringMethod | DitheringMethod | 抖动方法。 |
| bitsCount | Int32 | 抖动的最终位数。 |
| customPalette | IColorPalette | 用于抖动的自定义调色板。 |
另请参见
- enum DitheringMethod
- interface IColorPalette
- class WebPImage
- namespace Aspose.Imaging.FileFormats.Webp
- assembly Aspose.Imaging