Browse Source

Update DitherExtensions.cs

pull/1114/head
James Jackson-South 6 years ago
parent
commit
1bd4704c4e
  1. 4
      src/ImageSharp/Processing/Extensions/Dithering/DitherExtensions.cs

4
src/ImageSharp/Processing/Extensions/Dithering/DitherExtensions.cs

@ -73,7 +73,7 @@ namespace SixLabors.ImageSharp.Processing
source.ApplyProcessor(new PaletteDitherProcessor(dither, ditherScale, palette));
/// <summary>
/// Dithers the image reducing it to a web-safe palette using <see cref="KnownDitherings.Bayer4x4"/>.
/// Dithers the image reducing it to a web-safe palette using <see cref="KnownDitherings.Bayer8x8"/>.
/// </summary>
/// <param name="source">The image this method extends.</param>
/// <param name="rectangle">
@ -81,7 +81,7 @@ namespace SixLabors.ImageSharp.Processing
/// </param>
/// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
public static IImageProcessingContext Dither(this IImageProcessingContext source, Rectangle rectangle) =>
Dither(source, KnownDitherings.Bayer4x4, rectangle);
Dither(source, KnownDitherings.Bayer8x8, rectangle);
/// <summary>
/// Dithers the image reducing it to a web-safe palette using ordered dithering.

Loading…
Cancel
Save