QuantizedPalette.cs 394 B

12345678910111213141516
  1. using System.Collections.Generic;
  2. using System.Drawing;
  3. namespace TEAMModelOS.SDK.PngQuant
  4. {
  5. public class QuantizedPalette
  6. {
  7. public QuantizedPalette(int size)
  8. {
  9. Colors = new List<Color>();
  10. PixelIndex = new int[size];
  11. }
  12. public IList<Color> Colors { get; private set; }
  13. public int[] PixelIndex { get; private set; }
  14. }
  15. }