12 references to DitherType
System.Drawing.Common (12)
GlobalUsings.cs (1)
38global using DitherType = System.Drawing.Imaging.DitherType;
System\Drawing\Bitmap.cs (8)
397/// The dithering algorithm. Pass <see cref="DitherType.None"/> when the conversion does not reduce the bit depth 401/// This must be <see cref="DitherType.Solid"/> or <see cref="DitherType.ErrorDiffusion"/> if the <paramref name="paletteType"/> 420/// <see cref="ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> performs a nearest-color 448DitherType ditherType, 498ConvertFormat(format, targetSize > sourceSize ? DitherType.None : DitherType.Solid); 510ConvertFormat(format, DitherType.ErrorDiffusion, PaletteType.Custom, palette, .25f);
System\Drawing\Imaging\DitherType.cs (3)
16/// <see cref="Bitmap.ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> 24/// <see cref="Bitmap.ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> method. 67/// <see cref="Bitmap.ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> method.