8 references to ConvertFormat
System.Drawing.Common (6)
System\Drawing\Bitmap.cs (3)
417/// <see cref="ConvertFormat(PixelFormat, DitherType, PaletteType, ColorPalette?, float)"/> performs a nearest-color 495ConvertFormat(format, targetSize > sourceSize ? DitherType.None : DitherType.Solid); 507ConvertFormat(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.
System.Drawing.Common.Tests (2)
System\Drawing\BitmapTests.cs (2)
1652bitmap.ConvertFormat(format, dither, palette); 1661bitmap.Invoking(b => b.ConvertFormat(format, dither, palette)).Should().Throw<ArgumentException>();