GifMotion by Mechanika Design

<PackageReference Include="GifMotion" Version="1.0.1" />

 Quantizer

public abstract class Quantizer
public struct Color32

protected Quantizer(bool singlePass)

protected virtual void FirstPass(BitmapData sourceData, int width, int height)

protected abstract ColorPalette GetPalette(ColorPalette original)

protected virtual void InitialQuantizePixel(Color32 pixel)

public Bitmap Quantize(Image source)

protected abstract byte QuantizePixel(Color32 pixel)

protected virtual void SecondPass(BitmapData sourceData, Bitmap output, int width, int height, Rectangle bounds)