Esempio n. 1
0
 private static Color[] ConvertABGR1555(byte[] Data)
 {
     Color[] data = new Color[Data.Length / 2];
     for (int i = 0; i < Data.Length; i += 2)
     {
         data[i / 2] = Color.FromArgb((int)GFXUtil.ABGR1555ToArgb(IOUtil.ReadU16LE(Data, i)));
     }
     return(data);
 }