RasterImageDither Method (DitheringMethod, Int32, IColorPalette) |
Performs dithering on the current image.
Namespace: Aspose.ImagingAssembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 22.05
Syntaxpublic abstract void Dither(
DitheringMethod ditheringMethod,
int bitsCount,
IColorPalette customPalette
)
Public MustOverride Sub Dither (
ditheringMethod As DitheringMethod,
bitsCount As Integer,
customPalette As IColorPalette
)
public:
virtual void Dither(
DitheringMethod ditheringMethod,
int bitsCount,
IColorPalette^ customPalette
) abstract
abstract Dither :
ditheringMethod : DitheringMethod *
bitsCount : int *
customPalette : IColorPalette -> unit
Parameters
- ditheringMethod
- Type: Aspose.ImagingDitheringMethod
The dithering method. - bitsCount
- Type: SystemInt32
The final bits count for dithering. - customPalette
- Type: Aspose.ImagingIColorPalette
The custom palette for dithering.
See Also