Browse Source

Png uses Wu by default to ensure full alpha range

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

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

@ -7,7 +7,6 @@ namespace ImageSharp.Formats
{ {
using System; using System;
using System.Buffers; using System.Buffers;
using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
@ -487,7 +486,7 @@ namespace ImageSharp.Formats
if (this.quantizer == null) if (this.quantizer == null)
{ {
this.quantizer = new OctreeQuantizer<TColor>(); this.quantizer = new WuQuantizer<TColor>();
} }
// Quantize the image returning a palette. This boxing is icky. // Quantize the image returning a palette. This boxing is icky.

Loading…
Cancel
Save