Browse Source

Use Octree for Png for dithering

af/merge-core
James Jackson-South 9 years ago
parent
commit
1c24bdc96b
  1. 2
      src/ImageSharp.Formats.Png/PngEncoderCore.cs

2
src/ImageSharp.Formats.Png/PngEncoderCore.cs

@ -495,7 +495,7 @@ namespace ImageSharp.Formats
if (this.Quantizer == null) if (this.Quantizer == null)
{ {
this.Quantizer = new WuQuantizer<TColor>(); this.Quantizer = new OctreeQuantizer<TColor>();
} }
// Quantize the image returning a palette. This boxing is icky. // Quantize the image returning a palette. This boxing is icky.

Loading…
Cancel
Save