|
-
Mar 17th, 2001, 09:14 AM
#1
Thread Starter
New Member
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
-
Mar 17th, 2001, 10:03 AM
#2
Good Ol' Platypus
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
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|