瀏覽代碼

Actually call relevant builders

tznind 11 月之前
父節點
當前提交
9d5d853de3
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      UICatalog/Scenarios/Images.cs

+ 2 - 1
UICatalog/Scenarios/Images.cs

@@ -469,7 +469,8 @@ public class Images : Scenario
     )
     {
         var encoder = new SixelEncoder ();
-        
+        encoder.Quantizer.PaletteBuildingAlgorithm = GetPaletteBuilder ();
+        encoder.Quantizer.DistanceAlgorithm = GetDistanceAlgorithm ();
 
         // Calculate the target size in pixels based on console units
         int targetWidthInPixels = maxSize.Width * pixelsPerCellX;