private static ListFindAllPixelLocations(Bitmap img, Color color) { List points = new List (); int c = color.ToArgb(); for (int x = 0; x < img.Width; x++) { for (int y = 0; y < img.Height; y++) { if (c.Equals(img.GetPixel(x, y).ToArgb())) points.Add(new Point(x, y)); } } return points; }
0.00 (0%) 0 votes










