Кто-нибудь знает, как получить эту работу быстрее?Могу ли я сделать то же самое с помощью Lockbits?
for (int y = 0; y < picture.Height; y++)
{
for (int x = 0; x < picture.Width; x++)
{
Color colorPixel = picture.GetPixel(x, y);
if ((colorPixel.A > 230) &&
(colorPixel.R < 20) &&
(colorPixel.G < 20) &&
(colorPixel.B < 20))
{
//do something
}
Спасибо.