It\'s embarrassing to ask this question but can\'t find an answer.
I tried this in vain.
Image resultImage = new Bitmap(image1.Width, image1.Height,
Another approach,
Create a unit bitmap
var b = new Bitmap(1, 1); b.SetPixel(0, 0, Color.White);
And scale it
var result = new Bitmap(b, 1024, 1024);