Browse Source

1MB is enough

pull/1654/head
James Jackson-South 5 years ago
parent
commit
5699f8c63c
  1. 2
      src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs

2
src/ImageSharp/Processing/Processors/Quantization/EuclideanPixelMap{TPixel}.cs

@ -132,7 +132,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Quantization
private struct ColorDistanceCache
{
private const int IndexBits = 5;
private const int IndexAlphaBits = 5;
private const int IndexAlphaBits = 4;
private const int IndexCount = (1 << IndexBits) + 1;
private const int IndexAlphaCount = (1 << IndexAlphaBits) + 1;
private const int RgbShift = 8 - IndexBits;

Loading…
Cancel
Save