I’m trying to copy an image from the clipboard onto an existing image.
Basically the existing image is 150 X 150 white coloured .jpg image. (Acting as the canvas)
I would like to know how to draw my image from clipboard onto this….
Image imgNew = Clipboard.GetImage(); //Getting the image in clipboard
Bitmap btnImg = new Bitmap(imgNew, 150, 100);
Graphics g = Graphics.FromImage((Image)btnImg);
g.DrawImage(btnImg, 0, 0, 150, 100);
In this method it is not drawing on the already existing image. Actually I’m using an Imagebox here. So the canvas is set as the imagebox’s image.
Thanks
Try