private static Image GenerateScreensImage(Image[] Images) { var Result = ResolveScreen(); Console.WriteLine("Highest X:" + Result.XHighest + " Highest Y:" + Result.YHighest); Bitmap Image = new Bitmap(Result.XHighest, Result.YHighest); Console.WriteLine("Gemerating image"); foreach (var Element in Result.ScreensInfo) { Console.WriteLine("Making image " + Element.Index); Console.WriteLine("Screen:" + Element.Index + " X:" + Element.XPoint + " Y:" + Element.YPoint); for (int x = Element.WidthPoint; x < Element.XPoint; x++) { for (int y = Element.HeightPoint; y < Element.YPoint; y++) { Color PixelColor = ((Bitmap)Images[Element.Index]).GetPixel(x - Element.WidthPoint, y - Element.HeightPoint); Image.SetPixel(x, y, PixelColor); } } } return Image; }