<PackageReference Include="System.Drawing.Common" Version="10.0.0-rc.1.25451.107" />

DitherType

public enum DitherType
Specifies how images are dithered with a reduced color palette.

Dithering is performed using the colors in one of the standard fixed palettes.

Dithering is performed using the colors in one of the standard fixed palettes.

Dithering is performed based on the palette specified by the palette parameter of the ConvertFormat method. This algorithm can be used with any palette.

None = 0

No dithering is performed. Pixels in the source bitmap are mapped to the nearest color in the palette specified by the palette parameter of the ConvertFormat method. This algorithm can be used with any palette other than Custom.

Dithering is performed using the colors in one of the standard fixed palettes.

Algorithm to perform dithering based on the colors in one of the standard fixed palettes. This algorithm can also be used to convert a bitmap to a 16-bits-per-pixel format that has no palette.

Dithering is performed using the colors in one of the standard fixed palettes.

Solid = 1

No dithering is performed. Pixels in the source bitmap are mapped to the nearest color in the palette specified by the palette parameter of the ConvertFormat method. This algorithm can be used with any palette.

Dithering is performed using the colors in one of the standard fixed palettes.

Dithering is performed using the colors in one of the standard fixed palettes.