|
@@ -28,7 +28,7 @@ public class ColorQuantizer
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets or sets the algorithm used to build the <see cref="Palette"/>.
|
|
/// Gets or sets the algorithm used to build the <see cref="Palette"/>.
|
|
/// </summary>
|
|
/// </summary>
|
|
- public IPaletteBuilder PaletteBuildingAlgorithm { get; set; } = new PopularityPaletteWithThreshold (new EuclideanColorDistance (),50) ;
|
|
|
|
|
|
+ public IPaletteBuilder PaletteBuildingAlgorithm { get; set; } = new PopularityPaletteWithThreshold (new EuclideanColorDistance (),5) ;
|
|
|
|
|
|
public void BuildPalette (Color [,] pixels)
|
|
public void BuildPalette (Color [,] pixels)
|
|
{
|
|
{
|