From 9710f02cf9fe7e2f9f650ae0827b2deef9593b9c Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Thu, 13 Apr 2017 13:15:16 +1000 Subject: [PATCH] Png uses Wu by default to ensure full alpha range --- src/ImageSharp/Formats/Png/PngEncoderCore.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ImageSharp/Formats/Png/PngEncoderCore.cs b/src/ImageSharp/Formats/Png/PngEncoderCore.cs index 469c459fb..c11fc94df 100644 --- a/src/ImageSharp/Formats/Png/PngEncoderCore.cs +++ b/src/ImageSharp/Formats/Png/PngEncoderCore.cs @@ -7,7 +7,6 @@ namespace ImageSharp.Formats { using System; using System.Buffers; - using System.Collections.Generic; using System.IO; using System.Linq; @@ -487,7 +486,7 @@ namespace ImageSharp.Formats if (this.quantizer == null) { - this.quantizer = new OctreeQuantizer(); + this.quantizer = new WuQuantizer(); } // Quantize the image returning a palette. This boxing is icky.