From a9114b3efe7f34bcfd78ae55bc5b79519e8adef2 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Sun, 13 Jun 2021 17:52:43 +0100 Subject: [PATCH] Update src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs Co-authored-by: Anton Firszov --- .../Processors/Quantization/EuclideanPixelMap{TPixel}.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs b/src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs index a51c24147..9b626303b 100644 --- a/src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs +++ b/src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs @@ -189,7 +189,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Quantization => (r << ((IndexBits << 1) + IndexAlphaBits)) + (r << (IndexBits + IndexAlphaBits + 1)) + (g << (IndexBits + IndexAlphaBits)) - + (r << (IndexBits * 2)) + + (r << (IndexBits << 1)) + (r << (IndexBits + 1)) + (g << IndexBits) + ((r + g + b) << IndexAlphaBits)