I have an array of Images all of the same size . I should add them to a new image like i have shown in the picture.
Different colors represent different images.
I have an array of Images all of the same size . I should add them to a new image like i have shown in the picture.
Different colors represent different images.
var bitmap = new Bitmap(width, height);
Draw each image on canvas
using (var canvas = Graphics.FromImage(bitmap))
{
canvas.InterpolationMode = InterpolationMode.HighQualityBicubic;
//Draw each image (maybe use a loop to loop over images to draw)
canvas.DrawImage(someImage, new Rectangle(0, 0, width, height), new Rectangle(0, 0, Frame.Width, Frame.Height), GraphicsUnit.Pixel);
canvas.Save();
}
bitmap.Save("image path", ImageFormat.Jpeg);