/// <summary> /// Set the palette of the image /// </summary> public void SetPalette(int paletteSize) { this.Palette = PaletteManager.GetPalette(this, paletteSize); this.RBFs = PaletteManager.GetWeights(this.Palette); }