I am making this drawing application. It's simple. It consists of a panel on which I will draw, and then, finally, I save the JPG or BMP or PNG file.
My application works fine, but the problem I am facing is that when I save the output, this is not what is drawn in the panel with a black image, but just black.
all my work is saved as
Thepic = new Bitmap(panel1.ClientRectangle.Width, this.ClientRectangle.Height);
and on the mouse (down, up) I
snapshot = (Bitmap)tempDraw.Clone();
and it kept working fine, but again rsult is black. Image does not contain a panel.
source
share