Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
504 B
2
Indexable
Never
            var parallelOptions = new ParallelOptions
            {
                MaxDegreeOfParallelism = 64
            };
                
            Parallel.For(0, 1920, parallelOptions,  i =>
            {
                for(var y=0; y < 1080; y++)
                {
                    //if(color_checking(pusun.colorDialog1.Color,obrazek.GetPixel(x,y),pusun.uswaktolerancji.Value))
                    //obrazek.SetPixel(x, y, Color.Transparent);
                }
            });