scot63
Member
Hi,
Using vb.net 2003
So I have an app that (1) loads a jpeg into a picture box and (2) using the mouse you can draw lines over the image in the picture box.
Now I need help with (3) saving the image AND lines in the picture box to the hard drive.
I suspect I need to use fromHbitmap, but i cannot find good reference on how to do this.
i have a bitmap var prepared
Dim ThisBitmap As Bitmap
i also have the code needed to save the bitmap
ThisBitmap.Save("saved.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)
i need help between these two commands, where the pixel data in the picture box is somehow stored in a bitmap.
thanks,
scot
Using vb.net 2003
So I have an app that (1) loads a jpeg into a picture box and (2) using the mouse you can draw lines over the image in the picture box.
Now I need help with (3) saving the image AND lines in the picture box to the hard drive.
I suspect I need to use fromHbitmap, but i cannot find good reference on how to do this.
i have a bitmap var prepared
Dim ThisBitmap As Bitmap
i also have the code needed to save the bitmap
ThisBitmap.Save("saved.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)
i need help between these two commands, where the pixel data in the picture box is somehow stored in a bitmap.
thanks,
scot