views:

47

answers:

1

I capture a image from windows mobile camera and save it on picturebox control..now to zoom the picture i am increasing its size by Onpaint event.The image is getting zoomed but i am not able to save the zoomed image(ie.., the increased image size)...

Please let me know

A: 

Presumably you have a Bitmap being displayed in the PictureBox? If so, then do this:

Bitmap bmp = (Bitmap)myPictureBox.Image;
bmp.Save("\My Documents\My Pictures\image.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
tomlog