namespace Terminal.Gui; /// /// Builds a palette of a given size for a given set of input colors. /// public interface IPaletteBuilder { /// /// Reduce the number of to (or less) /// using an appropriate selection algorithm. /// /// /// Color of every pixel in the image. Contains duplication in order /// to support algorithms that weigh how common a color is. /// /// The maximum number of colours that should be represented. /// List BuildPalette (List colors, int maxColors); }