6 references to ErrorDiffusion
System.Drawing.Common (2)
System\Drawing\Bitmap.cs (2)
401/// This must be <see cref="DitherType.Solid"/> or <see cref="DitherType.ErrorDiffusion"/> if the <paramref name="paletteType"/> 510ConvertFormat(format, DitherType.ErrorDiffusion, PaletteType.Custom, palette, .25f);
System.Drawing.Common.Tests (4)
System\Drawing\BitmapTests.cs (4)
1613{ PixelFormat.Format32bppPArgb, DitherType.ErrorDiffusion, PaletteType.FixedHalftone8 }, 1632{ PixelFormat.Format1bppIndexed, DitherType.ErrorDiffusion, PaletteType.FixedHalftone8 }, 1635{ PixelFormat.Format4bppIndexed, DitherType.ErrorDiffusion, PaletteType.FixedHalftone8 }, 1640{ PixelFormat.Format16bppGrayScale, DitherType.ErrorDiffusion, PaletteType.FixedHalftone8 },