Пример #1
0
 public int[] GetPixels()
 {
     return((
                from x in Enumerable.Range(0, Bitmap.Width)
                from y in Enumerable.Range(0, Bitmap.Height)
                select ColorHelper.ToIntRgb24(Bitmap.GetPixel(x, y))
                ).ToArray());
 }
Пример #2
0
 public int GetPixel(int x, int y)
 {
     return(ColorHelper.ToIntRgb24(Bitmap.GetPixel(x, y)));
 }