Hi !
I've loaded a bmp picture into a picturebox. How can I save a part of it (a rectangle) back to
disk (as a bmp picture) ? I want to use this for automatical image processing.
Rebecca
Printable View
Hi !
I've loaded a bmp picture into a picturebox. How can I save a part of it (a rectangle) back to
disk (as a bmp picture) ? I want to use this for automatical image processing.
Rebecca
Picture1 has image processed pic stored
Picture2 has nothing inside
variables:
Rcct = RECT position
Bitblt Picture2.hdc, rcct.left,rcct.top,rcct.right-rcct.left,rcct.bottom - rcct.top, picture1.hdc,0,0,srccopy
I hope you know how to use bitblt, if not, head on over to my tutorial:
http://vbden.tripod.com/articles/invmask.htm